Question: C . Robot Car with a Sonar Sensor Review the materials given to you related to Car project with sonar sensor . Use the Robot

C. Robot Car with a Sonar Sensor
Review the materials given to you related to Car project with sonar sensor. Use the Robot Car you assembled, along with an I2C LCD, and a buzzer to develop an application that can accomplish the following:
a. Jack up the car using a block, so it will not move when the two wheels spin. Power the car so the two wheels move forward at full speed when an obstacle is more than 60 cm away from the car as detected by the sonar sensor. The I2C LCD should display "Obstacle Far Away".
b. When an obstacle is within 60 to 20 cm of the car, the car speed reduces to half, and the LCD displays "Obstacle Detected".
c. When an obstacle is less then 20 cm , the car stops, the buzzer generates an alarming sound, and the LCD displays "Car Stopped".
show the wiring picture
C . Robot Car with a Sonar Sensor Review the

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 Mechanical Engineering Questions!