Part list:

  • Ultrasonic sensor
  • Pezo (I used a big one)
  • Some wires

OK, lets begin.

Step 1: Connect the Ultrasonic Sensor and Pezo

Trig pin to pin 4, echo pin to pin 3 and pezo positive pin to pin 12.

Step 2: Code

Download the code form here:

Step 3: Finished

About This Instructable




More by hrhofkhan:DHT11 Humidity sensor with a lcd display easy!! security alarm Laser detector or sensor for arduino Beginner  Breath analyzer with OLED lcd and MQ3 gas sensor 
Add instructable to: