Hi everyone,
I’m designing a circuit to sense up to four standard 230V/50Hz mechanical wall buttons using an RP2040. They are used to control the lights in a room so they won't see a lot of continuous use.
I’m debating between a resistive and a capacitive dropper to drive the optocouplers. I’m leaning toward the capacitive approach primarily to address contact wetting current, but I’d appreciate a sanity check on my design decisions, component choices and whether I’ve missed any critical safety components.
Option A: resistive dropper (4.5mA RMS)

Option B: capacitive dropper (24mA RMS)

Thanks in advance!
I’m designing a circuit to sense up to four standard 230V/50Hz mechanical wall buttons using an RP2040. They are used to control the lights in a room so they won't see a lot of continuous use.
I’m debating between a resistive and a capacitive dropper to drive the optocouplers. I’m leaning toward the capacitive approach primarily to address contact wetting current, but I’d appreciate a sanity check on my design decisions, component choices and whether I’ve missed any critical safety components.
Option A: resistive dropper (4.5mA RMS)

| R2 FMP200JR-52-51K | 51kΩ 2W 500V flameproof |
Option B: capacitive dropper (24mA RMS)

| C2 PX334K2C0702 | 330nF X2 310VAC |
| R6 AS101AJ0102T4E | 1kΩ 1.5W 500V anti-surge |
| R4 RV1206FR-071ML | 1MΩ 500V |
Thanks in advance!
Last edited:

