Home » Home Security Devices » Magnetic Door Security Alarm Circuit for Alerting if Door was Opened

Magnetic Door Security Alarm Circuit for Alerting if Door was Opened

The door security alarm circuit discussed in this article alerts the user whenever the door fitted with the circuit is opened or closed or even moved from its original locked position.

Using a Reed Relay and Magnet for the Triggering

The idea utilizes the very basic reed relay and magnet concept across the door and the door frame. The magnet is attached with the door edge, while the reed relay and its associated circuit is fixed on the door frame exactly adjacent to the door magnet, such that both are almost touching each other and separated only by the door and frame clearance.

Reed switch and magnet Installation on Door

This implies that whenever the door is moved or opened the magnetic influence on the reed relay is inhibited, which causes the associated circuitry to trigger the alarm.



The reed relay is connected with a delay OFF timer circuit, which makes sure that as soon as the door is opened or closed even for a fraction of a second causes the alarm to activate and sound for at least a few 10s of seconds, after which it automatically resets, until the door is moved yet again.

 

Magnetic Door Security Alarm Circuit

How it Works

The arrangement can be seen in the above diagram which shows how the door open close alarm circuit needs to be configured which appears pretty straightforward.

As long as the door remains in the closed position, the magnet enables the reed in the switched ON or "closed" position, which in turn keeps the PNP BC557 switched OFF.

With BC557 switched OFF, the 2N2222 is also unable to conduct, and thus the connected alarm module continues to be silent.

However in a situation where the door is moved or opened by an intruder, causes the the magnet to shift from its original position, which instantly opens and releases the reed internal contacts.

The above action now enables the BC557 to conduct, subsequently enabling the 2N2222 also to trigger and ultimately switch ON the connected alarm unit.

The intruder realizes this and tries to close the door in an attempt to shut off the alarm, however due to the presence of the 1000uF capacitor, and the 22K resistor at the base of the 2N2222, the transistor continues to conducts ensuring that the alarm is not switched off even though the door is restored at its initial position....thus the alarm stays latched ON and continues to raise the alarm forcing the intruder to surrender himself, until the 1000uF capacitor has discharged completely.

This little inexpensive yet highly efficient door opening alarm circuit can be used for securing any desired entrance from a possible intrusion without the need of a constant monitoring or without a guard in position.

SHARING IS CARING!


About the Author

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials. If you have any circuit related query, you may interact through comments, I'll be most happy to help!



13 thoughts on “Magnetic Door Security Alarm Circuit for Alerting if Door was Opened”


  1. Howdy, Friend! Interested to Learn Circuit Designing? Let's Start Discussing below!
  2. Hello Sir,

    On Door Security Alarm Circuit.

    1. How would I calculate the size of Resistor and Capacitor to give an approximate ON time of 10 minutes once the alarm has been activated

    2. What is the maximum safe current the transistors BC557 and 2N2222 can carry

    Any advice will be welcomed

    • Hello David,

      I am sorry I do not have the formula for RC network, you will have to find the right value through practical testing. By the way 10 minutes is not feasible in the above design unless you add another transistor in it…

    • Hi, Jonathan, breadboard is not recommended for such a basic and a small design, you must use a strip board and solder the parts instead…

  3. Sir please help me I want a timer circuit it will Turn the relay on 15 second And Turn the relay OFF 15 Seconds Continiusly

  4. Hi sir, i wanted to ask you if it is possible to build an homemade flashdrive( i.e any storage device) or not. And pls i need your help.

Leave a Comment

Do NOT follow this link or you will be banned from the site!