Hack a Wireless Doorbell Into a Wireless Alarm Switch or On/off Switch

58,431

77

31

Intro: Hack a Wireless Doorbell Into a Wireless Alarm Switch or On/off Switch

I recently built an alarm system and installed it in my house. I used magnetic switches on the doors and hardwired them through the attic.The windows were another story and hard wiring them wasn't an option. I needed a wireless solution and this is what I came up with thanks to some helpful tips from the guys at www.dutchforce.com

Step 1: Required Parts and Components

(1) wireless doorbell kit (get the one with the longest range that you can find with a button and the receiver)
(1) npn 2n2222 transistor (any small signal npn transistor should work)
(1) magnetic NO (normally open) alarm switch
(1) roll of double sided tape.
shrink wrap or electrical tape
3mm drill (bigger is ok, it's just for running wires trough the cases)
24 guage wire ( approximately 2' (60 cm))
soldering iron and solder

Step 2: Prepping the Receiver

1. Start by removing the back of the doorbell receiver. That is the part without the button.

2. locate the small speaker. It should have two wires running to it.

3. Solder a 3" (8cm) wire  to each of the terminals on the speaker if you want to keep the chime noise. If not just unsolder the existing wires from the speaker and use them.

4. The 2n2222 transistor is set up like this.                                 Solder one of the wires from the speaker to the emitter leg of the transistor and the other wire to the base leg of the transistor. Attach a 12" (30cm) piece of wire to the base leg and a 12" (30cm) piece of wire to the collector leg of the transistor.

5. Use shrink wrap or electrical tape on all of those joints so that they don't touch each other and short out.

6. Drill a small hole in the case and run the two 12" (30cm) wires out through the hole. The 12" (30cm) wire from the transistor base is you negative or ground connection. The 12" wire from the collector leg of the transistor is the positive connection. I ran mine through the mounting hole since I won't be using it.

7. Put this aside for now and move on to the button prep.

Step 3: Prepping the Button

You now are the proud owner of a great wireless momentary switch. You can make it into a latching on/off switch for use with many different items by adding the simple flip-flop circuit shown in the photos.

To use it as a wireless alarm switch for your security system though we will have to complete a few more steps.

1. Locate the button part of your wireless doorbell. Open the case (varies for different brands) and find the small tactile button located on it.

2. You can check with a continuity tester to be sure it is a NO (normally open) switch which means that if you press it, it will allow current to flow (or make your continuity tester beep or light up). If you release it, it should open and stop the current from flowing.

3. Drill a small hole in the side of the button case or housing. To make it easier on myself, I removed the remaining plastic from the hole area and made it into a notch. Thread the wire from the magnetic alarm switch through this hole (if you left it as a hole) and to the momentary tactile switch. Cut the wire and strip it so that it can be soldered to the momentary switch poles. Remove the circuit board from the case and locate the momentary switch terminals on the solder side of the board. Some tactile switches, like the ones shown, have four poles. There are still only two that you can use as the poles are connected to each other. on either side. I made this one for a double window, so I used a magnetic switch on each side. Either window will trip the alarm.

4. Solder one of the wires from the magnetic switch to one of the terminals of the momentary tactile switch and the other wire to the other terminal. It doesn't matter which wire goes to which terminal as long as they are not two of the terminals that are connected within the switch.

5. Test your soldering by putting the magnetic side of the magnetic switch next to the side you just soldered. The chime should sound if you left it connected.

6. reassemble the doorbell switch and apply double sided tape to the back of it and the back of the magnetic switch that is wired to it . Stick the switchs to the frame of the window that you want to protect. Use double sided tape and stick the magnetic portion of the magnetic switch to the window sash with the bottom of it level with the top of the wired portion of the magnetic switch. This will allow the switch to close and the alarm to trigger as the window is raised. It will only be closed momentarily as the magnetic portion slides past the wired portion of the magnetic switch. That is all you need to trigger the alarm and it uses almost no battery since the switch is only closed for the brief moment that the magnet slides past. This also allows you to open your windows without the contact draining the battery when the alarm system is off.

Step 4: Conclusion

You can make as many of the button switches that you want for all of the windows that you want to protect. For $7.00 usd apiece, I was able to buy just the buttons for the wireless doorbell that were on the same frequency. I used two magnetic switches on one button for the double windows in my house.

You might notice an extra wire coming out of the receiver. I added that as a longer antanae to try to increase the range a little bit.

If you have problems with the alarm triggering from a neighbors wireless doorbell you can follow the directions included with your doorbell on how to change the frequency.

Share

    Recommendations

    • Optics Contest

      Optics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge
    • Audio Contest 2018

      Audio Contest 2018

    31 Discussions

    0
    None
    mrq55

    1 year ago

    Jman, is the extra wire in the receiver connected to anything? Or just hanging out in the receiver box attracting the wireless signal from the button?

    0
    None
    kgreene8

    3 years ago

    Hi. I need some help. Im using this to trigger a timer board for a model railway. The timer board needs a 12v supply, door bell need 5v so im using a voltage regulator. When i hook it all up the door bell burns out... So i tried adding a 3volt relay to the common and + of the transistor and it killed the door bell... Help!

    1 reply
    0
    None
    JoshuaW9kgreene8

    Reply 3 years ago on Introduction

    While you can usually use voltage regulators as you've described, it sounds like your wiring may be askew, or possibly something got in and is shorting on the pcb. There isn't really much reason the bell should burn out. All you're doing in drawing power *from* it for the relay. In any case, you may want to have a look at optical isolators. Essentially an led, ldr, and (sometimes) transistor in an IC. They ensure complete electrical separation of the two circuits. You can buy them anywhere, or if you like, salvage them from lots of things (check out transformers, computer PSU's and the like)

    0
    None
    fred41

    6 years ago on Introduction

    hi
    I'm really interrested in your work, great job, I own a wireless door bell, but it doesn't produce a simple long sound, but 3 short bip, do you think it could work with your hack? If not do you know a solution to adapt it?

    thanks

    0
    None
    dagob

    7 years ago on Introduction

    Will the transitor keeps the alarm on untill you swithc it off?

    0
    None
    deamonlord

    7 years ago on Introduction

    What can I do to simply on/off the lights in my room wirelessly? Obviously this wont work on high AC voltage but what will?

    1 reply
    0
    None
    cwatts22deamonlord

    Reply 7 years ago on Introduction

    You can just use a relay switch with this method to control high volt ac voltage.
    Just wire this to the relay's input and the high voltage as the output.

    0
    None
    verdastel

    7 years ago on Introduction

    Cool project with affordable cost!
    What do you think if you integrate IC 555 in the controller to control the frequency of the triggering signal (thus variable with some switches), and integrate IC LM2917 (frequency to voltage converter) to the receiver to turn it into a "several channel remote system"?

    0
    None
    jman 31vinz.arthur

    Reply 7 years ago on Introduction

    Yes. The transistor is the key for turning the alternating current into a usable dc current. I will try to draw up a quick schematic for you when I get a minute to sit down.

    0
    None
    jman 31vinz.arthur

    Reply 7 years ago on Introduction

    I'm not sure what you are asking. The 220 voltage will be stable if that is what you mean. The voltage that you apply to open and close the relay will need to be a stable DC 5 volts. You can either use a battery for this or get/make a 5v circuit that works off of the 220. That is what I would do. There are plenty of DC wall jacks (wallwarts) that you could use for this.

    0
    None
    jman 31vinz.arthur

    Reply 8 years ago on Introduction

    Probably cheaper and easier to get one of these: http://www.shopping.com/Remote-Control-Switch/products?IVD=1

    0
    None
    jman 31vinz.arthur

    Reply 8 years ago on Introduction

    Sure. As long as your relay is rated for 220 you can put whatever you want on the switch side of the relay. You will want to put a fly-back diode on the low voltage side of the relay. You can Google it, but a quick search brought up this page: http://www.acroname.com/robotics/info/articles/drivers/drivers.html Be careful if you are new to this working with mains level voltage. You might want to get someone that is familiar with it to help you if you aren't

    0
    None
    vinz.arthur

    8 years ago on Introduction

    Hi I would like to know what is the output voltage to the speaker? I want to convert it to a relay switch instead of the speaker. By the way I'm a newbie another question is what is the purpose of the transistor. thanks( I wish I would have the reply as soon as possible)

    3 replies
    0
    None
    jman 31vinz.arthur

    Reply 8 years ago on Introduction

    The output voltage is variable with the sound so there is no way to just use a relay switch. You can however add a battery and feed power through the transistor so that it completes the circuit and closes the relay. Pretty simple to do. The transistor is there simply to turn the variable pulse from the speaker outputs into a basic on/off switch. When there is no sound, the transistor is open. As soon as there is sound it causes the transistor to close, completing the circuit for the alarm.

    0
    None

    Follow up question, Is there any other way to make a switch for a 220v socket? I'm sorry for annoying you.

    0
    None
    Lydboots

    8 years ago on Introduction

    Hi - I don't quite understand your title (regarding the "switch")
    can you tell me if this would do the following job please:
    I want an alarm to go off at some distance away (wirelessly) when a door opens
    not a door bell but an entry alarm