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
 

leotim

Full Member level 3
Full Member level 3
Joined
Jul 13, 2005
Messages
166
Helped
5
Reputation
10
Reaction score
0
Trophy points
1,296
Activity points
2,596
You can use the attached circuit:
 

stefano.delfiore

Member level 2
Member level 2
Joined
Apr 2, 2006
Messages
43
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Location
Italy
Activity points
1,621
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
 

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
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.
 

artem

Advanced Member level 4
Advanced Member level 4
Joined
May 22, 2003
Messages
1,347
Helped
126
Reputation
252
Reaction score
32
Trophy points
1,328
Location
Turkey
Activity points
13,450
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 ).
 

Davood Amerion

Advanced Member level 2
Advanced Member level 2
Joined
Mar 1, 2005
Messages
579
Helped
116
Reputation
232
Reaction score
24
Trophy points
1,298
Location
Persia
Activity points
6,345
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.
 

stefano.delfiore

Member level 2
Member level 2
Joined
Apr 2, 2006
Messages
43
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Location
Italy
Activity points
1,621
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

Top