Professional Documents
Culture Documents
CONTENT
Introduction. Components. 8051 pin diag. description. Types of motors & their description. Interfacing description. L293D pin description. ULN2003/2004 pin description. 8051 interfacing using both L293D & ULN2003/2004
COMPONENTS
8051 microcontroller Types of stepper motors (unipolar and bipolar stepper motors ) Different controlling types (Half step and Full step) Interfacing techniques: Interface using L293D - H-Bridge Motor Driver Interface using ULN2003/2004 - Darlington Arrays
8051 MICROCONTROLLER
. Features of 8051 The main features of 8051 microcontroller are: RAM 128 Bytes (Data memory) ROM 4Kbytes (ROM signify the on chip program space) Serial Port Using UART makes it simpler to interface for serial communication. Two 16 bit timer/ Counter Input/output Pins 4 Ports of 8 bits each on a single chip. 6 interrupt Sources 8 bit ALU (Arithmetic Logic Unit)
STEPPER MOTORS
Stepper motor divide a full rotation into a large number of steps. Types of stepper motor(Two-phase stepper
motors)
I. Unipolar (two windings per phase) II. Bipolar(single winding per phase)
arrangement.
Space occupied less Powerful than a unipolar motor of the same weight.
DC MOTORS
DC motor translates electrical pulses into mechanical movement. DC motor only have + and leads. DC motor move in both clock & anticlockwise direction on change of polarity.
CONTD.
By determining pair of transistors current can be made to flow in either of the two directions in motor. Since permanent-magnet motors reverse their direction of turn when the current flow is reversed, this circuit allows bidirectional control of the motor.
Interfacing techniques
To interface a stepper motor to controller any of two can be used : Interface using L293D - H-Bridge Motor driver Interface using ULN2003/2004 - Darlington Arrays
INTERFACING TECHNIQUES
L293D
ULN2003/2004
ULN2003/2004
The ULN2001A, ULN2002A, ULN2003A, ULN2004A, ULQ2003A, and ULQ2004A are high-voltage, high-current Darlington transistor arrays. Each consists of seven npn Darlington pairs that feature high-voltage outputs with common-cathode clamp diodes for switching inductive loads
CONTD.
. The collector-current rating of a single Darlington pair is 500 mA. The Darlington pairs can be paralleled for higher current capability. Applications include relay drivers, hammer drivers, lamp drivers, display drivers (LED and gas discharge), line drivers, and logic buffers. For 100-V (otherwise interchangeable) versions of the ULN2003A and ULN2004A
In this circuit the four pins "Controller pin 1,2,3 and 4 will control the motion and direction of the stepper motor according to the step sequence sent by the controller
THANK YOU
THE END