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
rob
April 21, 2023, 3:21pm
2
Hard to say, but some thoughts:
Does the motor power supply have adequate current? (If not it could be glitching the arduino)
Are you stepping the motor too quickly? (it’ll stall in place if starting from a high speed)
Is the motor wired to the driver correctly? (it’ll vibrate otherwise)
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.