Door Alarm Sensor (Wired)

Protect your home with a simple magnetic sensor and alarm with an arduino uno.

Jun 18, 2020

7017 views

2 respects

Components and supplies

3

Resistor 330 ohm

1

Jumper wires (generic)

1

Arduino UNO

1

Breadboard (generic)

1

Resistor 10k ohm

1

5 mm LED: Red

1

Buzzer, Piezo

1

5 mm LED: Yellow

1

Reed Switch, Magnet Switch Set

Tools and machines

1

Solder Wire, Lead Free

1

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

avalosservando23

0 Followers

0 Projects

Table of contents

Intro

2

0