Question: Windshield wiper simulator Let us assume we have a windshield wiper with the following characteristics: Stop button Single wipe button Slow continuous wipe button Fast
Windshield wiper simulator
Let us assume we have a windshield wiper with the following characteristics:
Stop button
Single wipe button
Slow continuous wipe button
Fast continuous wipe button
Wiper position LEDs:
Left position home green LED L
@ Right position wipe red LED R
Fast
Slow
Single
Stop
The wiper has the following functions:
Poweron: no wiping Idle LEDs do not indicate wiper position change they are both off
Pressing button Single
wiper activates: LED turns delay wiper reaches right position: LED L turns off LED turns on s delay LED turns off and LED L turns ON delay wiper goes idle
Pressing button Slow
Loop activates in which the following events happen until Stop button is pressed
wiper activates: LED L turns ON and LED R turns OFF
s delay
wiper reaches right position: LED R turns ON and LED L turns OFF
s delay
Pressing button Fast
Loop activates in which the following events happen until Stop button is pressed
wiper activates: LED L turns ON and LED R turns OFF
s delay
wiper reaches right position: LED turns ON and LED L turns OFF
s delay
Pressing any other button than Stop during wiping in any mode wiping will change to the new mode after if the wiper is on home position. If it is not there, the mode will change after wiper has reached home position.
Simulate this system as a finite state machine in Arduino LEDS Normally Open pushbuttons.
Draw state diagram of this gearbox return diagram
Draw circuit of this simulator using TinkerCAD return circuit diagram
Write C program in Arduino for this simulator. return main.cpp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
