I am using the driver with an arduino mega running just the example basic sketch. The sketch compiles and runs but the motor doesn’t turn. I would attach some photos but can’t see how. I am using a Stepperonline 14HM11-0404S motor.
Check your power supply. Your Stepperonline 14HM11-0404S motor is a NEMA 14 stepper motor with a current rating of 0.4A per phase, your power supply should be able to deliver enough current.
You should be able to copy paste images into the editor when you create a post. I just copy pasted the image below.
What are you using to power the motor?
Power supply is rated at 19VDC 4.9A
This might be your problem.
19 volts may have killed the board.
Is the motor enable switch off? it needs to be set to user.
Well it still shows power and nothing smoked. Was wondering about the switch as nothing is really mentioned about it. Have a 12VDC, 30 amp supply under my train layout will have to try that.
Does the power led light up on the driver? Does the motor get hard to turn by hand with the power on?
The power led tights on the driver. The motor can still be turned by hand. It was this way when I used a power supply that was 12VDC and 1200ma. That’s why I switched to the 4 amp supply. Think maybe I just got a bad driver board?
If:
- The power LED is on
- The switch is set to USER
- You’re running Example1_Basic.ino
- Your wiring exactly matches the hookup guide
The motor should at least make some sort of sound.
Double check your wiring, I see at least one wire out of place in your picture.
Im using the same board and motor for a project, and ran into an interesting issue it may be worth you checking out, if you haven’t resolved this yet. I believe my board is fried and I’m getting ~3V on the Mode 3 pin anytime the board is powered. This means the board will always be set to clock-in mode, and will always be set to change the step resolution (depending on the other pin settings when you release standby). I’d verify the modes 0 - 3 pins matcht he expected voltage for your configuration, as well as the standby and enable pins. As previously mentioned, make sure the switch is on the “USER” Setting. Even if ENABLE
is high, if the switch is off, the motor will not enable.
What are your power supply’s ratings?
In my case, the supply was 12V/1Amp, motors running unloaded for testing so no issues with stalls. I did find that the RasPi I’m using to control this board can still drag the Mode 3 pin down to close to 0 volts - my software wasn’t always doing this as intended. I’m not sure if that residual voltage is normal or not but with proper software it seems to be no factor.
I’m getting ~3V on the Mode 3 pin anytime the board is powered.
This is completely normal and you should be seeing it on all the mode pins.
If you look at the schematic, you will see pullup resistors that set the default state for those pins. If you don’t need to change states, leave them disconnected otherwise pull them high or low with your controller to change modes.