Using 28BYJ-48 stepper motor by Arduino and ULN2003 driver

Arduino UNO 17-02-25
22 0

Tutorial plan

1- Definition of 28BYJ-48 stepper motor

2- Components Needed to command 28BYJ-48 stepper motor by Arduino

3- Circuit Setup

4- Arduino program

 

 

Definition of 28BYJ-48 stepper motor

The 28BYJ-48 is a unipolar stepper motor, commonly used in automation, robotics, and DIY electronics projects due to its affordability and ease of use. It features a built-in 1/64 gear reduction, which provides precise control but reduces speed.

How it Works:

1- The motor operates by energizing its coils in a specific sequence, causing the rotor to move step-by-step.

2- Each step corresponds to a specific angular movement of the rotor (5.625° before gearbox reduction).

3- The internal gearbox divides the movement further, resulting in finer control over the output shaft.

Applications:

Small robotics: For movement control.

Home automation: Such as controlling air conditioner vents or automated curtains.

Hobbyist projects: For creating small-scale CNC machines or camera gimbals.

Consumer electronics: Found in CD/DVD drives and printers.

 

Components Needed to command 28BYJ-48 stepper motor by Arduino

Arduino UNO

Arduino Uno

Arduino UNO board generates the step control signals for the stepper motor.

It sends digital HIGH/LOW signals to the ULN2003 driver to control the stepper motor.

28BYJ-48 Stepper Motor

It Converts electrical pulses into mechanical rotation.

It Moves in small, precise steps based on the coil activation sequence.

ULN2003 Stepper Motor Driver Board

It acts as an intermediary between the Arduino and the stepper motor, amplifying the control signals.

It uses Darlington transistor arrays to provide enough current to the stepper motor.

Jumper Wires (Male-Female & Male-Male)

Jumper wires

Used to make connections between the Arduino, ULN2003 driver module, and stepper motor.

Power Supply

The power supply provides energy to the UNL2003 module.

 

Circuit Setup

We connect :

1- the UNL2003 module to the stepper motor

2- the IN1 pin of the UNL2003 module to pin N°8 of the Arduino

3- the IN2 pin of the UNL2003 module to pin N°9 of the Arduino

4- the IN3 pin of the UNL2003 module to pin N°10 of the Arduino

5- the IN4 pin of the UNL2003 module to pin N°11 of the Arduino

 

Arduino program

Here is the program which allows to control the stepper motor by the Arduino card.

You have to import this library: Stepper.

0 comment

Leave a comment

Veuillez noter s'il vous plaît*

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Purpose of this website

Educational robotics refers to the use of robots and robotics technology to promote learning in educational settings. It involves the integration of technology, engineering, and computer science into the classroom, allowing students to engage in hands-on, project-based learning experiences.
In this context, our website represents an excellent resource for parents, teachers and children who wish to discover robotics.

Contact details

Zaouiet Kontech-Jemmel-Monastir-Tunisia

+216 92 886 231

medaliprof@gmail.com

Pictures of the articles

Robotic site created by MedAli-Teacher info