This simple circuit and program listing allows the Maximite microcomputer (SILICON CHIP, March-May 2011) to control a stepper motor. It could be expanded to allow for the control of multiple motors, with four of the Maximite’s external I/O pins used to control each motor with identical driver circuits. A ULN2003 Darling ton transistor array (IC1) switches current through the stepper motor’s two winding
in either direction. When one of the four Maximite output pins (8, 12, 16 & 20, corresponding to I/Os 19, 17, 15 & 13) goes high, the corresponding output pin on IC1 goes low, sinking current through a motor winding. Conversely, when these pins are high, the corresponding Darlington transistor is off and so no current flows through that portion of the winding.
in either direction. When one of the four Maximite output pins (8, 12, 16 & 20, corresponding to I/Os 19, 17, 15 & 13) goes high, the corresponding output pin on IC1 goes low, sinking current through a motor winding. Conversely, when these pins are high, the corresponding Darlington transistor is off and so no current flows through that portion of the winding.
0 comments:
Post a Comment