Guys, I have been trying to put together a setup for some gauges driven by stepper motors, using the DCS Bios program. I can make individual units work, so that each nano is connected via a usb cable, but am struggling with turning this into an RS485 network.
One of the problems i have is with the power supply.
The putative setup is as follows on the attached schematic (note I am aware that the lines linking the two MAX487 chips are crossed)
1 Arduino Mega as the RS485 Master. This is connected via usb to the pc, and to a MAX487 chip, plus a 12v power supply to the VIN and GND pins
The 12v supply is shared by the slave arduino nanos using the VIN and GND pins, and by the easy driver board via the M+ and GND pins.
When I connect using the principles of that schematic, the Mega board gets very very hot near the usb connection. The stepper motor setup that worked fine as standalone stops working when the RS485 is connected up. Obviously the Nano is no longer connected to the usb, and I assume it is powered by the 12v supply, and that is converted to 5v by the nano for the MAX487 chips
The power supply I’m using is an old Acer 12v dc laptop powerpack, so I’m pretty confident it’s a stable supply.
Would it be better to use a separate 12v supply for the stepper driver board, and use a lower (5v?) Power supply for the Arduinos?
RS485 schematic.pdf (81.4 KB)