A Tiny Alarm System Using a Tiny Arduino Compatible Board!

This is a project for a simple and tiny alarm system. It reads the distance between itself and an object facing it, and beeps accordingly.

Jul 1, 2018

962 views

1 respects

Components and supplies

1

Solderless Breadboard Half Size

1

Jumper wires (generic)

1

Resistor 330 ohm

1

Buzzer

1

LED (generic)

1

9V battery (generic)

1

PICO

1

Ultrasonic Sensor - HC-SR04 (Generic)

Project description

Code

Ultrasonic sensor only code

c_cpp

This is the Arduino code for the ultrasonic sensor only.

Buzzer and Ultrasonic Sensor Code

c_cpp

This is the same code for the ultrasonic sensor, with the code for the buzzer added

Ultrasonic sensor only code

c_cpp

This is the Arduino code for the ultrasonic sensor only.

Buzzer and Ultrasonic Sensor Code

c_cpp

This is the same code for the ultrasonic sensor, with the code for the buzzer added

Finished Project Code

c_cpp

This is the final code for the project. It contains the code for all of our components.

Comments

Only logged in users can leave comments