Department of Computer Science and Information EngineeringNational Cheng Kung University, TAIWAN8255 HANEL
INTERFACINGStepper Motor Connection To The 8255
(cont
’) Figure 15-9. 8255 Connection to Stepper Motor
DecodingCircuitry
A2 A7D0 D7WRRDA0A1
From 8051ULN2003 Connection for Stepper MotorPin 8 = GNDPin 9 = +5V8255ULN2003Stepper Motor1 2 3 416 15 14 13COMCOM +5VUse a separate power supply for the motorD0 D7 A1A0 RESETCSPA0PA1 PA2
WRRDPA3