Interfacing 28-BYJ48 Unipolar stepper motor with evive

About This Tutorial
In this tutorial we will interface 28-BYJ48 Unipolar stepper motor with evive and we will rotate stepper motor in clockwise and counter-clockwise direction
Tutorial Info

Components Required

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1
Male to Female Jumper Cable 10cm1
  • None

Introduction 

Stepper Motor is a motor controlled by a series of electromagnetic coils. The center shaft has a series of magnets mounted on it, and the coils surrounding the shaft are alternately given current or not, creating magnetic fields which repulse or attract the magnets on the shaft, causing the motor to rotate. In this tutorial, we will be using “28-BYJ48” Unipolar stepper motor

There are two basic types of stepper motors

  • Unipolar stepper motor
  • Bipolar stepper motor

Unipolar stepper motor

 

The unipolar stepper motor has five or six wires and four coils (actually two coils divided by center connections on each coil). The center connections of the coils are tied together and used as the power connection. They are called unipolar steppers because power always comes in on this one pole.

Bipolar stepper motor

A bipolar stepper motor has one winding per stator phase. A two-phase bipolar stepper motor will have 4 leads. In a bipolar stepper, we don’t have a common lead like in a unipolar stepper motor. Hence, there is no natural reversal of the current direction through the winding. A bipolar stepper motor has an easy wiring arrangement but its operation is a little complex. In order to drive a bipolar stepper, we need a driver IC with an internal H bridge circuit. This is because, in order to reverse the polarity of stator poles, the current needs to be reversed. This can only be done through an H bridge. 

ULN2003 Stepper driver

The ULN2003A contains seven darlington transistor drivers and is somewhat like having seven TIP120 transistors all in one package.T he ULN2003A can pass up to 500 mA per channel and has an internal voltage drop of about 1V when on. It also contains internal clamp diodes to dissipate voltage spikes when driving inductive loads To control the stepper, apply the voltage to each of the coils in a specific sequence

Circuit diagram

 

  1. Connect “28-BYJ48” stepper motor 5 wire female bus with “ULN2003” stepper motor driver male bus as shown in figure
  2. Connect pin having “ +” sign on  “ULN2003” stepper motor driver to “VCC” of evive
  3. Connect pin having “-” sign on “ULN2003” stepper motor driver to “GND” of evive 
  4. Connect “IN1”  to digital pin number  7 of evive
  5. Connect “IN2” to digital pin number  6 of evive
  6. Connect “IN3” to digital pin number  5 of evive
  7. Connect “IN4” to digital pin number  4 of evive

Arduino code

Expected Result

Share this Tutorial
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Related Projects & Tutorials
Smartphone Controlled Robot
Smartphone-Controlled Mobile Robot

In this project, you will learn how mobile robot works and how to make a robot which will be controlled using Smartphone via Bluetooth communication.

evive-brain
Interfacing evive with PictoBlox
This tutorial discusses how to interface evive with PictoBlox, the evive palette, the two modes for writing scripts in PictoBlox, and how to upload a script to evive.
PictoBlox blocks Scratch how to
Getting Started with PictoBlox
PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
All articles loaded
No more articles to load
Featured Projects
DIY Mini Safe Locker Using Servo
DIY Mini Safe Locker Using Servo

Make your own DIY mini-safe locker using components from the evive Starter Kit and control it using evive’s slide switch!

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart