I was considering attaching 1 of these Playing With Fusion CanStar-4 to each of our SDS MK4 swerve modules.
We run a Canivore for our swerve (the 8 motors, 4 encoders, and Pigeon 2). Which says stubs need to be short. I don’t think that would be a problem as we could mount fairly close.
My question is each of the 3 devices has 2 CAN pairs. So when wiring to a CANStar I assume each device attaches to one of the middle terminals with 1 pair each. The main CAN loop attach to the terminals on the sides. What do I do with the second pair from each device? Do I put terminating resisters? Close them together? Cut fairly short and tape the ends so they don’t contact anything?
No, on the terminating resistors. For this you’d just have to put the single terminating resistor at the last connected can star.
For extra wire pairs, we’ve had no problems to electrical tape ends and bundle the excess in past, but clipping them short and separating them w/ tape is also acceptable. Removing the extra stub is better for the signal, but we didn’t have issues, and that let us go back if we wanted.
The take-away is that, while clean CAN wiring is great, it is important to pay attention to these details. Another option might be to directly wire one of the CAN cables (twisted pairs) from each motor to the encoder, then to wire the other CAN cables from each motor as part of the longer CAN run. Still has only two CAN cables for each swerve module, and there’s one less part in the wiring…
I think the set up you are describing can certainly work, but it’s somewhat sub-optimal, if not done very well.
Do you really gain anything by adding the canstar here?
Going falcon-encoder-falcon on each corner gets you to one wirepair in and one wirepair out, assuming soldering the falcons directly into the encoder rather than using interstitial connectors.
Sure you could use connectors, but I wouldn’t. Connectors are for planning to swap components, just bring 5 modules and swap whole modules when failures occur. That gives you time and access to solder the falcon-cancoder connections.