Introduction: Arduino Laser Alarm
- 1X 5v Buzzer
- 1X 3v LED (Any colour)
- 1X 10K resitor
- 1X 1k resitor
- 1X photoresistor
- 1X laser
- 1X Arduino (any board)
- 1X breadboard
- 1+ jumper wires
Things you may want to add:
- siren light
- relay to control any thing
Step 1: Breadboard:
First make sure your Arduino is turned OFF.
Plug two jumper wires into the power row on the breadboard, plug one end of the Buzzer into GND and the other into Pin 7.
The led is plugged into GND and Pin 13 with a 1K resistor and the Photoresistor into GND and the other end has a 10K resistor is plugged into 5v.
Then plug in a jumper wire from the same pin were the Photoresistor and 10K resistor meet into Pin AO.
Step 2: Upload Code to Arduino
Plug your board into your computer and upload.
You may need to adjust the code to work with your lighting.
Step 3: Things You May Want to Add
Take your light apart and remove all unneeded things inside and glue an LED in and plug the wires into were it was before.
Plug your relay into GND, 5v and Pin12
The code for relay and a servo is above
Place the laser some were then place a mirror were the laser shines and do this till you like it, But make sure to aim it at the Photoresistor at the end.
Step 4: Setup
Place the laser some were and aim it at the Photoresistor.
Turn one your Arduino and your done!