32

Hello, and thank you in advance.

I'm making a privacy friendly "ring" cam/doorbell following this guide: https://tristam.ie/2023/758/ which has been great, but requires running a micro-usb cable down to the doorbell for power. I'm hoping to improve on this by using the existing doorbell power instead.

The problem is that I'm a DIY electronics noob and I can't create a mental model for how it should all work. The picture I attached is my existing doorbell wiring scheme, which is as simple as it comes. I totally get how this works. Pressing the doorbell completes the circuit and makes the bingbongs. But this will have to change so the new door cam gets power full time. Ideally without the chime bingbonging full time.

In addition to the ESP-32CAM, button, ring lights, etc., I also bought these: https://www.amazon.com/dp/B079FJSYGY which I thought might be needed to complete the circuit?

I measured the voltage after the transformer and it was around 18 volts, but maybe this is AC and I want DC?

Generally I don't know where in "the loop" to put things. Also, all the existing components are very far apart from each other, so I would love a solution that doesn't involve running any new wires through the walls.

Any help is appreciated. Thank you!!

xoJimbabwe

you are viewing a single comment's thread
view the rest of the comments
[-] ch00f@lemmy.world 9 points 6 months ago

So a doorbell transformer steps 120VAC down to a lower AC voltage. That’s what you’re measuring (surprised you can’t tell if it’s AC. Your multimeter should have an AC/DC setting).

The circuit puts the transformer, the button, and the bell (classically an electronagnet that accelerates the hammer) in series. When you close the switch (push the button) the hammer strikes the bell.

An electromagnet is just a coil of wire, and it is possible to pass a small amount of current through it without activating the hammer. If you’ve ever seen a doorbell with a light up button, the light bulb is placed in parallel with the button. That way it’s always on drawing a small amount of current. It also explains why the light switches off when you press the button. You’re shorting across the bulb, so it’s voltage is zero.

If you want to use this power for an electronics project, you’ll need to find a way to draw just a small amount of power from the transformer. It has to be very small or you’ll activate the hammer.

Drop a full bridge rectifier in parallel with the button, then a bunch of caps to give you a steady-ish voltage and then some kind of voltage regulator to make it useable.

Just remember that you can’t draw too much power, and you’ll lose that power whenever the button is pressed.

[-] Jimbabwe@lemmy.world 1 points 6 months ago

I couldn't remember if it was AC or DC, but you're almost certainly right that it's stepped-down AC. I just went and checked and there's no light on the button, so unfortunately no bonus parallel always-on power source to tap into. This is my dumb guess about how this all could work, but there are some question marks. Does this seem kinda correct though?

[-] ch00f@lemmy.world 10 points 6 months ago* (last edited 6 months ago)

Your drawing is a little confusing. Here's what you need:

There's nothing special about a setup with a light in the button. It's literally just an incandescent bulb across the button. If you connect your circuit across the button terminals, it'll work fine.

The 4 diodes in a loop is a "full bridge rectifier" that gives you DC from AC. The 5V regulator could be something like an LM7805.

The "large capacitor" is to keep power applied while the button is pressed, though you might be better off in that case with some small onboard battery. You just have to make sure that your battery charging circuit doesn't draw too much power.

[-] Limonene@lemmy.world 4 points 6 months ago

Remember that voltage is measured across a pair of wires, so you can't power the chime with only a single wire. That's part of what makes this difficult -- these doorbell systems only have the bare minimum of wiring in them. Powering the camera and the chime in series with each other is quite difficult. I think a lot of these things just accept the short circuit, and use a battery to power the camera while the button is being held.

Here is what I was proposing, and I think what ch00f was also proposing. Replace "5VDC power supply" in this diagram with "a full bridge rectifier and a bunch of caps" in their description, and also note that your camera probably requires a well regulated 5VDC supply.

[-] Jimbabwe@lemmy.world 3 points 6 months ago

Awesome, thank you both. This is more complicated than I thought, so on the plus side I don't feel as dumb as before.

Maybe i'll just ditch the dinky chime I have and setup some alert automations or something. In that case, I could just connect the two chime wires to create a closed loop, then replace the transformer with a 120vac outlet plug, plug in a generic 120va -> 5vdc power supply, chop the two output wires from the power supply and connect them to the existing doorbell wires. And violá, 5vdc delivered right to the front door? Is this plan insane?

[-] Limonene@lemmy.world 3 points 6 months ago

Actually, I think that's a really good idea. Just be aware of possible inductance in the long wires from the transformer area going to the camera. Putting a large electrolytic capacitor next to the camera should fix that.

As for your bell, there are dead simple systems that use a battery-powered stick-on button with a transmitter, and a chime/receiver that plugs into a wall. If you want to be fancy, you could find a way to power the transmitter with that 5VDC, in parallel with the camera... or you could just keep it simple and use the battery that comes with the button. They last near forever.

[-] Jimbabwe@lemmy.world 1 points 6 months ago

Awesome. You and @ch00f@lemmy.world are true OGs. Thanks (again)!

this post was submitted on 01 May 2024
32 points (100.0% liked)

Ask Electronics

3325 readers
1 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS