Microprocessor and Microcontroller
Fig. 2.19 Stepper motor control circuit
Stepper
8255Lines Stepper Motor PWR Select
Motor (5V)
COIL-A PA.0
COIL-B PA.1
STEPPER COIL-C PA.2
MOTOR
COIL-D PA.3
Fig. shows the typical 2 phase motor rated 12V/0.67 A/ph interfaced with
the 8085-microprocessor system using 8255. Motor shown in the circuit has
two phases, with center-tap winding. The center taps of these windings are
connected to the 12V supply. Due to this, motor can be excited by grounding
four terminals of the two windings. Motor can be rotated in steps by giving
proper excitation sequence to these windings. The lower nibble of port A of the
8255 is used to generate excitation signals in the proper sequence. These
excitation signals are buffered using driver transistors. The transistors are
selected such that they can source rated current for the windings. Motor is
rotated by 1.80 per excitation.
85