Hello,
Student CpE newbie here and this is the first time I've worked on a project of this magnitude. I've got a project going on with stepper motors and an arduino. The basic topology is 3 stepper motor drivers connected on an RS485 bus to talk to a GUI on a laptop. I've put the arduino on the RS485 bus as well for some expanded GPIO functionality. The drivers, motors, and arduino are all connected through a 120V to 24V switching power supply. The arduino is powered through a buck converter fed off the switching power supply. There is a large 400uF capacitor on the outputs of the buck converter but I think it's not enough to help against the noise. If the motors are not running, the arduino will stay powered on without freezing. If the motors are running, the arduino freezes up after about a minute of operation and required a cold start to continue communicating.
I'm guessing that when the motors are running the arduino is getting noise from the ground loop; haven't had a chance to look at it with a scope, but will on Wednesday. Does this sound reasonable?
The stepper motor driver boards have an output to an encoder that I am not using; 5V out, 100mA max current. Depending on feedback here and what I can see with a scope, I'm considering using the encoder outputs to power the arduino instead of the buck converter off the driver board, assuming that since the encoder has a separate MCU that the board filters to account for it.
Looking for general advice on if I'm headed in the right direction or taking the wrong approach. Thanks