Stepper Motor With Arduino UNO

by Rachna Aggarwal in Circuits > Arduino

2840 Views, 1 Favorites, 0 Comments

Stepper Motor With Arduino UNO

stepper motor with Arduino

Stepper motors are DC motors that move in discrete steps. They have multiple coils that are organized in groups called "phases". By energizing each phase in sequence, the motor will rotate, one step at a time.

Stepper motors are very useful in making projects which require precise positioning such as 3D printers. Due to few limitations we have one more type of motor called servo motors.

Limitations are : -

1. draw power even when not doing any work at all.
2. less torque at high speed.

3. No feedback mechanism like servo motor.

Moreover, Stepper motors require Motor drivers to connect with processing boards but we can connect servo motors directly to Arduino or esp32 board.

Components Required

stepper motor.jpg

1. Stepper Motor - https://amzn.to/3013oAK

2. Motor driver - https://amzn.to/365Ke0p

3. Arduino UNO - https://amzn.to/2FJe9Rf

4. Jumper wires - https://amzn.to/3iqdBxM

5. Breadboard(optional) - https://amzn.to/3kdp4Rt

6. Arduino IDE software

Circuit Schematic

20200922_025228.jpg

Stepper motor works on 5v volts. therefore connect 5V of motor driver to ESP 32 Vin.

Motor driver --> Arduino UNO board

in1Pin --> 8

in2Pin --> 9

in3Pin --> 10

in4Pin --> 11

Vcc --> 5V

GND --> GND

Arduino IDE Code for Stepper Motor With Arduino