Introduction: Laser Trip Sensor
An alarm that triggers a siren sound an police lights when the beam of light is interrupted. I wanted to create something similar to the awesome laser alarms seen in action films and video games.
Step 1: COMPONENTS AND SUPPLIES
In this project you are going to need,
Arduino- Arduino Uno Rev3
Breadboard- MCBB400
Resistors (x3)- Through Hole Resistor, 330 ohm,
5mm LED: Any- Red Led
Jumper wires- Premium Male/Male Jumper Wires
Buzzer- Amazon Buzzers
Pushbuttons- Amazon Pushbuttons
Photoresistors(LDR) LDR
A laser or your phones flashlight
Step 2: Code for This Circuit
This an amazing and simple code. It uses no new librays, already have values of the wires in it also if you fallow the scemtic below you will have no issues running this code. It has 2 void setups and void loops and everything is under an if loop.
Attachments
Step 3: Laser Trip Schematic
Now we have our code uploaded to our arduino we are onto the fun part! We're going to now build our circuit. This schematic is nice and easy also all the ports match the code. This thinkercad file is easy to acess.
Step 4: Putting It Together
If you try this project out I'm sure you'll enjoy it due to how simple it is and cool at the same time. Here are some pictures of what I built.