Arduino HC-SR04 security alarm

Arduino HC-SR04 security alarm will alert you if anyone comes in front of it by turning on a buzzer. It is an easy to make fun project that you can build in 30 minutes or so. Lets get started !!

Step 1: Materials required

Arduino HC-SR04 security alarm
Arduino HC-SR04 security alarm
Arduino HC-SR04 security alarm
Arduino HC-SR04 security alarm
Arduino HC-SR04 security alarm

1. Arduino UNO

2. HC-SR04 Ultrasonic distance sensor

3. Buzzer

4. Breadboard

5. Wires

6. Arduino USB cable

7. Computer with arduino IDE

Step 2: Wiring

Arduino HC-SR04 security alarm

HC-SR04

Vcc - 5v

Gnd - Gnd

Trig - 13

Echo - 12

Buzzer

Vcc - 11

Gnd - Gnd

Step 3: Programming

Arduino HC-SR04 security alarm

It is not necessary to switch on a buzzer, you can switch on different things for example you can switch on your computer when you sit in front of it by using a relay or you can play a prank with it. You can change the code and try different things.

Arduino HC-SR04 security alarm
HC-SR04_Security_alarm.ino538 bytes
 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel