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:
Power-on: no wiping (Idle)> LEDs do not indicate wiper position change (they are both off)
Pressing button Single
wiper activates: LED L turns ON1s delay wiper reaches right position: LED L turns off LED R turns on 1 s delay LED R turns off and LED L turns ON 0.3s 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
2 s delay
wiper reaches right position: LED R turns ON and LED L turns OFF
2s 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
0.75 s delay
wiper reaches right position: LED R turns ON and LED L turns OFF
0.75 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 +2 LEDS +4 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
Windshield wiper simulator Let us assume we have

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!