08-01-2013, 03:03 PM
MICROCONTROLLER BASED SYSTEM DESIGN
AIM:
To interface a stepper motor with 8051 micro controller and operate it.
APPARATUS REQUIRED:
1.8051 micro controller kit
2. Stepper motor
3. Interface card
THEORY:
A motor in which the rotor is able to assume only discrete stationary angular position is a stepper motor. They are used in printer, disk drive process control machine tools etc.
Two-phase stepper motor has two pairs of stator poles. Stepper motor windings A1, A2, B1, B2 are cyclically excited with a DC current to run the motor in clockwise direction and reverse phase sequence A1, B2, A2, B1 in anticlockwise stepping
RESULT:
Enter the above program starting from location 4100 and execute the same, stepper motor rotates. Varying the count at R4 and R5 can vary the speed. Entering the data in the look-up TABLE in the reverse order can vary the direction of rotation.