MellBell Electronics
Published © CC BY-SA

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.

BeginnerFull instructions provided27 minutes595
A Tiny Alarm System Using a Tiny Arduino Compatible Board!

Things used in this project

Hardware components

PICO
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Buzzer
Buzzer
×1
LED (generic)
LED (generic)
×3
Resistor 330 ohm
Resistor 330 ohm
×4
Jumper wires (generic)
Jumper wires (generic)
×12
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1
9V battery (generic)
9V battery (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Ultrasonic Sensor Connection

This is the schematic for the ultrasonic connected to the PICO

Code

Ultrasonic sensor only code

C/C++
This is the Arduino code for the ultrasonic sensor only.
No preview (download only).

Buzzer and Ultrasonic Sensor Code

C/C++
This is the same code for the ultrasonic sensor, with the code for the buzzer added
No preview (download only).

Finished Project Code

C/C++
This is the final code for the project. It contains the code for all of our components.
No preview (download only).

Credits

MellBell Electronics
2 projects • 2 followers
We want to provide makers with great content, along with our products, to give them the ability to build anything they want.
Contact

Comments

Please log in or sign up to comment.