• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos | Circuits for Beginners | Basic Circuits | Hobby Projects | Transistor Circuits | LED Drivers 

You are here: Home / Security and Alarm / Magnetic Door Security Alarm Circuit for Alerting if Door was Opened

Magnetic Door Security Alarm Circuit for Alerting if Door was Opened

Last Updated on April 12, 2022 by Swagatam 19 Comments

caution electricity can be dangerous

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

Parts List

  • Resistors 1/4 watt 5%
  • 10K = 1
  • 22K = 1
  • Capacitor Electrolytic
  • 1000uF/25V = 1
  • Transistors
  • BC557 = 1
  • 2N2222 = 1
  • Alarm = Any piezo alarm siren unit

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.

You'll also like:

  • 1.  Infrared Intruder Alarm Circuit using Photodiodes
  • 2.  Key Finder or Pet Tracker Circuit
  • 3.  DIY Taser Gun Circuit – Stun Gun Circuit
  • 4.  Laptop Anti-theft Security Alarm Circuit
  • 5.  Simple Ultrasonic Sound Sensor Alarm Circuit using Opamp
  • 6.  Photodiode, Phototransistor – Working and Application Circuits

About Swagatam

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!

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Brian says

    December 20, 2022

    Hi there great little circuit. Instead of using the reed relay this could be hooked up to either the dome light or door open lamp indicator on the dash as an effective car alarm. Am I correct in saying that. Also using a higher rated capacitor would that keep the alarm sounding longer until discharged.
    I could be wrong and I apologise for my lack of knowledge but are learning. Just wanting to build a simple but effective vehicle alarm.

    Reply
    • Swagatam says

      December 20, 2022

      Hi, you are absolutely right with your assumptions. That would certainly work.
      You can tweak the 1000uF capacitor or the 22K resistor or both to optimize the output time delay, as desired.

      Reply
  2. jim Wiggs says

    March 7, 2020

    I read your artical on magnetic switch alarm What im doing is setting up a 12 volt door alarm and need to know what timer I need. I want the alarm to remain on for a set time after switch is tripped even if door is closed and switch is reset I need the alarm to continue for preset time. Would a simple time delay switch work?

    Reply
    • Swagatam says

      March 7, 2020

      The mentioned feature is already included in the design. The 1000uF capacitor ensures that the alarm runs for some time even after the door is closed

      Reply
  3. Revanth says

    November 2, 2019

    What is the use of transistor and why it generates low frequency
    Pls solve my query

    Reply
    • Swagatam says

      November 2, 2019

      transistors are not generating any frequency, the alarm is supposed to have built inbuilt oscillator.

      Reply
  4. David Birchall says

    December 14, 2017

    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

    Reply
    • Swagatam says

      December 15, 2017

      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…

      Reply
    • Swagatam says

      December 15, 2017

      BC557 can handle 100ma, 2N2222 1Amp on heatsink

      Reply
  5. Jonathan Forson says

    May 22, 2017

    hi sir, can u please help me out with a breadboard version of the door alarm circuit

    Reply
    • Swagatam says

      May 22, 2017

      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…

      Reply
  6. Sharoj Al Hasan says

    October 10, 2016

    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

    Reply
  7. debasisneogi says

    October 4, 2016

    Sir would you please discuss remote controlled calling bell next,? If you do it will be very helpful. Regards.

    Reply
    • Swagatam says

      October 5, 2016

      Debasis, I already have it in my website you can search it through the search box…

      Reply
  8. Chisom Kester says

    October 3, 2016

    Thank you sir for this circuit

    Reply
    • Swagatam says

      October 4, 2016

      you are welcome Chisom

      Reply
    • Unknown says

      October 23, 2016

      Sir… Can u please help me out with a project proposal on DOOR OPEN CLOSE ALARM CIRCUIT.

      Reply
  9. Tun says

    October 2, 2016

    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.

    Reply
    • Swagatam says

      October 3, 2016

      Hi Tun, according to me it's not possible…

      Reply

Primary Sidebar

Calculators

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (114)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (100)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (116)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (13)
  • GSM Projects (9)
  • Health Related (20)
  • Heater Controllers (29)
  • Home Electrical Circuits (102)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LED and Light Effect (93)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (65)
  • Mini Projects (148)
  • Motor Controller (67)
  • MPPT (7)
  • Oscillator Circuits (26)
  • PIR (Passive Infrared) (8)
  • Power Electronics (34)
  • Power Supply Circuits (77)
  • Radio Circuits (10)
  • Remote Control (48)
  • Security and Alarm (61)
  • Sensors and Detectors (120)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (16)
  • Water Level Controller (45)

Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2023 · Swagatam Innovations