Stepper motor control

Forum for posting topics and questions about anything.
Post Reply
Clive
Posts: 2
Joined: Sat Nov 30, 2024 8:52 pm

Stepper motor control

Post by Clive » Sat Nov 30, 2024 10:20 pm

Hi newbie question I'm afraid, can anyone suggest please what I need from Hobby Components to drive their stepper motor and ULN2003 Board so I can push a button to drive the motor and stop via a micro switch and push a second button to reverse the operation and stop via another micro switch, also with variable slow speed control, would prefer to keep it simple if poss without using an Arduino or is that the way you have to go? thanks in advance, Clive.

andrew
Site Admin
Posts: 1427
Joined: Sun Aug 05, 2012 4:15 pm

Re: Stepper motor control

Post by andrew » Sun Dec 01, 2024 2:36 pm

Hi Clive,

Although you could certainly do it with one or more 555’s, shift registers, and some 74 series logic, I think the simplest solution is going to be an Arduino I’m afraid. An Uno would easily do it, or even just a Nano which is just a cut down Uno.

We do have an example sketch which you can find in the first post of this thread:

viewtopic.php?f=93&t=2085&p=5071#p5071

It basically rotates the motor forward and backwards one rotation and you can specify the speed. That would get you a lot of the way there.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Clive
Posts: 2
Joined: Sat Nov 30, 2024 8:52 pm

Re: Stepper motor control

Post by Clive » Sun Dec 01, 2024 4:09 pm

Hi Andrew, that's great thankyou, Arduino here I come. Thanks for your reply.
Clive.

Post Reply

Return to “General Discussion”