0
\$\begingroup\$

I have a doorbell that has a relay to open the door. The issue I'm having is that my doorbell is outside the house and thus people would be able to come up to the doorbell, open it, and connect it themselves. I don't want that to be possible.

Thankfully, my doorbell also has a tamper switch. This is a contact that is closed when the doorbell is normal, but when its housing is opened, the contact becomes open. That way I can securely connect my door.

Now, I don't just want to connect these in series, because the tamper switch is also outside the house and a clever burglar could see the cables and trigger both at once.

I tried to check out latching relays, and I bought the CK21 switch (like this). Turns out, I can't figure this thing out. I want to connect it so that this button is inside the house and unlatches if someone triggers the tamper switch. Then, when the tamper switch is reconnected, I would need to re-set this button to reactivate the front door.

Is there a way to do this with this button? Or did I buy the wrong thing? I should also mention that all this runs on 24 VDC.

\$\endgroup\$
3
  • \$\begingroup\$ Would use a timer-relay. Tamper is falling edge (Someone tapers) -> block door relay. Tamper is rising edge (someone is fiddeling with the cables or tamper switch is reconnected -> e.g. 15min timeout) -> door is allowed to open again. You can wire it as: +24V -> (Tamper and Doorbell switch in parallel) -> feed these two signals back into the house -> Connect tamper signal to time relay coil and doorbell signal to timer relay switch -> feed output to door. For example ebay.de/itm/… \$\endgroup\$ Commented Jan 12, 2023 at 9:43
  • \$\begingroup\$ I think all latching relays need power to latch (there are none that latch when the power is removed). If you wire a relay to itself (coil and NO contacts in series) you can get one that latches on the first time you power it (bypassing the contacts), then unlatches when power is removed, which I think is useful for you. \$\endgroup\$ Commented Jan 12, 2023 at 11:21
  • \$\begingroup\$ @user253751 yes that is what I want. Once power is removed, it will not reactivate by itself, but require a momentary push button as input, right? If you want the reputation, can you format it as an answer with suggestions of what kind of relay to buy? \$\endgroup\$ Commented Jan 13, 2023 at 14:56

1 Answer 1

0
\$\begingroup\$

Your tamper switch is normally closed (closed when no tampering is happening) so you're going to need a current running through it all the time, and then the tamper is detected when there's suddenly no current. I think this is where you're running into a problem with latching relays and latching buttons, because they need a current to latch, and then no current makes them hold the same state.

You can use the trick of wiring a relay's coil in series with its own contact to make it latch. When you bypass the contact with a separate switch, the relay turns on and then keeps itself on. When the coil loses power, it turns off and stays off. This arrangement uses power all the time, not just when there's tampering, but I think that's unavoidable because the tamper switch is normally-closed.

By using a relay with 2 contacts you can put the other one in series with the doorbell. Actually, you even do this with just 1 contact - it's left as an exercise to the reader. Using a separate contact makes for less confusing and more flexible wiring.

schematic

simulate this circuit – Schematic created using CircuitLab

Note this is not the only possible way to wire it, because parts in series can be swapped around.

Beware the ground isn't at the bottom, because of how the relay is drawn.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.