Simple circuit reminds you to lock the door as you rush out of the house

door_lock_minder

It seems that [pppd] is always rushing out of his apartment to catch the bus, and he finds himself frequently questioning whether or not he remembered to lock the door. He often doubles back to check, and while he has never actually forgotten to lock the door, he would rather not deal with the worry.

Since he finally had some free time on his hands, he decided to put together a simple device that would help end his worry once and for all. Using an ATtiny13, [pppd] designed a circuit that would detect when his door has been unlocked and opened, beeping every few seconds until the lock is reengaged. The circuit relies on a reed switch installed inside the door frame, which is tripped by the magnet he glued to his door’s deadbolt.

He says that the system works well so far, though he does have a few improvements in mind already.

Comments

  1. Harald says:

    Now that worries about the locked door too well….

    But the more important question: Is the Coffee machine turned off?

    • fartface says:

      Yes, because if I did not turn it off, it drops off in 2 hours on it’s own.

      Next one I get will be off the second it is done brewing when I get a stainless insulate carafe maker so the coffee is not ruined by sitting on heat.

      • tjb says:

        We have a maker that uses an insulated pot and eventho I am not a coffee drinker I can even tell it tastes better. The other advantage is even if it does cool off it tastes better warmed up in the microwave because it has not been cooking for hours.

        As for the original post, I think it is great. My sister suffers from anxiety and some thing like this would make her feel better.

    • slacking says:

      @Harald thanks .. now I will be worrying about that all day !!!!

  2. pete says:

    I hope the robbers at my house today are kind enough to unplug my iron and turn off the tv. come to think of it, im pretty sure i left the dog in the back yard too…

    • Blue Footed Booby says:

      I’ve done this before. Luckily, though, my dog is a major bossy boots. If you don’t open the door within like 15 seconds of him knocking to come in he’ll back up 20 feet and bark in the direction of the upstairs window.

  3. Eirinn says:

    Urgh know this all too well and missed the buss quite a few times because of this….and look at this… two ATTINY13 chips were delivered to me today…wonder what to use those for ;)

  4. stib says:

    how about something that you can connect to over the web (twitter maybe?) and _ask_ if the door was closed. Say when you’re standing at the bus stop. Obviously you’ll want to make sure it’s secure.

  5. Andrew says:

    Did I remember to change the batteries in the thing that reminds me if I shut the door?

  6. Stevie says:

    It’s cool, I guess. But wouldn’t it be easier (and better) to just replace the lock with one which auto locks? They’re standard on homes in the UK – nothing fancy.

    • KillerBug says:

      Yeah…then you go to the curb to check the mail, come back and realize you locked your keys in the house…or rather, your lock locked the keys in the house.

      I am glad he made this…not so much because I wanted instructions, but because I thought I was just getting paranoid.

    • Rob says:

      I don’t know of any auto-locking deadbolts readily available here in the US, at least not at my Home Depot. Of course, I have no idea what they’ve got in Poland.

      But the important thing I think is he’s in an apartment, so if he were to change out the locks he’d have to do it at night when God and the landlord were sleeping.

      I’d like something like this for the garage door so I don’t drive off with it open — or have it re-open itself because a leaf blew by the optical sensor while it was closed. But that would take a heck of a buzzer — maybe a siren really, and I think the neighbors would probably hate me.

    • Rob says:

      If you can find a low-cost sensor that detects the flow of water in plumbing, you could make another circuit and attach the water-flow sensor to the bathroom sink using the lock-detect input. Connect the door circuit as is to the bathroom door. Change the programming a little and you’ve got yourself a “Didn’t Wash Hands” buzzer!

      Actually — with appropriate firmware — this little device could be useful (or irritating) in a number of domestic applications.

  7. Jochem says:

    I’m constantly checking the door too (even though I have an auto-locking door, I prefer to also engage the deadbolt), this is an awesome project.

    You could replicate this functionality with a simpler circuit though. Afaict, it beeps if the door is unlocked but closed, and not if the door is open or closed and locked.

    If you replace the door-open detector with a normally-open switch, and the door-locked detector with a normally-closed, then place these between a buzzer circuit and it’s powersupply, you would get the exact same functionality, but at 0 standby current. It also fixes the lock-then-unlock scenario he describes in the post.

    • JamieWho says:

      Read more carefully Jochem. The switch detects if the door is locked. It cannot be locked when it is open, so yes, it will beep when the door is open. A switch to monitor the door being open or closed is not needed.
      Besides, he can just look at the door and tell if it is open, you can’t look at the outside of a dead bolt and tell if it is locked.

      • Jochem says:

        The normally-open switch I described to replace the door-closed sensor would cause the entire system to be turned off while the door is open.

        Something like this, sw1 being the door-open detector, sw2 being the lock detector.

        +5v –/[sw1, no]–/[sw2, nc]–[buzzer]– GND

        This way, power is only applied to the buzzer if the door is closed _and_ it’s unlocked.

    • pppd says:

      Thanks for the suggestions, I might do that in the next iteration. I had only normally open switches and that was just the easiest way to implement it for me. The buzzer beeps shortly when you open the door so you know if the battery is okay or not and then starts beeping again once the door is closed back. No beeping when the door is open, that would make both me and mailman angry :P

  8. KillerBug says:

    It sounds like a small solar cell is in order…so that you don’t have to worry about the battery.

    No, wait…

    What if you powered it from a capacitor and used the turning of the knob to charge the capacitor?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,656 other followers