Title: STEPPER MOTOR CONTROL USING HC11 MICROCONTROLLER
1STEPPER MOTOR CONTROL USING HC11 MICROCONTROLLER
- Project Presentation for ELET 5300
- Dr. C.Wu Instructor
- Presented by
- Sriteja Tarigopula
- 04/23/03
2STEPPER MOTOR CONTROL USING HC11 MICROCONTROLLER
- Project Presentation for ELET 5300
- Dr. C.Wu Instructor
- Presented by
- Sriteja Tarigopula
- 04/23/03
3Stepper Motor Control using HC11
Microcontroller Problem Statement
- To calculate the speed of a simple motor and
displaying the speed using a seven-segment
display using a HC11Microcontroller from Motorola
4Stepper Motor Control using HC11
MicrocontrollerHardware Requirements
- Stepper Motor (1)
- HC11 EVB (1)
- Seven Segment Display (1)
- 25K O potentiometer (1)
- ULN-2075B Motor Driver IC (1)
5Stepper Motor Control using HC11
MicrocontrollerCIRCUIT DIAGRAM
6Stepper Motor Control using HC11
MicrocontrollerLED Connections
7Stepper Motor Control using HC11
MicrocontrollerSubroutines
- INIT Subroutine.
- TURN Subroutine.
-
8Stepper Motor Control using HC11
MicrocontrollerSubroutines (Contd)
- READAD Subroutine
- ADTCL Register
9Stepper Motor Control using HC11
MicrocontrollerSubroutines (Contd)
- Channel Selection When Bit 41
10Stepper Motor Control using HC11
MicrocontrollerSubroutines (Contd)
- READAD Subroutine
- OPTION Register
11Stepper Motor Control using HC11
MicrocontrollerSubroutines (Contd)
- COMPSD Subroutine.
- DISPLAY Subroutine.
12Stepper Motor Control using HC11
MicrocontrollerModified Circuit Diagram
13Stepper Motor Control using HC11
MicrocontrollerCoil Winding Diagram for J835L
PM 24P
14Stepper Motor Control using HC11
MicrocontrollerNormal 4 Step sequence
Cloclwise Step Winding A Winding B Winding C Winding D Counter Clockwise
1 1 0 0 1
2 1 1 0 0
3 0 1 1 0
4 0 0 1 1
15Stepper Motor Control using HC11
MicrocontrollerSubroutines
- INIT Subroutine.
- TURN Subroutine.
- READAD Subroutine.
- COMPSD Subroutine.
- DISPLAY Subroutine.
16Stepper Motor Control using HC11
MicrocontrollerApplications
- Robotic Controllers.
- Turning Machine Tools.
- Shaft Positioning Control Systems.
17Stepper Motor Control using HC11
MicrocontrollerReferences
- Data Acquisition and Process Control with M68HC11
microcontroller by Driscoll, Coughlin,Villanucci. - Design of Embedded Systems using 68HC12/11
microcontrollers by Richard E.Haskell. - www.motorola.com
18Thank you