How to move and control a stepper motor?

Hi all,

Absolute electronics newbie here. Also this is my first time on forums so please excuse for any mistakes me in advance.

I am not from engineering background, but I am working on a small project for my rooster house. So far I have learnt how to use a 9V battery to power a small DC motor. But I need a motor that can make small turns instead of complete 360*. After some surfing I found that stepper motors will be suitable for my task and so I purchased one on E-bay from here

https://www.ebay.fr/itm/Stepper-Motor-24BYJ48-01-8V-120-Ohm/15234111630…

Now I do not know how to make this motor rotate. It has 5 wires and I do not know which two wires should be connected to 9V battery. I am trying to build a circuit that can move this stepper motor one turn for every 15 minutes. Please help me.

Hi Tapsi,

Yes for your application the stepper motor you have chosen will work fine, but you cannot power it directly through a 9V battery as you are planning it.

The stepper motor you have purchased is 28-BYJ48 Stepper motor.

So unlike a normal DC motor this one has five wires of all fancy colors coming out of it and why is it so? To understand this we should first know how a stepper works and what its specialty is. First of all steppers motors do not turn, they step and so they also known as step motors. Meaning, they will move only one step at a time. These motors have a sequence of coils present in them and these coils have to be energized in a particular fashion to make the motor rotate. When each coil is being energized the motor takes a step and a sequence of energization will make the motor take continuous steps, thus making it to rotate. 

Since you are a newbie I would suggest you to buy a stepper motor driver module with ULN2003 IC and also use an Arduino UNO to program the stepper motor to rotate one step in every 15 minutes. It might sound a bit complicated with its fairly simple. You can also follow this Arduino Stepper motor interfcaing tutorial 

 https://circuitdigest.com/microcontroller-projects/arduino-stepper-moto…

​This will teach you everything you need to know about stepper motors and how to make it turn as per your requirement.

  Joined August 16, 2018      3
Thursday at 10:39 AM

Tapsi,

You can use DC motor itself for your application. 
You can turn it On for particular time duration until it rotates to desired angle, and then turn it off. This can be repeatedly done either using some microcontroller which requires programming or you can use 555 Timer IC.
One problem you may face is that it rotates too fast, so you can slow it down by reducing the supply voltage using LM317 or you can use geared DC motor.
Another but little bit complex method to slow down DC motor is to use PWM technique.

Also consider Servo motor if you dont require complete 360 degree rotation, it is much easier to operate than Stepper Motor. You can find tons of tutorial to rotate servo motors.

  Joined May 19, 2015      402
Tuesday at 03:13 PM

Thank you for your answers.

As I said, I am not from engineering background and hence cannot work much with electronics. After reading the answer I understand it is not going to be possible to turn my stepper with just a battery directly. So I am planing to use a DC motor itself as suggested by Abhshek.

Now, where can I purchase the 555 timer IC and LM317 IC. What should I ask for while buying it? I am planning to check my local hardware store tomorrow and will update you guys on the same.  Also which circuit should I follow? I have a fairly simple knowledge on breadboard so I will try the circuit over a breadboard first.

Thanks again,

Tapsi

  Joined August 15, 2018      3
Wednesday at 11:49 AM