Question: (a) Create an executable assembly program to operate the right and left turn signals of a car using an 8051 microcontroller system. If the active

(a) Create an executable assembly program to operate the right and left turn signals of a car using an 8051 microcontroller system. If the active high right tuin switch connected to PO.O is activated, a set of 8 LEDs connected to P1 in active high mode will blink (on and off) at the same time, with a blink interval equivalent to a full delay capacity RO register time by two. On the other hand, if an active high left tuin switch connected to P0.7 is activated, a set of 8 LEDs connected to P2 in active high mode will blink with the same blink interval. However, if either switch is not activated, both sets of LEDs must be off. [15 marks] (b) Draw a concise flow chart for the microcontroller-based car signal light program codes that you have designed in 3(a). [5 marks] (C) Sketch a schematic diagram showing all components with correct labels and connections for the microcontroller-based car signal light system you have just created [5 marks] (a) Create an executable assembly program to operate the right and left turn signals of a car using an 8051 microcontroller system. If the active high right tuin switch connected to PO.O is activated, a set of 8 LEDs connected to P1 in active high mode will blink (on and off) at the same time, with a blink interval equivalent to a full delay capacity RO register time by two. On the other hand, if an active high left tuin switch connected to P0.7 is activated, a set of 8 LEDs connected to P2 in active high mode will blink with the same blink interval. However, if either switch is not activated, both sets of LEDs must be off. [15 marks] (b) Draw a concise flow chart for the microcontroller-based car signal light program codes that you have designed in 3(a). [5 marks] (C) Sketch a schematic diagram showing all components with correct labels and connections for the microcontroller-based car signal light system you have just created [5 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
