DIY Deadbolt and Garage Door Sensor LED




Introduction: DIY Deadbolt and Garage Door Sensor LED

Here's a great way to always check whether or not you locked the deadbolt in the door or if the garage door may be open. Super simple to make and cheap.

Materials Needed:
LED (any colour)
Resistor to match LED (
Old Cellphone Charger (5.0V)
2 x 1k Resistors
NO Magnetic Proximity Switch (
NO Reed Sensor
NOR IC (74LS02N) (Datasheet: )
Shrink Wrap
Small Magnet
Plastic Case

Staple Gun
Wire Cutters
Wire Strippers
Soldering Iron
Screw Driver
Hot Glue Gun

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1:

Begin by thinking about how you will want to wire everything. When I did mine, it made the most sense to go right across the ceiling and along the baseboards. Your will probably need ~100 ft of wire. Look at the wiring diagram and make sure you understand what needs to go where.

Do a rough job at first and place the components where you need them to go. 

J1 and J2 in the schematic are the NO magnetic switches. 

Step 2:

Screw the Magnetic Proximity Switch into the wall and onto the side of the garage door. Make sure that when installing it, the switch does not interfere with the opening and closing of the garage door. It may take a while to find the perfect spot.

Step 3:

To install the reed switch, you will have to take apart the door frame and possibly the wall. Not a difficult task, just time consuming. 

Step 4:

Use an old phone charger to power the circuit. Phone chargers convert AC into DC and are usually around 5V. It's important to use a charger that is exactly 5V because the NOR chip needs 5V to be powered. To get the positive and negative terminals of the power supply, simply cut off the tip that normally connects to the phone. There will be a red (positive) and a black (negative) wire. 

Step 5:

You can choose any colour LED you want for this project. All you need to do is find a suitable resistor so that the LED is running at it's rated current. Use the link ( and plug in 5V for the supply voltage. For the current and voltage drop see:

If you get a clear LED like I did, you can make it have a diffuse look to it but lightly rubbing it with sandpaper.

Also place the LED inside the house so that whenever you're walking by, you'll be able to see if something needs to be locked or closed. For this you'll need to drill through the walls like I did. Also drill a small hole into a light switch cover to give it a nice finished look.

**Note the polarity of the LED. When the output of the IC is low, it will make the LED turn on. Do reverse it!

Step 6:

Now solder all the wired to the resistors and cover everything with shrink wrap. The final step is to connect all the wires to the integrated chip (NOR). See the wiring diagram in step 1 and also the datasheet in the intro. Solder on all the wires. Be very careful with the pins on the chip as they are very delicate.  If you don't have a little box to put the circuit in, you can do what I did and saw off the top off a plastic cap on a spray paint bottle. This can be used as a seal to prevent dirt and water on the circuit. Seal it to a wall using hot glue.

Step 7:

Done! Go check if it's working, if not troubleshoot with a multimeter. Don't forget any resistors otherwise you'll burn something by causing a short. 

Hope you enjoyed my first instructable. Next time I'll make it step by step instead of showing the final product. Any comments would be appreciated.

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    2 Discussions


    8 years ago on Introduction

    N ice instructable. I'd like to figure out how to sense two or more doors, but this was a great one to find.


    Reply 8 years ago on Introduction

    It's not hard to do. Instead of using a NOR chip, just buy an OR chip (7432) and connect the terminals to ground and +5v. Then connect up to 5 doors by connecting the switches to the inputs.

    Door A to 13
    Door B to 12
    Output 11 to 10
    Door C to 9
    Output 8 to 4
    Door D to 5
    Output 6 to 1
    Door E to 2

    Now take output 3 and connect it to an inverter chip (7404)
    This way if any of the 5 doors are open there will be a high signal on output 3 which will be inverted and drive the LED low. Don't forget to power the inverter (ground and 5v)

    Also you don't need to use all the inputs on the chip. If you need 3 doors just connect the proper output to the inverter.

    Good luck!