For a camera gantry I need to connect stepper motors, drivers and limit switched to the controller. I need to minimize the numbers of connections from the gantry to the Arduino.
The drivers need 5v, the steppers 12v+. Can I power the gantry with 12v+ and use a step down converter to 5v for the drivers (combining the GND). Is connecting that (combined) GND to the Arduino GND enough to get a common ground? The Arduino will also get a connection to the same 12v+ power supply and another step down converter.
So in the end I would get 2x step, 2x dir, 2x limit switch, 1 GND = 7 connections from the gantry to the Arduino.
Also, some diagrams show a 4.7uf cap between the V + GND of the 12v input. Is this something I need to do on one driver, both drivers or not at all?
I have included a simple layout of the gantry connections.