element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
John Wiltrout's Blog Specialized Old Man Proof Basement Door Alarm
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jw0752
  • Date Created: 3 Sep 2018 4:13 AM Date Created
  • Views 995 views
  • Likes 12 likes
  • Comments 13 comments
Related
Recommended

Specialized Old Man Proof Basement Door Alarm

jw0752
jw0752
3 Sep 2018

For a couple weeks I had been on a roll with respect to leaving the basement door exit to the garage open. My shop is in the basement of my home and there are two ways to get into and out of it. The first way is a doorway and stairs from the kitchen area. The second way is a door and stairway up to the garage. It seems that I have gotten into the habit of going out the door leading to the garage with the intention to return immediately. The door itself has a school lock which automatically locks when closed and must always be opened with a key. This solved another problem when I first installed it which involved the younger me forgetting to lock it. Now it is a pain to always have to dig for my keys so, for short trips, I often just leave it ajar. Once in the garage the steady stream of life's distractions grabs me and I have proof that at least three times in a two week period I did not return to the basement through the ajar door. This makes me angry as it leaves the house unprotected from critters, mice to men.

 

I decided that solving this problem would make a good project. What I needed was a door alarm that would sound whenever the door was opened. My mind then went to the times when things are carried into and out of the basement, often taking multiple trips. The steady blaring of an alarm would not be acceptable for this situation. So I would need a way to kill the alarm when it was necessary to leave the door open while things are carried into or out of the basement. This also presented a problem however as I know if I had an on off switch on the alarm I would forget to rearm it and I would again find that the door has been left ajar and the alarm turned off. My final plan was to make an alarm circuit that would sound whenever the door is opened but to also have a button that I could push with a 10 minute timer that would suspend the alarm. After the timer timed out the alarm would again sound until the door is closed or the suspend button is again pushed. This seemed like a good compromise.

 

It was my plan to secretly build this project and not tell any of my friends on element 14. First off, the need of such a device isn't that flattering and secondly it is a very simple project and not likely to be of any inspiration to anyone. The unit has been built and has worked very well since the basement door has remained closed and locked for a couple weeks now. Tonight I changed my mind and decided to share the build of the alarm with element 14 anyway. For one thing you all already know most of my weaknesses and secondly it isn't any simpler that the rest of the things that I post here.

 

Here is the schematic for the circuit that I cooked up.

 

image

IC B is a 555 timer set up as an astable timer with a 20% duty cycle. It is cycling at about a half Hz. The output of this 555 drives Q2 which is an N Ch MOSFET and this in turn powers two piezo buzzers. There is one buzzer on the unit itself and the other is outside on the door frame. I wanted the sound to be audible to the basement and the garage.

 

IC A is another 555 timer set up as a monostable timer also called a one shot. This timer when triggered produces a high level at the output pin for approximately 10 minutes and then resets. The output from the 555 drives a small Red/Blue integrated flasher LED and the gate of Q3 which is another N Ch MOSFET. Q3 sits parallel to the magnetic reed switch on the door so that it produces the illusion to the rest of the circuit that the door is closed during the 10 minutes it is activated. Both the magnetic reed switch on the door and Q3 control Q1 which is another N Ch MOSFET.  Q1 when pulled to saturation by R1, in the absence of the closed door switch or the saturated Q3, connects the alarm circuitry of IC-B to ground and the alarm sounds.

 

Here is the alarm unit on the wall. I was feeling fancy on the day of the installation and I even routed the wires behind the wall panel.

 

image

 

The black disk is the inside piezo buzzer, there is a power light, a door open indicator light, a suspend alarm LED and the red button is the ten minute suspend button. I have used one of the plastic boxes that I got from Walmart for $1.20 for a housing.

 

The magnetic reed switch was mounted to the door. I have the closure between the magnet and the reed quite far apart as this was necessary to make the unit trigger as soon as the latch of the door was no longer engaged.

 

image

 

The red and black wires go through the wall to a second piezo buzzer that alerts to the garage area.

 

image

 

I usually like to see if I can compress the circuit and for this I like to draw a layout on a piece of graph paper where the cross points of the graph serve as the holes in the protoboard. Here is my plan for this board. Since I have both sides of the Adafruit board to work with any components attached to the back side are usually drawn in red for clarity (there are none this time) and traces that have been cut are indicated by a slash mark.

 

image

 

Here is a peek inside the unit which was constructed on an Adafruit protoboard. I like these boards for small projects as I can easily move my bread boarded test setup to a soldered situation.

 

image

 

Sorry I can't show the back side but I hadn't really intended to publish this so I did not take many production photos.

 

One thing of small interest is I started down the path of building this project with a 556 timer chip. I had the schematic made up, the layout for the board drawn and even a few components soldered to the board when it suddenly dawned on me that the 556 has a single supply for the two integral 555 timers and for my purposes I needed to be able to power them separately. Here is the schematic in case you want to see the flaw in logic for yourself.

 

image

 

Videos aren't much my thing but sometimes a short video in worthwhile so here is a demo of the alarm system.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Thanks John

  • Sign in to reply

Top Comments

  • Fred27
    Fred27 over 6 years ago in reply to jw0752 +5
    I was only joking, John. Whenever you see a simple microcontroller-based project online somebody always has to comment "you could have done that with a 555". I started a similar project to warn me when…
  • jc2048
    jc2048 over 6 years ago +4
    That's a very useful project. Did you need the CMOS version for that long delay or can the original bipolar part manage it?
  • jw0752
    jw0752 over 6 years ago in reply to jc2048 +4
    Hi Jon, They are just standard NE555 timers. I always try to pick a salvage capacitor from an expensive medical grade board when I am dealing with long times so that I can hopefully minimize internal leakage…
  • ntewinkel
    ntewinkel over 6 years ago

    That's really cool, John! And useful.

    I could see a few ways I could use that around the house here (including a similar door to the garage alarm, heh)

     

    I like seeing your builds, as you always make them look nice using simple and inexpensive enclosures.

    I also like that you use things like 555 timer chips. For small projects like this I'm likely to think with a software bias and jump to an ATtiny chip.

     

    -Nico

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jw0752
    jw0752 over 6 years ago in reply to jc2048

    Hi Jon,

     

    They are just standard NE555 timers. I always try to pick a salvage capacitor from an expensive medical grade board when I am dealing with long times so that I can hopefully minimize internal leakage.

     

    John

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago

    Nice project John.

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 6 years ago

    That's a very useful project.

     

    Did you need the CMOS version for that long delay or can the original bipolar part manage it?

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to jw0752

    I was only joking, John. Whenever you see a simple microcontroller-based project online somebody always has to comment "you could have done that with a 555".

     

    I started a similar project to warn me when my 2 year old opened the front door. He grew out of the habit before I completed it. (The delay was because I was trying to power it from the same batteries as the doorbell, but the solenoid it used created too much power supply noise.)

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube