2 Minute Ultrasonic Alarm

by Robotix_au in Circuits > Arduino

2830 Views, 46 Favorites, 0 Comments

2 Minute Ultrasonic Alarm

2 min Ultrasonic Alarm
Ultrasonic Schematic.PNG

The ultrasonic sensor works by sending out sound waves and counting how long it takes for them to come back ( having been reflected from the nearest object.

In this circuit the ultrasonic sensor HC-SR04 plugs straight in to the Arduin, with pins 7 and 4 being used and GND and Vcc. The distance is calculated and every time the distance is less than a given threshold an alarm is raised, thus turning on an LED and a buzzer

Componentsused:

•Arduino Uno

•5mm LED

•Piezo Buzzer

•Ultrasonic Sensor HC-SR04