detecting analog doorbell
Moderator: leecollings
Re: detecting analog doorbell
Try using a (bridge) rectifier and capacitor to convert the AC->DC and use an opto coupler to connect it to your raspberry GPIO.
- l0gic
- Posts: 107
- Joined: Tuesday 08 October 2013 9:35
- Target OS: Linux
- Domoticz version: Latest
- Contact:
Re: detecting analog doorbell
I did similar, 8v(ish) ac fully rectified gave me around 12v dc. I used this to operate a relay connected to a MySensors board.SweetPants wrote: ↑Sunday 27 January 2019 19:29 Try using a (bridge) rectifier and capacitor to convert the AC->DC and use an opto coupler to connect it to your raspberry GPIO.
Opto would be just as good, I had a relay in my spares box but no opto's
Been solid as a rock for a few years now.
Non credus crepitus
- l0gic
- Posts: 107
- Joined: Tuesday 08 October 2013 9:35
- Target OS: Linux
- Domoticz version: Latest
- Contact:
Re: detecting analog doorbell
Just a guess but perhaps the AC changes (50Hz) is too fast for the reed to react.
I tried using a reed switch route originally but couldn't get it to work even if I laid it on the coil.
Hence I went for a bridge rectified relay.
Kevin
Non credus crepitus
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: detecting analog doorbell
Something like this
instead of GND you can use +5 I prefer using the internal pull up and then to GND
instead of GND you can use +5 I prefer using the internal pull up and then to GND
- Attachments
-
- Capture.JPG (57.59 KiB) Viewed 1136 times
Who is online
Users browsing this forum: No registered users and 1 guest