Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Managerial Accounting Hc 2002 Text Only

Authors: Folk

1st Edition

0071123350, 978-0071123358

More Books

Students also viewed these Accounting questions

Question

How well does the team resolve differences of opinion?

Answered: 1 week ago