Controlling a 28BYJ-48 5V Stepper Motor + ULN2003 Motor Driver through TD + Arduino

Hey guys,

I have been trying to do this basing it off this tutorial Touchdesigner tutorial - control a steppermotor using Arduino - YouTube

My components are different to the one used in this though. I am getting noise out of my motor but no rotation which makes me think that it is not stepping correctly. Does any one have any ideas to help?

Tia

Hard to say, but some thoughts:

  1. Does the motor power supply have adequate current? (If not it could be glitching the arduino)
  2. Are you stepping the motor too quickly? (it’ll stall in place if starting from a high speed)
  3. Is the motor wired to the driver correctly? (it’ll vibrate otherwise)
  4. Is the software right? I’d start with a simpler sketch from the Arduino libraries that doesn’t require serial interface control.

Cheers.
Rob

1 Like

Thanks Rob. I’ve managed to sort it now. It was because the pins were in the wrong order in the original code for my type of motor. :slight_smile:

Excellent news!