Components and supplies
Resistor 330 ohm
Jumper wires (generic)
Arduino UNO
Breadboard (generic)
Resistor 10k ohm
5 mm LED: Red
Buzzer, Piezo
5 mm LED: Yellow
Reed Switch, Magnet Switch Set
Tools and machines
Solder Wire, Lead Free
Soldering iron (generic)
Project description
Code
Door Alarm Sensor Code
arduino
Door Alarm Sensor Code
arduino
Downloadable files
Door Alarm Sensor Setup
The yellow LED remains on all the time. The red LED blinks and the buzzer sounds when the door is opened/ alarm is triggered. The alarm does not stop until you press the reset button on the arduino or disconnect from power. I used a Wemo plug to set the time that I want the alarm to be on and to have easier access to an OFF switch in case the alarm sounds.
Door Alarm Sensor Setup
Comments
Only logged in users can leave comments
kyanl00
2 years ago
I'm glad this works because I didn't have too much hope for this.