Ultrasonic Home Security System (Cameran)

A simple security system using an ultrasonic sensor to sound an alarm when an "intruder" is detected, A valid passcode disables the alarm.

Jul 9, 2022

4976 views

1 respects

Components and supplies

1

Breadboard (generic)

4

Resistor 10k ohm

2

5 mm LED: Red

1

Buzzer

1

Ultrasonic Sensor - HC-SR04 (Generic)

1

Arduino UNO

6

Resistor 220 ohm

1

5 mm LED: Yellow

4

Tactile Switch, Top Actuated

1

USB-A to B Cable

1

Jumper wires (generic)

2

5 mm LED: Green

Apps and platforms

1

Arduino IDE

Project description

Code

Cameran

arduino

Downloadable files

cameran_schematic_CLZwLi4MQr.jpeg

This is the board setup. Keep in mind that the 10k resistors are connected to the buttons, while the 220 resistors are connected to the LEDs and to the GND wire of the Ultrasonic sensor.

cameran_schematic_CLZwLi4MQr.jpeg

cameran_schematic_CLZwLi4MQr.jpeg

This is the board setup. Keep in mind that the 10k resistors are connected to the buttons, while the 220 resistors are connected to the LEDs and to the GND wire of the Ultrasonic sensor.

cameran_schematic_CLZwLi4MQr.jpeg

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

I keep getting an error message on line 1. How did you get the pitches.h library? I looked it up on the Library Manager and could not find it.