I have 32 roboclaws, each controlling 2 motors, that I would like to connect to the same Arduino Mega via Serial1 and Serial2. What would be the best way to do this? I think remember reading somewhere that it's possible to do with diodes and resistors, but I'm confused as to how the correct commands would then reach the correct roboclaw. Do I need a mux to do it, or a bus of some sort?
I'm pretty new at wiring and electronics, but I have plenty of programming experience.
Any input is appreciated! J