hello friends i am designing a ckt which will detect presence of mains (230V ac) is it possible to desing using EL817 optocoupler?? what all components to be attached at input of optocoupler for safety?
can any1 show e a ckt for this??
at the output side i am going to use 8051 uC
Drop down 230 V to say 5V and use a diode to convert this to DC. Now using a resistor in series connect it to input of opto. When AC is present opto output will keep 8051 pin high. If AC is absent then 8051 will sense low. Use External interrupt of 8051 to sense the presence.
whether it will blow the optocoupler ??
please help...
because agin i will need transformer and rectifier ckt to covert 230V to 5v, i want to avoid it.
I used this circuit with PC817 opto before, it will solve your problem. I think it will work. But if any problem, only you need to change 1.5M resistor according your opto's LED current limits.