Hi, I'm new to arduino and electronics generally. I'm building a mini 3-axis cnc mill and I'm using the following electronics;
- 3 XSM-17HS4023 Nema 17 Stepper Motors
- DRV8825 stepper drivers
- Arduino Uno
- CNC Shield V3
When I initially obtained the electronics, I tested the arduino-CNC shield setup using a 24W(12V, 2A) power supply after setting all the stepper motor drivers' VREF to 0.60 after calculating a VREF of 0.65. The test was successful, as all the stepper motors were moving with the aid of Universal Gcode Sender. After some time I re-tested the arduino-shield setup and one of the stepper motors wasn't moving. I tried unplugging and replugging the motor cable and it didn't work. I then got a multimeter to measure the voltage at the driver and I got a value of zero volts. I then got another driver that I tried to set to a VREF of 0.6 but when I changed it to 0.4V, the voltage wasn't changing regardless of whether I adjusted the driver potentiometer. So I figured that since the VREF of the driver is less than the calculated VREF then the stepper motor would still run. I then connected the cnc shield to a 12V supply of an ATX 240W power supply and jogged the motors in Universal Gcode Sender and all the motors were running smoothly. I then loaded the gcode for a hexagon and ran the gcode it and as the program was running I realized the motor connected the the driver with a 0.4v VREF was overheating. The stepper motor was also overheating. I then suspected that it was the atx power supply supplying a lot of current. I then decided to go back to the 12V, 2A power supply and I was getting the same issue. What could the issue be?