SlideShare a Scribd company logo
1 of 7
Stepper Motor Control
Stepper Motor Control
Kayla Klein, Bach Nguyen, Nathan Hendrich
ET 226-01
Spring 2016
2
Introduction
This report details the construction and parameters necessary for complete rotation of a stepper
motor through systematic pulsing. This system does not require use of a microcontroller.
Instead, the storage and shifting of data is passed through a shift register.
Background
The 8-bit shift register used is a serial-in/parallel-out. This means the stream of data collected
through one input, pin 14, produces 8 outputs. Figure 1 shows the pin layout of the 8-bit shift
register and table 1 details the description of each pin. The master reset and output enable,
respectively pin 10 and pin 13, is active when low and deactivated when high. When the storage
register clock input, pin 11, is active, the state of the serial data input, pin 14, is stored into the
register. Activating the storage register input, pin 12, moves the data from storage to the outputs.
Each time pin 12 is activated, the data shifts down, QA moves into QB, QB moves into QC, and so
on. To produce more than eight outputs, QH′ output, pin9, is linked into the serial input of
another shift register integrated circuit.
3
Figure 1
SN74HC595
Table 1
Pin Symbol Description Pin Symbol Description
1 QB Parallel Output 16 VCC Supply Voltage
2 QC Parallel Output 15 QA Parallel Output
3 QD Parallel Output 14 SER Serial Data Input
4 QE Parallel Output 13 OE Output Enable (active low)
5 QF Parallel Output 12 RCLK Storage Register Input “Latch”
6 QG Parallel Output 11 SRCLK Storage Register Clock Input “Clock”
7 QH Parallel Output 10 SRCLR Master Reset (active low)
8 GND Ground (0V) 9 QH′ Serial Output
4
Materials
(1) Bipolar Stepper Motor
(1) Proto board
(1) SN754410 -HBridge
(1) SNx4HC595 – Shift Register
(1) SN74LS08 – AND Gate
(1) SN7404 – Inverter
Wires
Method
Manual input of data is achieved through use of three normally open switches. See table 2 for
the connections needed to achieve manual input of data. The storage register clock, pin 11, and
serial data input, pin 14, are used to “clock” the significant data into storage. With the data input
stored, activating the storage register input, pin 12, moves the stream of data from storage to the
outputs. To create the desired effect of stepper motor rotation the data shown in table 3 cascades
and continuously loops through the shift register, where tn represents the clock pulse and Q is
the state of the serial data input at that time. By using a function generator in the protoboard, we
were able to continuously keep the shift register shifting by a value of zero every pulse to make
the step motor rotate by increasing the amplification of the pulse we were able to make it goes 10
times or 100 times faster than the initial inputs. An inverter and an AND gate were put into the
5
circuit possibly be use to change the direction of the motor but unfortunately we were unable to
make it go in the reverse direction.
Table 2
Pin Symbol Connection
8 GND Ground
9 QH′ Serial Data Input
10 SRCLR High
11 SRCLK Switch 1
12 RCLK Switch 2
13 OE Ground
14 SER Switch 3
16 VCC +5V
Table 3
tn t0 t1 t2 t3 t4 t5 t6 t7
Q 1 0 0 0 1 0 0 0
6
Schematics
Conclusion
The experiment was half way successful when we were able to shift in values into the
shift registers and make the motor goes one way. We were unsuccessful in making it goes
7
backward. Sources of failures and errors: our understanding of the shift registers and the
Intergrated Circuits as a whole, the equipment failure, we have to switch out 2 protoboard and 3
chips because of malfunctions, human errors can also be included in the failure of this project.

More Related Content

What's hot

Control ICs for Energy-efficient Fluorescent Ballast Applications
Control ICs for Energy-efficient Fluorescent Ballast Applications Control ICs for Energy-efficient Fluorescent Ballast Applications
Control ICs for Energy-efficient Fluorescent Ballast Applications Premier Farnell
 
Pll in lpc2148
Pll in lpc2148Pll in lpc2148
Pll in lpc2148Aarav Soni
 
PCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPremier Farnell
 
Serial communication in LPC2148
Serial communication in LPC2148Serial communication in LPC2148
Serial communication in LPC2148sravannunna24
 
8051 serial communication1
8051 serial communication1 8051 serial communication1
8051 serial communication1 vijaydeepakg
 
Sereial com. ppt
Sereial com. pptSereial com. ppt
Sereial com. pptgaurav5345
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registersDeepak Sharma
 
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flopGargiKhanna1
 
arm complete detail part 2
arm complete detail part 2arm complete detail part 2
arm complete detail part 2NOWAY
 
Introduction to pll
Introduction to pllIntroduction to pll
Introduction to pllsartaj ahmed
 
Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11Amitesh Kumar
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Aarav Soni
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Dhaval Kaneria
 

What's hot (20)

Control ICs for Energy-efficient Fluorescent Ballast Applications
Control ICs for Energy-efficient Fluorescent Ballast Applications Control ICs for Energy-efficient Fluorescent Ballast Applications
Control ICs for Energy-efficient Fluorescent Ballast Applications
 
74ls390
74ls39074ls390
74ls390
 
Pll in lpc2148
Pll in lpc2148Pll in lpc2148
Pll in lpc2148
 
PCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio CodecPCM3168A/PCM3168A-Q1 Audio Codec
PCM3168A/PCM3168A-Q1 Audio Codec
 
Serial communication in LPC2148
Serial communication in LPC2148Serial communication in LPC2148
Serial communication in LPC2148
 
8051 serial communication1
8051 serial communication1 8051 serial communication1
8051 serial communication1
 
74ls373
74ls37374ls373
74ls373
 
Sereial com. ppt
Sereial com. pptSereial com. ppt
Sereial com. ppt
 
8.flip flops and registers
8.flip flops and registers8.flip flops and registers
8.flip flops and registers
 
Latch and flip flop
Latch and flip flopLatch and flip flop
Latch and flip flop
 
arm complete detail part 2
arm complete detail part 2arm complete detail part 2
arm complete detail part 2
 
Group 11 introduction to registers and counters
Group 11 introduction to registers and countersGroup 11 introduction to registers and counters
Group 11 introduction to registers and counters
 
Introduction to pll
Introduction to pllIntroduction to pll
Introduction to pll
 
Robotics lec7
Robotics lec7Robotics lec7
Robotics lec7
 
Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11Automation of cstr using microcontroller gp11
Automation of cstr using microcontroller gp11
 
555 timer
555 timer555 timer
555 timer
 
Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Ring counter
Ring counterRing counter
Ring counter
 
LG Cable
LG CableLG Cable
LG Cable
 

Viewers also liked

Tightjunction a&pmuih
Tightjunction a&pmuihTightjunction a&pmuih
Tightjunction a&pmuihSharon Mack
 
Cumplimiento tendencias digitales 2016 sm digital
Cumplimiento tendencias digitales 2016 sm digitalCumplimiento tendencias digitales 2016 sm digital
Cumplimiento tendencias digitales 2016 sm digitalSM Digital
 
savills-prime-office-cost-index-q4-2016
savills-prime-office-cost-index-q4-2016savills-prime-office-cost-index-q4-2016
savills-prime-office-cost-index-q4-2016Marcus Arredondo
 
Дубовиця у 2 світовій війні
Дубовиця у 2 світовій війніДубовиця у 2 світовій війні
Дубовиця у 2 світовій війніОля Грейнер
 
A embocadura eficiente para o músico trompetista
A embocadura eficiente para o músico trompetistaA embocadura eficiente para o músico trompetista
A embocadura eficiente para o músico trompetistaPartitura de Banda
 
201702 CV Alberto Mendez Project Manager
201702 CV Alberto Mendez Project Manager201702 CV Alberto Mendez Project Manager
201702 CV Alberto Mendez Project ManagerArag2
 
Presentación Campamentos Urbanos Madrid
Presentación Campamentos Urbanos MadridPresentación Campamentos Urbanos Madrid
Presentación Campamentos Urbanos MadridIMAGINA EDUCATION SLU
 
Software to Advance Ship Maintenance
Software to Advance Ship MaintenanceSoftware to Advance Ship Maintenance
Software to Advance Ship MaintenanceThomas Leebolt
 
Using Surveys to Improve Your Library - Part 2
Using Surveys to Improve Your Library - Part 2Using Surveys to Improve Your Library - Part 2
Using Surveys to Improve Your Library - Part 2ALATechSource
 
Capital militante tentativa de definição
Capital militante tentativa de definiçãoCapital militante tentativa de definição
Capital militante tentativa de definiçãoEmidia Costa
 
DSR Testing (Part 2)
DSR Testing (Part 2)DSR Testing (Part 2)
DSR Testing (Part 2)Steve Upton
 
Contenido trayecto 3 fase 1 semipresencial
Contenido trayecto 3 fase 1 semipresencialContenido trayecto 3 fase 1 semipresencial
Contenido trayecto 3 fase 1 semipresencialMelissa Torrealba
 

Viewers also liked (20)

ROVER PROJECT
ROVER PROJECTROVER PROJECT
ROVER PROJECT
 
Dawns Resume
Dawns ResumeDawns Resume
Dawns Resume
 
Tightjunction a&pmuih
Tightjunction a&pmuihTightjunction a&pmuih
Tightjunction a&pmuih
 
Operaciones Básicas en PHP
Operaciones Básicas en PHPOperaciones Básicas en PHP
Operaciones Básicas en PHP
 
Cumplimiento tendencias digitales 2016 sm digital
Cumplimiento tendencias digitales 2016 sm digitalCumplimiento tendencias digitales 2016 sm digital
Cumplimiento tendencias digitales 2016 sm digital
 
savills-prime-office-cost-index-q4-2016
savills-prime-office-cost-index-q4-2016savills-prime-office-cost-index-q4-2016
savills-prime-office-cost-index-q4-2016
 
Дубовиця у 2 світовій війні
Дубовиця у 2 світовій війніДубовиця у 2 світовій війні
Дубовиця у 2 світовій війні
 
A embocadura eficiente para o músico trompetista
A embocadura eficiente para o músico trompetistaA embocadura eficiente para o músico trompetista
A embocadura eficiente para o músico trompetista
 
201702 CV Alberto Mendez Project Manager
201702 CV Alberto Mendez Project Manager201702 CV Alberto Mendez Project Manager
201702 CV Alberto Mendez Project Manager
 
Presentación Campamentos Urbanos Madrid
Presentación Campamentos Urbanos MadridPresentación Campamentos Urbanos Madrid
Presentación Campamentos Urbanos Madrid
 
Software to Advance Ship Maintenance
Software to Advance Ship MaintenanceSoftware to Advance Ship Maintenance
Software to Advance Ship Maintenance
 
Ransomware
RansomwareRansomware
Ransomware
 
Rmodmex pc18
Rmodmex pc18Rmodmex pc18
Rmodmex pc18
 
Using Surveys to Improve Your Library - Part 2
Using Surveys to Improve Your Library - Part 2Using Surveys to Improve Your Library - Part 2
Using Surveys to Improve Your Library - Part 2
 
B de baleia
B de baleiaB de baleia
B de baleia
 
C de carro
C de carroC de carro
C de carro
 
Capital militante tentativa de definição
Capital militante tentativa de definiçãoCapital militante tentativa de definição
Capital militante tentativa de definição
 
DSR Testing (Part 2)
DSR Testing (Part 2)DSR Testing (Part 2)
DSR Testing (Part 2)
 
2017 report new
2017 report new2017 report new
2017 report new
 
Contenido trayecto 3 fase 1 semipresencial
Contenido trayecto 3 fase 1 semipresencialContenido trayecto 3 fase 1 semipresencial
Contenido trayecto 3 fase 1 semipresencial
 

Similar to StepperMotorControl

Dalls02950 1
Dalls02950 1Dalls02950 1
Dalls02950 1S BW
 
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 ...Ionela
 
Advanced motion controls zbe12a8
Advanced motion controls zbe12a8Advanced motion controls zbe12a8
Advanced motion controls zbe12a8Electromate
 
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]akmalKhan55
 
Registers and counters
Registers and countersRegisters and counters
Registers and countersHeman Pathak
 
I2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingI2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingBhargav Kakadiya
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
At89 c2051 (3)
At89 c2051 (3)At89 c2051 (3)
At89 c2051 (3)angiey y
 
Mc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msjMc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msjmangala jolad
 
Advanced motion controls zbh12a8
Advanced motion controls zbh12a8Advanced motion controls zbh12a8
Advanced motion controls zbh12a8Electromate
 
Chp7 pic 16 f84 interfacing - copy
Chp7 pic 16 f84 interfacing - copyChp7 pic 16 f84 interfacing - copy
Chp7 pic 16 f84 interfacing - copymkazree
 
Simple Automatic Water Level Controller
Simple Automatic Water Level ControllerSimple Automatic Water Level Controller
Simple Automatic Water Level Controllerselvalakshmi24
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
bidirectional report
bidirectional reportbidirectional report
bidirectional reportHasan baig
 

Similar to StepperMotorControl (20)

Dalls02950 1
Dalls02950 1Dalls02950 1
Dalls02950 1
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
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 ...
 
Advanced motion controls zbe12a8
Advanced motion controls zbe12a8Advanced motion controls zbe12a8
Advanced motion controls zbe12a8
 
JK flip flops
JK flip flopsJK flip flops
JK flip flops
 
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
Share 'speed control_of_dc_motor_using_microcontroller.pptx'[1][1]
 
Registers and counters
Registers and countersRegisters and counters
Registers and counters
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
I2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacingI2C protocol and DS1307 RTC interfacing
I2C protocol and DS1307 RTC interfacing
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
At89 c2051 (3)
At89 c2051 (3)At89 c2051 (3)
At89 c2051 (3)
 
89 c2051
89 c205189 c2051
89 c2051
 
Mc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msjMc module5 lcd_interface_ppt_msj
Mc module5 lcd_interface_ppt_msj
 
4 bit Binary counter
4 bit Binary counter4 bit Binary counter
4 bit Binary counter
 
Advanced motion controls zbh12a8
Advanced motion controls zbh12a8Advanced motion controls zbh12a8
Advanced motion controls zbh12a8
 
020419.pdf
020419.pdf020419.pdf
020419.pdf
 
Chp7 pic 16 f84 interfacing - copy
Chp7 pic 16 f84 interfacing - copyChp7 pic 16 f84 interfacing - copy
Chp7 pic 16 f84 interfacing - copy
 
Simple Automatic Water Level Controller
Simple Automatic Water Level ControllerSimple Automatic Water Level Controller
Simple Automatic Water Level Controller
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
bidirectional report
bidirectional reportbidirectional report
bidirectional report
 

StepperMotorControl

  • 1. Stepper Motor Control Stepper Motor Control Kayla Klein, Bach Nguyen, Nathan Hendrich ET 226-01 Spring 2016
  • 2. 2 Introduction This report details the construction and parameters necessary for complete rotation of a stepper motor through systematic pulsing. This system does not require use of a microcontroller. Instead, the storage and shifting of data is passed through a shift register. Background The 8-bit shift register used is a serial-in/parallel-out. This means the stream of data collected through one input, pin 14, produces 8 outputs. Figure 1 shows the pin layout of the 8-bit shift register and table 1 details the description of each pin. The master reset and output enable, respectively pin 10 and pin 13, is active when low and deactivated when high. When the storage register clock input, pin 11, is active, the state of the serial data input, pin 14, is stored into the register. Activating the storage register input, pin 12, moves the data from storage to the outputs. Each time pin 12 is activated, the data shifts down, QA moves into QB, QB moves into QC, and so on. To produce more than eight outputs, QH′ output, pin9, is linked into the serial input of another shift register integrated circuit.
  • 3. 3 Figure 1 SN74HC595 Table 1 Pin Symbol Description Pin Symbol Description 1 QB Parallel Output 16 VCC Supply Voltage 2 QC Parallel Output 15 QA Parallel Output 3 QD Parallel Output 14 SER Serial Data Input 4 QE Parallel Output 13 OE Output Enable (active low) 5 QF Parallel Output 12 RCLK Storage Register Input “Latch” 6 QG Parallel Output 11 SRCLK Storage Register Clock Input “Clock” 7 QH Parallel Output 10 SRCLR Master Reset (active low) 8 GND Ground (0V) 9 QH′ Serial Output
  • 4. 4 Materials (1) Bipolar Stepper Motor (1) Proto board (1) SN754410 -HBridge (1) SNx4HC595 – Shift Register (1) SN74LS08 – AND Gate (1) SN7404 – Inverter Wires Method Manual input of data is achieved through use of three normally open switches. See table 2 for the connections needed to achieve manual input of data. The storage register clock, pin 11, and serial data input, pin 14, are used to “clock” the significant data into storage. With the data input stored, activating the storage register input, pin 12, moves the stream of data from storage to the outputs. To create the desired effect of stepper motor rotation the data shown in table 3 cascades and continuously loops through the shift register, where tn represents the clock pulse and Q is the state of the serial data input at that time. By using a function generator in the protoboard, we were able to continuously keep the shift register shifting by a value of zero every pulse to make the step motor rotate by increasing the amplification of the pulse we were able to make it goes 10 times or 100 times faster than the initial inputs. An inverter and an AND gate were put into the
  • 5. 5 circuit possibly be use to change the direction of the motor but unfortunately we were unable to make it go in the reverse direction. Table 2 Pin Symbol Connection 8 GND Ground 9 QH′ Serial Data Input 10 SRCLR High 11 SRCLK Switch 1 12 RCLK Switch 2 13 OE Ground 14 SER Switch 3 16 VCC +5V Table 3 tn t0 t1 t2 t3 t4 t5 t6 t7 Q 1 0 0 0 1 0 0 0
  • 6. 6 Schematics Conclusion The experiment was half way successful when we were able to shift in values into the shift registers and make the motor goes one way. We were unsuccessful in making it goes
  • 7. 7 backward. Sources of failures and errors: our understanding of the shift registers and the Intergrated Circuits as a whole, the equipment failure, we have to switch out 2 protoboard and 3 chips because of malfunctions, human errors can also be included in the failure of this project.