Texts: Case Study:
You are required to develop hardware and software interfacing for a vehicle reverse sensing system using the TINKERCAD simulator software. The system will alert the driver when the vehicle is in reverse condition. You must use:
- A 3-pin ultrasonic distance sensor for whose matrix number is EVEN NUMBERS.
- A 4-pin ultrasonic distance sensor for whose matrix number is ODD NUMBERS.
- A buzzer and an RGB LED in the system.
The Vehicle Reverse Sensing System works on the following conditions:
Condition 1: Serial Monitor displayed: Distance in cm. Distance less than 25cm. Serial Monitor displayed: DANGER - YOU ARE TOO CLOSE. RED LED: ON. Buzzer: ON continuously.
Condition 2: Distance between 25cm to 50cm. Serial Monitor displayed: Distance in cm. Serial Monitor displayed: CAUTION - WATCH YOUR DISTANCE. YELLOW LED: BLINKING. Buzzer: ON intermittently.
Condition 3: Distance above 50cm. Serial Monitor displayed: Distance in cm. Serial Monitor displayed: SAFE - MAINTAIN YOUR DISTANCE. GREEN LED: ON. Buzzer: OFF.
Instructions:
1. Develop a vehicle reverse sensing circuit by using Arduino Uno as the main controller.
2. Perform the circuit assembly using the required Input/Output components in TINKERCAD Simulator.
3. Develop a program using a high-level programming language to control the system operation as stated in the case study.