this post was submitted on 01 Mar 2025
20 points (100.0% liked)
Home Automation
3148 readers
26 users here now
Discussion about general home automation ideas and projects, home automation protocols like Z-wave, Zigbee, Matter, etc, and home automation software and hubs like HomeSeer, Home Assistant, OpenHAB, Homey.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
/edit; ah shit...AC. Not DC.
For AC: use a single-throw dual-pole switch (a switch/button that closes two seprate circuits with one action). (S2 in this diagram)
For DC: You can use two diodes.
Switch1 triggers Coil1, S2 triggers C2, S3 triggers both.
I used coils for traditional bell relays, but any load will do.
Fun to see the DC solution though, thanks.
The relay coils are operated with DC so you can implement the bottom diagram but for the relay circuit, not the bell circuit. Just add diodes between the MCU's GPIO and relays too, they are probably driven HIGH/LOW and not HIGH/High-Z.