An Ultrasonic sensor has to be added hearby obstacle in cm. If the obstacle is at a measured distan with a red color and the Piezo buzzer v If the obstacle is at a measured distan then the RGB will be lit with a yellow c f the obstacle is at a measured dista green color and the Piezo buzzer will b de in the report: Project Code c language

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Description: Build an obstacle detection system using Arduino with the bellow requirements:
1- An Ultrasonic sensor has to be added to the Arduino board to measure the distance of a
nearby obstacle in cm.
2- If the obstacle is at a measured distance that is less than 30 cm then the RGB will be lit
with a red color and the Piezo buzzer will operate at 5000 HZ.
3- If the obstacle is at a measured distance between 30 cm and 60 cm (including 30 and 60)
then the RGB will be lit with a yellow color and the Piezo buzzer will operate at 3000 HZ.
4- If the obstacle is at a measured distance greater than 60 cm the RGB will be lit with a
green color and the Piezo buzzer will be off.
Include in the report:
Project Code c language.
Transcribed Image Text:Description: Build an obstacle detection system using Arduino with the bellow requirements: 1- An Ultrasonic sensor has to be added to the Arduino board to measure the distance of a nearby obstacle in cm. 2- If the obstacle is at a measured distance that is less than 30 cm then the RGB will be lit with a red color and the Piezo buzzer will operate at 5000 HZ. 3- If the obstacle is at a measured distance between 30 cm and 60 cm (including 30 and 60) then the RGB will be lit with a yellow color and the Piezo buzzer will operate at 3000 HZ. 4- If the obstacle is at a measured distance greater than 60 cm the RGB will be lit with a green color and the Piezo buzzer will be off. Include in the report: Project Code c language.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY