I'm building an Arduino controlled crane machine out of old crane machine parts.
The motors in a crane machine are 48V DC and I am controlling them with an H-bridge configuration using an 8 channel relay module I got off eBay which is controlled by an Arduino Nano. I'm using an ATX power supply to power the system but I'm using a high power boost converter to get up to 48V for the motors.
The issue I'm having is when the motors are moving, 50% of the time the Arduino will either reset, or will skip a few lines of code, or sometimes the Arduino freezes and will keep going in one direction indefinitely.
It's only programmed to move to the centre of the cabinet, drop the claw until the down switch activates then raise the claw until it hits the top after that, it goes back to the corner, but it only rarely finishes it, usually it resets or keeps going in 1 direction.
I've tried 2 different power supplies, I tried powering the Arduino and relay module over USB, I tried 2 different Arduino Megas. When I try lowering the voltage on the boost converter, it doesn't stuff up as often and when I power it to 12V it hardly does it at all but 12V is way too slow for the motors. When there is no power at all for the motors, it doesn't reset at all, but obviously that isn't useful when you're trying to make a crane machine.