3.1 Reversing Aid


With the development of science and technology, a lot of high-tech products have been installed in cars, among which the reversing assist system is one of them. Here we use ultrasonic sensors, LCD, LED and buzzer to make a simple ultrasonic reversing assist system.

Fritzing Circuit

In this example, the wiring is shown below.


Schematic Diagram




  • You can open the file 3.1_reversingAid.ino under the path of sunfounder_vincent_kit_for_arduino\code\3.1_reversingAid directly.

  • Or copy this code into Arduino IDE 1/2.

  • Then Upload the Code to the board.

  • Please make sure you have added the LiquidCrystal_I2C library, detailed tutorials refer to Add Libraries.

Example Explanation

In this project, we need to avoid the interference between the LCD screen and the alarm system as much as possible (for example, the LED flicker time is too long and the LCD refresh is delayed), so please avoid using the delay() statement and use two separate intervals to control the working frequency of the LCD and alarm system respectively. Its workflow is shown in the flow chart. For analysis of Interval function, refer to 1.11 Interval.


Phenomenon Picture