All Projects / Automation / Laser Alarm!
Laser Alarm!
0 votes
Sign In to add your vote
DOWNLOAD NOW!
DIFFICULTY
DESCRIPTION
Just like in the movies. If you break the beam... ALARM!!! When you plug it in, you have 15sec to aim the laser at the light sensor. Then the laser will go out if the switch is off. The switch turns it on. If you try to turn it off without putting a magnet in front the magnetic sensor, it won't turn off. If you try to turn it off with the magnet after the switch is off, it wont turn off. You can only turn it off with the magnet while the switch is on.
This is Version 1.0. As you can tell from the setup code, I'm trying to get it to self calibrate... Any help?
THE CODE
Setup
Main Program
WHAT YOU NEED
1:
Switch

2:
Light Sensor

3:
Magnetic Sensor

4:

5:

A:
Speaker

B:
Laser

C:

D:

E:

CREDITS
Built by
Craig Bilodeau
Posted by
Craig Bilodeau
Views
2236
Downloads
145