SlideShare una empresa de Scribd logo
1 de 15
Stepper Motor Interfacing
With AVR
Title and Content Layout with List
• Introduction
• Add your second bullet point here
• Video
Introduction
A stepper motor is a widely used device that translates
electrical pulses into mechanical movement.
In application such as disk drives, dot matrix printers, and
robotics, the stepper motor is used for position control.
Stepper motor commonly have a permanent magnet rotor (Shaft)
surrounded by a stator.
There are also steppers called variable reluctance stepper
motors that do not have a permanent magnet rotor.
STEP Winding A Winding B Winding C Winding D
1 1 0 0 1
2 1 1 0 0
3 0 1 1 0
4 0 0 1 1
Clockwise Anti-Clockwise
Step Angle Steps per Revolution
0.72 500
1.8 200
2.0 180
2.5 144
5.0 72
7.5 48
15 24
The step angle is the minimum degree of rotation associated with
a single step. Various motors have different step angles. Table
14-4 shows some step angles for various motors. In Table 14-4,
notice the term steps per revolution. This is the total number
of steps needed to rotate one complete rotation or 360 degrees
(e.g., 180 steps x 2 degrees = 360).
It must be noted that perhaps contrary to one's initial
impression, a stepper motor does not need more terminal leads
for the stator to achieve sma11er steps.
Step Angle
The step angle is the minimum degree of rotation associated with
a single step.
Various motors have different step angles.
Above Table shows some step angles for various motors.
In Above Table, notice the term steps per revolution.
This is the total number of steps needed to rotate one complete
rotation or 360 degrees (e.g., 180 steps x 2 degrees = 360).
It must be noted that perhaps contrary to one's initial
impression, a stepper motor does not need more terminal leads
for the stator to achieve sma11er steps.
Steps per second and RPM relation
The relation between RPM (revolutions per minute), steps per
revolution, and steps per second is as follows.
Steps per second =
RPM x Steps per revolution
60
The 4-step sequence and number of teeth on rotor
The switching sequence shown earlier in Table 14-3 is called the
4-step switching sequence because after four steps the same two
windings will be "ON". How much movement is associated with
these four steps? After completing every four steps, the rotor
moves only one tooth pitch. Therefore, in a stepper motor with
200 steps per revolution, the rotor has 50 teeth because 4x 50 =
200 steps are needed to complete one revolution. This leads to
the conclusion that the minimum step angle is always a function
of the number of teeth on the rotor. In other words, the smaller
the step angle, the more teeth the rotor has.
Types of Stepper Motor
1. Universal:
2. Unipolar:
3. Bipolar:
That types of stepper motor are identified by the number of
connections to the motor in winding.
The universal stepper motor can be configured for all three
modes, while the unipolar can be either unipolar or bipolar.
Obviously the bipolar cannot be configured for universal nor
unipolar mode.
Programme
INCLUDE "M32DEF.INC“
LDI R20, HIGH (RAMEND) ; initialize stack pointer
OUT SPH, R20
LDI R20, LOW(RAMEND)
OUT SPL, R20
LDI R20, OxFF ; Port B as output
OUT DDRB, R20
LDI R20, 0x06 ; Load step sequence
L1:OUT PORTB, R20 ; PortB = R20
LSR R20 ; Shift Right
BRCC L2 ; If not carry skip next
ORI R20,0x8
L2:RCALL DELAY ; wait
RJMP L1
DELAY:LDI R16, 0x50
D_L1:NOP
NOP
DEC R16
BRNE D_L1
RET
Change the value of delay to set this speed of rotation.
step Winding A Winding B Winding C Winding D
1 1 0 0 1
2 1 0 0 0
3 1 1 0 0
4 0 1 0 0
5 0 1 1 0
6 0 0 1 0
7 0 0 1 1
8 0 0 0 1
AVR lacks sufficient current to drive the stepper motor
windings, we must use a driver such as the ULN2003 (or ULN2803)
to energize the stator.
Instead of the ULN2003, we could have used transistors as
drivers. One reason that using the ULN2003 is preferable to the
use of transistors as drivers is that the ULN2003 has an
internal diode to take care of back EMF.
Stepper motor interfacing

Más contenido relacionado

La actualidad más candente

Presentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuitPresentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuit
Sarah Krystelle
 
Dc motor interfacing with 8051 microcontroller
Dc motor interfacing with 8051 microcontrollerDc motor interfacing with 8051 microcontroller
Dc motor interfacing with 8051 microcontroller
Umar Shuaib
 
Microstepping of stepper Motor
Microstepping of stepper MotorMicrostepping of stepper Motor
Microstepping of stepper Motor
ANUP PALARAPWAR
 
Chapter 7 stepper motor
Chapter 7 stepper motorChapter 7 stepper motor
Chapter 7 stepper motor
Hattori Sidek
 

La actualidad más candente (20)

Stepper Motor Control System
Stepper Motor Control SystemStepper Motor Control System
Stepper Motor Control System
 
Stepping Motor Driver IC Using PWM Chopper Type: TB62209FG
Stepping Motor Driver IC Using PWM Chopper Type: TB62209FGStepping Motor Driver IC Using PWM Chopper Type: TB62209FG
Stepping Motor Driver IC Using PWM Chopper Type: TB62209FG
 
Stepper motor Presentation
Stepper motor Presentation Stepper motor Presentation
Stepper motor Presentation
 
stepper motor
stepper motorstepper motor
stepper motor
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
Presentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuitPresentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuit
 
Stepper motor control
Stepper motor controlStepper motor control
Stepper motor control
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
Stepper motor site
Stepper motor siteStepper motor site
Stepper motor site
 
Stepper Motor
Stepper MotorStepper Motor
Stepper Motor
 
Motor Control Relay, Pwm, DC and Stepper Motors
Motor Control Relay, Pwm, DC and Stepper MotorsMotor Control Relay, Pwm, DC and Stepper Motors
Motor Control Relay, Pwm, DC and Stepper Motors
 
Dc motor interfacing with 8051 microcontroller
Dc motor interfacing with 8051 microcontrollerDc motor interfacing with 8051 microcontroller
Dc motor interfacing with 8051 microcontroller
 
Stepper Motor Types, Advantages And Applications
 Stepper Motor Types, Advantages And Applications Stepper Motor Types, Advantages And Applications
Stepper Motor Types, Advantages And Applications
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
Microstepping of stepper Motor
Microstepping of stepper MotorMicrostepping of stepper Motor
Microstepping of stepper Motor
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
Stepper motor
Stepper motorStepper motor
Stepper motor
 
stepper motors
stepper motors stepper motors
stepper motors
 
Chapter 7 stepper motor
Chapter 7 stepper motorChapter 7 stepper motor
Chapter 7 stepper motor
 
stepper motor by samiullah shaikh
stepper motor by samiullah shaikh  stepper motor by samiullah shaikh
stepper motor by samiullah shaikh
 

Destacado

Gas Insulated Transformer (2)
Gas Insulated Transformer (2)Gas Insulated Transformer (2)
Gas Insulated Transformer (2)
RyaneLakhya
 
auto matic load shedding control for substation
auto matic load shedding control for substationauto matic load shedding control for substation
auto matic load shedding control for substation
bishow kandel
 
gas insulated transformer
gas insulated transformergas insulated transformer
gas insulated transformer
csinha2020
 
Motor Fundamental
Motor FundamentalMotor Fundamental
Motor Fundamental
rayhsu
 
Star delta
Star deltaStar delta
Star delta
avi1001
 

Destacado (20)

Power blackouts with special reference to july 2013 copy
Power blackouts with special reference to july 2013   copyPower blackouts with special reference to july 2013   copy
Power blackouts with special reference to july 2013 copy
 
Gas Insulated Transformer (2)
Gas Insulated Transformer (2)Gas Insulated Transformer (2)
Gas Insulated Transformer (2)
 
SMART LOAD SHEDDING
SMART LOAD SHEDDINGSMART LOAD SHEDDING
SMART LOAD SHEDDING
 
auto matic load shedding control for substation
auto matic load shedding control for substationauto matic load shedding control for substation
auto matic load shedding control for substation
 
gas insulated transformer
gas insulated transformergas insulated transformer
gas insulated transformer
 
المحركات الخطوية والتحكم بها
المحركات الخطوية والتحكم بهاالمحركات الخطوية والتحكم بها
المحركات الخطوية والتحكم بها
 
Setpper Motor
 Setpper Motor Setpper Motor
Setpper Motor
 
Ssfcl
SsfclSsfcl
Ssfcl
 
Stepper motors
Stepper motorsStepper motors
Stepper motors
 
Motor Fundamental
Motor FundamentalMotor Fundamental
Motor Fundamental
 
stepper motor
stepper motorstepper motor
stepper motor
 
Short courses
Short coursesShort courses
Short courses
 
Eskom load shedding update
Eskom load shedding updateEskom load shedding update
Eskom load shedding update
 
Report on PLCC
Report on PLCCReport on PLCC
Report on PLCC
 
Pwm
PwmPwm
Pwm
 
prepaid energy meter using smartcard
prepaid energy meter using smartcardprepaid energy meter using smartcard
prepaid energy meter using smartcard
 
Star delta trsformation
Star delta trsformationStar delta trsformation
Star delta trsformation
 
Two port networks (y parameters)
Two port networks (y parameters)Two port networks (y parameters)
Two port networks (y parameters)
 
Gasoline electronic fuel injection systems
Gasoline electronic  fuel injection systemsGasoline electronic  fuel injection systems
Gasoline electronic fuel injection systems
 
Star delta
Star deltaStar delta
Star delta
 

Similar a Stepper motor interfacing

INTERNAL GEAR PUMP
INTERNAL GEAR PUMPINTERNAL GEAR PUMP
INTERNAL GEAR PUMP
Suchit Moon
 
Haydon kerk dcm8054_dcm8027_specsheet
Haydon kerk dcm8054_dcm8027_specsheetHaydon kerk dcm8054_dcm8027_specsheet
Haydon kerk dcm8054_dcm8027_specsheet
Electromate
 
Iai 05 rc general_cj0203-2_a_p371-416_gripper
Iai 05 rc general_cj0203-2_a_p371-416_gripperIai 05 rc general_cj0203-2_a_p371-416_gripper
Iai 05 rc general_cj0203-2_a_p371-416_gripper
Electromate
 

Similar a Stepper motor interfacing (20)

Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
 
Stepper with 8051.docx
Stepper with 8051.docxStepper with 8051.docx
Stepper with 8051.docx
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacing
 
INTERNAL GEAR PUMP
INTERNAL GEAR PUMPINTERNAL GEAR PUMP
INTERNAL GEAR PUMP
 
8255
82558255
8255
 
1. servo basic
1. servo basic1. servo basic
1. servo basic
 
My minor project
My minor projectMy minor project
My minor project
 
Iai rcp2 rtbb_rtbbl_specsheet
Iai rcp2 rtbb_rtbbl_specsheetIai rcp2 rtbb_rtbbl_specsheet
Iai rcp2 rtbb_rtbbl_specsheet
 
Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...
Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...
Howto Design a Stepper Motor System Using an 8-bit Freescale microcontroller ...
 
Stepper Motor
Stepper MotorStepper Motor
Stepper Motor
 
It 5170 stepper motor
It 5170 stepper motorIt 5170 stepper motor
It 5170 stepper motor
 
Haydon kerk dcm8054_dcm8027_specsheet
Haydon kerk dcm8054_dcm8027_specsheetHaydon kerk dcm8054_dcm8027_specsheet
Haydon kerk dcm8054_dcm8027_specsheet
 
Motors types
Motors typesMotors types
Motors types
 
STEPPER MOTORS notes.pdf
STEPPER MOTORS notes.pdfSTEPPER MOTORS notes.pdf
STEPPER MOTORS notes.pdf
 
Iai rcp2 ba6_specsheet
Iai rcp2 ba6_specsheetIai rcp2 ba6_specsheet
Iai rcp2 ba6_specsheet
 
Implementation of PWM Control of DC Split Converter Fed Switched Reluctance M...
Implementation of PWM Control of DC Split Converter Fed Switched Reluctance M...Implementation of PWM Control of DC Split Converter Fed Switched Reluctance M...
Implementation of PWM Control of DC Split Converter Fed Switched Reluctance M...
 
Iai 05 rc general_cj0203-2_a_p371-416_gripper
Iai 05 rc general_cj0203-2_a_p371-416_gripperIai 05 rc general_cj0203-2_a_p371-416_gripper
Iai 05 rc general_cj0203-2_a_p371-416_gripper
 
Speed Control of Synchronous Motor
Speed Control of Synchronous Motor Speed Control of Synchronous Motor
Speed Control of Synchronous Motor
 
Iai rcp2 rtc_rtcl_specsheet
Iai rcp2 rtc_rtcl_specsheetIai rcp2 rtc_rtcl_specsheet
Iai rcp2 rtc_rtcl_specsheet
 
Iai rcp2 rtbs_rtbsl_specsheet
Iai rcp2 rtbs_rtbsl_specsheetIai rcp2 rtbs_rtbsl_specsheet
Iai rcp2 rtbs_rtbsl_specsheet
 

Más de BIRLA VISHVAKARMA MAHAVIDYALAY

Más de BIRLA VISHVAKARMA MAHAVIDYALAY (14)

VLAN ON PACKET TRACER
VLAN ON PACKET TRACERVLAN ON PACKET TRACER
VLAN ON PACKET TRACER
 
VLAN ON PACKET TRACER
VLAN ON PACKET TRACERVLAN ON PACKET TRACER
VLAN ON PACKET TRACER
 
VLAN on packet Tracer
VLAN on packet TracerVLAN on packet Tracer
VLAN on packet Tracer
 
E.com
E.comE.com
E.com
 
Fhss project
Fhss projectFhss project
Fhss project
 
Group 11
Group 11Group 11
Group 11
 
Me presentation
Me presentationMe presentation
Me presentation
 
Gujarat technological universit1
Gujarat technological universit1Gujarat technological universit1
Gujarat technological universit1
 
Arithmetic and logical instructions
Arithmetic and logical instructionsArithmetic and logical instructions
Arithmetic and logical instructions
 
Cse presentation
Cse presentationCse presentation
Cse presentation
 
Group no 11
Group no 11Group no 11
Group no 11
 
Avs presentation
Avs presentationAvs presentation
Avs presentation
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
 
Automaticroomlightcontroller[1]
Automaticroomlightcontroller[1]Automaticroomlightcontroller[1]
Automaticroomlightcontroller[1]
 

Último

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Último (20)

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 

Stepper motor interfacing

  • 2. Title and Content Layout with List • Introduction • Add your second bullet point here • Video
  • 3. Introduction A stepper motor is a widely used device that translates electrical pulses into mechanical movement. In application such as disk drives, dot matrix printers, and robotics, the stepper motor is used for position control. Stepper motor commonly have a permanent magnet rotor (Shaft) surrounded by a stator. There are also steppers called variable reluctance stepper motors that do not have a permanent magnet rotor.
  • 4.
  • 5. STEP Winding A Winding B Winding C Winding D 1 1 0 0 1 2 1 1 0 0 3 0 1 1 0 4 0 0 1 1 Clockwise Anti-Clockwise
  • 6. Step Angle Steps per Revolution 0.72 500 1.8 200 2.0 180 2.5 144 5.0 72 7.5 48 15 24
  • 7. The step angle is the minimum degree of rotation associated with a single step. Various motors have different step angles. Table 14-4 shows some step angles for various motors. In Table 14-4, notice the term steps per revolution. This is the total number of steps needed to rotate one complete rotation or 360 degrees (e.g., 180 steps x 2 degrees = 360). It must be noted that perhaps contrary to one's initial impression, a stepper motor does not need more terminal leads for the stator to achieve sma11er steps.
  • 8. Step Angle The step angle is the minimum degree of rotation associated with a single step. Various motors have different step angles. Above Table shows some step angles for various motors. In Above Table, notice the term steps per revolution. This is the total number of steps needed to rotate one complete rotation or 360 degrees (e.g., 180 steps x 2 degrees = 360). It must be noted that perhaps contrary to one's initial impression, a stepper motor does not need more terminal leads for the stator to achieve sma11er steps.
  • 9. Steps per second and RPM relation The relation between RPM (revolutions per minute), steps per revolution, and steps per second is as follows. Steps per second = RPM x Steps per revolution 60 The 4-step sequence and number of teeth on rotor The switching sequence shown earlier in Table 14-3 is called the 4-step switching sequence because after four steps the same two windings will be "ON". How much movement is associated with these four steps? After completing every four steps, the rotor moves only one tooth pitch. Therefore, in a stepper motor with 200 steps per revolution, the rotor has 50 teeth because 4x 50 = 200 steps are needed to complete one revolution. This leads to the conclusion that the minimum step angle is always a function of the number of teeth on the rotor. In other words, the smaller the step angle, the more teeth the rotor has.
  • 10. Types of Stepper Motor 1. Universal: 2. Unipolar: 3. Bipolar:
  • 11. That types of stepper motor are identified by the number of connections to the motor in winding. The universal stepper motor can be configured for all three modes, while the unipolar can be either unipolar or bipolar. Obviously the bipolar cannot be configured for universal nor unipolar mode.
  • 12. Programme INCLUDE "M32DEF.INC“ LDI R20, HIGH (RAMEND) ; initialize stack pointer OUT SPH, R20 LDI R20, LOW(RAMEND) OUT SPL, R20 LDI R20, OxFF ; Port B as output OUT DDRB, R20 LDI R20, 0x06 ; Load step sequence L1:OUT PORTB, R20 ; PortB = R20 LSR R20 ; Shift Right BRCC L2 ; If not carry skip next ORI R20,0x8 L2:RCALL DELAY ; wait RJMP L1 DELAY:LDI R16, 0x50 D_L1:NOP NOP DEC R16 BRNE D_L1 RET Change the value of delay to set this speed of rotation.
  • 13. step Winding A Winding B Winding C Winding D 1 1 0 0 1 2 1 0 0 0 3 1 1 0 0 4 0 1 0 0 5 0 1 1 0 6 0 0 1 0 7 0 0 1 1 8 0 0 0 1
  • 14. AVR lacks sufficient current to drive the stepper motor windings, we must use a driver such as the ULN2003 (or ULN2803) to energize the stator. Instead of the ULN2003, we could have used transistors as drivers. One reason that using the ULN2003 is preferable to the use of transistors as drivers is that the ULN2003 has an internal diode to take care of back EMF.