Question: Arduino Code Sonar Sensor 3. Review the materials given to you related to sonar sensor and study Lesson 35 of the Sunfounder Sensor Kit v2.0.

Arduino Code
Sonar Sensor 3. Review the materials given to you related to sonar sensor and study Lesson 35 of the Sunfounder Sensor Kit v2.0. Use a HC-SR04 sonar sensor, an 12C LCD, a buzzer and two LEDs to develop an application that simulates the warning system equipped in new cars that will do the following: a. When the sonar sensor registers a distance of 80 cm as displayed in the 12C LCD display, the first LED will turn on and the buzzer starts to generate warning sound with a certain rate. b. As the distance is reduced further the rate of the alarming sound increases to warn the driver that he is approaching the obstacle. Eventually when the distance reduces to 3 cm, the second LED will turn on and the buzzer generate the alarming sound with the highest rate. c. Upload a video clip to the blackboard's discussion forum. Sonar Sensor 3. Review the materials given to you related to sonar sensor and study Lesson 35 of the Sunfounder Sensor Kit v2.0. Use a HC-SR04 sonar sensor, an 12C LCD, a buzzer and two LEDs to develop an application that simulates the warning system equipped in new cars that will do the following: a. When the sonar sensor registers a distance of 80 cm as displayed in the 12C LCD display, the first LED will turn on and the buzzer starts to generate warning sound with a certain rate. b. As the distance is reduced further the rate of the alarming sound increases to warn the driver that he is approaching the obstacle. Eventually when the distance reduces to 3 cm, the second LED will turn on and the buzzer generate the alarming sound with the highest rate. c. Upload a video clip to the blackboard's discussion forum
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
