Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Mains Line voltage detection

Status
Not open for further replies.

ZeleC

Full Member level 5
Full Member level 5
Joined
Dec 18, 2002
Messages
261
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,298
Activity points
2,173
Hi
I want to build a small interface circuit that detects the presence of a the mains 230V AC,I want to feed the signal to a uC (0 =no line voltage, 1 line voltage present)
I have a couple of ideas just want to c yours
thanks
 

You can use the attached circuit:
 

ZeleC said:
Hi
I want to build a small interface circuit that detects the presence of a the mains 230V AC,I want to feed the signal to a uC (0 =no line voltage, 1 line voltage present)
I have a couple of ideas just want to c yours
thanks

if you need galvanic isolation you could use this circuit.

stefano
 

it seems that these circuits will give a square wave image of the AC line ??
well Im looking for a logic 1 for presence and logic 0 absence.
 
ZeleC - the possibitlies are infinite (c) :
Put another capacitor parallel to R3 in second schematics, increase R3 value and and choose newly inserted capacitor value as R3 (Ohm) * Cnew (Farad) = Seconds delay before mains disappeared (rough estimation ).
 

ZeleC,
output of stefano.delfiore's circuit isnt square wave!
if you check optocoupler you see that it use 2 LED and each LED light in one half cycle.
I think you can use this circuit.
if any pulse appeared in output, increase C1 value to 1uF or 2.2uF.

Regards,
Davood.
 

Davood Amerion said:
ZeleC,
output of stefano.delfiore's circuit isnt square wave!
if you check optocoupler you see that it use 2 LED and each LED light in one half cycle.
I think you can use this circuit.
if any pulse appeared in output, increase C1 value to 1uF or 2.2uF.

Regards,
Davood.

to whom it may interest, I acquired by oscilloscope some waveforms from the circuit that I have posted.

stefano
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top