Arduino - Stepper Motor Control with L293D Motor Driver @maker101io
Arduino - Stepper Motor Control with L293D Motor Driver  @maker101io
Uploaded October 2016 | Updated September 2026, 2 weeks ago
In this tutorial you will learn how to control a stepper motor using your L293D motor control chip

Stepper motors fall somewhere in between a regular DC motor and a servo motor. They have the advantage that they can be positioned accurately, moved forward or backwards one 'step' at a time, but they can also rotate continuously.

Required Hardware
Arduino Board:
amzn.to/2LZr6t4 (Amazon)
goo.gl/UyGYeF (Banggood)
28BYJ-48 Stepper :
amzn.to/3px9vX2 (Amazon)
goo.gl/Qd9479 (Banggood)
IC L293D Motor Driver :
amzn.to/2ZqRob1 (Amazon)
goo.gl/MLBWrg (Banggood)
Breadboard :
goo.gl/yCa8hX (Banggood)
amzn.to/3qxLxwm (Amazon)
Jumper Wires amzn.to/3doetmT

Recommended Items:
Use Your Muscles in Project - amzn.to/3wdL45C
37 Sensor & Module Packages - amzn.to/3m66WeQ
Try this Robot Arm - amzn.to/3fq8DCl
Best Resin 3D Printer - amzn.to/39tY8KB
Arduino Compatible Kits - bit.ly/2J2AFF7
Banggood Spring Sale - bit.ly/3slMbOn

Hardware (L293D) :
Run four solenoids, two DC motors or one bi-polar or uni-polar stepper with up to 600mA per channel using the L293D. These are perhaps better known as "the drivers in Adafruit Motorshield". If you accidentally damaged the drivers in a shield, you can use one of these puppies to replace it. Or you can breadboard something on your own!

Each chip contains two full H-bridges (four half H-bridges). That means you can drive four solenoids, two DC motors bi-directionally, or one stepper motor.

There's a PWM input per driver so you can control motor speed. Runs at 5V logic. Good for motor voltages from 4.5V up to 36V! This wont work well for 3V motors. The motor voltage is separate from the logic voltage.

The stepper motor has five leads, and we will be using both halves of the L293D this time. This means that there are a lot of connections to make on the breadboard.

The motor has a 5-way socket on the end. Push jumper wires into the sockets to allow the motor to be connected to the breadboard.

Connection :
Note that the red lead of the Stepper motor is not connected to anything.

Use the colors of the leads to identify them, not the position from which they emerge from the motor.

Bipolar Stepper Motor :
Driving a bipolar stepper motor with the L293D is very similar to driving a unipolar stepper motor. The pulse sequence is the same. The only difference between driving a unipolar stepper motor and driving a bipolar stepper motor is that there is an extra wire in a unipolar stepper motor you have to hook up.

Get Source Code: create.arduino.cc/editor/mertarduinotech/6cc1134b-7b16-4525-9f39-26d9d027fd26/preview

Social Media:
instagram.com/mertarduino
facebook.com/mertarduino
Arduino - Stepper Motor Control with L293D Motor Driver08# Arduino Visual Programming | Robot Arm  Control with Potentiometers | XODDIY Bluetooth GamePad for Android, PlayStation and PCArduino Servo Motor Control with Motor Driver Shield L293DDrawing Robot01# Arduino Visual Programming | Activate an LED in 3 steps with using XOD
Maker 101 |

Arduino - Stepper Motor Control with L293D Motor Driver

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER