Page 1 of 1

Vehicles stop automatically when a traffic light turns red but a driver doesn't apply brakes. Use two LEDs and one butto

Posted: Thu May 26, 2022 10:07 am
by answerhappygod
Vehicles stop automatically when a traffic light turns red but a
driver doesn't apply brakes. Use two LEDs and one button. Assume
that the button is a brake pedal, a red LED is a red traffic light,
a yellow LED is a self-brake system. When the traffic light turns
red your system monitors if a driver applies a brake within two
seconds. If no brake is applied within two seconds, the yellow LED
turns on, which indicates the vehicle activates a self-brake
system. Design an electric circuit with necessary components
required for the system and write pseudocode for the same by
explaining the ideology/principle of working of the system
designed.