1)When start up, the hardware initializes, the LCD1602 displays the interface we set before.

2)When the Ultrasonic Module detects that the distance is larger than the maximum, the loudspeaker does not alarm.

3)When the Ultrasonic detects the distance is smaller than the maximum, the loudspeaker alarms.

4)Use the ISD1802 Voice Module to change the alarm voice content.

5)Use the LCD1602 to display the distance between the Ultrasonic Module and measured object.

Code for reference:

Step 1: Component lists:

1.1×ICStation ATMEGA328 UNO V3.0 R3 Board Compatible Arduino UNO R3

2.1×830 Point Solderless PCB Bread Board MB-102 Test DIY

3.18×Breadboard Plug Wire Cable Tire

4.1×5V Power Supply

5.1×For Arduino Ultrasonic Module HC-SR04 Distance Transducer Sensor

6.1×8Ω 0.5W Small Trumpet 36mm Diameter Loudspeaker

7.1×ISD1820 Voice Board Sound Recording Module on-board Microphone

8.1×1602A HD44780 Character LCD Display Module LCM Blue Backlight

Step 2: Schematic diagram

Step 3: Connect the 5V Power Supply and the GND of the ICStation UNO to the Bread Board.

The red line is for power supply, the black one is for GND.

Step 4: Connect the 1602LCD to the Bread Board.

Step 5: Connect the 1602LCD to the ICStation UNO.

Step 6: Connect the Ultrasonic Module to the Bread Board.

Step 7: Connect the ISD1802 Voice Module.

Step 8: Connect the loudspeaker.

Step 9: Video to show effect