what would be the cheapest way for my 5Vdc mcu to check if a 120Vac switch is open or closed?
is there any way i can avoid a transformer and a rectifier bridge? i'm not gonna drag current... and i cannot change the switch
i thought of zeners, transistors, resitor voltage divisors...
but i'd like to protect my mcu, so is it wise to use an optocoupler?
can anyone gimme some suggestions?
thanks
is there any way i can avoid a transformer and a rectifier bridge? i'm not gonna drag current... and i cannot change the switch
i thought of zeners, transistors, resitor voltage divisors...
but i'd like to protect my mcu, so is it wise to use an optocoupler?
can anyone gimme some suggestions?
thanks