After I uploaded it, the motor stayed where it was. I rotated the motor shaft as I had tried when the motor was not hooked on wiring, but the shaft didn't move. As soon as I unhooked it, the shaft moved when I rotated it. That means the connection is okay?
Also I observed Arduino Uno R3 (the micro controller I was using)RX and TX flashed when I uploaded, so I guess the sketch talked to the board. It displayed "Done uploading". But I just can't get the motor move. Any idea on why that is? Thanks!
HazardsMind:
To see the motor actually move longer, change delay(1); to delay(1000);
Actually, that would make the motor move only one (micro?)step a second. Would be even harder to watch... And that sketch is directly from the EasyDriver examples page.
@Sonia_L
Double and triple check your wiring. Make sure motor wires A,B,C,D are connected correctly to the EasyDriver A,B,C,D outputs (as well as checking all the other connections). Make sure the connections are good.
@Sonia_L
Double and triple check your wiring. Make sure motor wires A,B,C,D are connected correctly to the EasyDriver A,B,C,D outputs (as well as checking all the other connections). Make sure the connections are good.
[/quote]
I was actually using Big Easy Driver, but it makes sense that I may have a bad connection somewhere. Thanks~