0.0
![3.png](/proxy/?url=https://content.instructables.com/F42/EOXF/JDKKF1MD/F42EOXFJDKKF1MD.png&filename=3.png)
This is an alarm created from an Arduino using 3 LEDs, a Speaker, and a Ultra Sonic Sensor!
From 5-25cm everything goes off along with police siren sound
26-50cm one of the LEDs will flash and dull sound will play
51-200 one of the LEDs will flash and a very faint sound will play
Add Speaker and +/- Wires
![1.png](/proxy/?url=https://content.instructables.com/F4R/W8ZS/JDKKF1LP/F4RW8ZSJDKKF1LP.png&filename=1.png)
1. Add postive and negative jumper wire sGND(-) and 5V(+) from the Arduino to the bread board
2. Connect Speaker using the negative to negative, and positive to pin 4
Add 3 LEDs to the Breadboard
![2.png](/proxy/?url=https://content.instructables.com/FK7/A0WW/JDKKF1LR/FK7A0WWJDKKF1LR.png&filename=2.png)
`1.Connect 3 LEDs in a row on the breadboard for easy wiring
2. Connect the negative jumper wire to the breadboard then to the LED negative side (As shown)
3 Connect a 220 Ohm resister to the positive side of the LEDs
4.Connect a jumper wire from the resistor to the arduino usings pins 5,6,7
WARNING: MAKE SURE THE POSITIVE IS THE LONGER SIDE OF THE LED
Connect the Ultra Sonic Sonar
![3.png](/proxy/?url=https://content.instructables.com/FQR/8P1Y/JDKKF1VO/FQR8P1YJDKKF1VO.png&filename=3.png)
1. Connect VCC to positive terminal breadboard
2. Connect GND to ground terminal on breadboard
3. Connect Echo to pin 9
4. Connect Trig to pin 8
That's it! Upload the code and you're secure!