EKT222 Microprocessor System Northern Malaysia University College of Engineering
EKT222 Microprocessor System Northern Malaysia University College of Engineering
Lab 7
De s i g n Probl e m
Design a Washin g Machin e Spin Timer. Refer to the following algorit h m and the block diagr a m below: Set the tim e using the dip- switch ( Ma im u m !alu e is "" seco n d # The setting !alue will be displa $ on the se! e n seg m e n t The spin proc e s s will begin when the start butt o n is pres s and the n o o ST%RT the Motor (&'D ()# The displa $ !alue on the se! e n seg m e n t s start countin g down.
8255
Address Bus
O/P Port
Control Bus
M(T(R (&'D#
/lock Diagr a m