Nov 19, 2012 #1 R rizzy_dascal Member level 2 Joined Apr 9, 2012 Messages 47 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 1,613 High, Could somebody help me do this please, Basically I want to be able to tell when a wire is live with 230 volts and print on an LCD "ON", I can program this when a port on the microcontroller goes high, but I need an interface between the port and 230 volts. Hope this makes sense Thanks In Advance Rizzy
High, Could somebody help me do this please, Basically I want to be able to tell when a wire is live with 230 volts and print on an LCD "ON", I can program this when a port on the microcontroller goes high, but I need an interface between the port and 230 volts. Hope this makes sense Thanks In Advance Rizzy
Nov 20, 2012 #2 alexan_e Administrator Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371 You can use an optocoupler that gives low pulses in the output and read them from the mcu. If you want to get pulses only when the voltage is high enough (for example not with 100v AC) then you can use a zener (I have used 200v zener) D2 protects the optocoupler from reverse voltage
You can use an optocoupler that gives low pulses in the output and read them from the mcu. If you want to get pulses only when the voltage is high enough (for example not with 100v AC) then you can use a zener (I have used 200v zener) D2 protects the optocoupler from reverse voltage
Nov 20, 2012 #3 ALERTLINKS Advanced Member level 4 Joined Dec 13, 2003 Messages 1,258 Helped 396 Reputation 786 Reaction score 380 Trophy points 1,363 Location Pakistan Activity points 7,263 If you dont want to connect to mains, a live wire detector is the answer. **broken link removed** https://jap.hu/electronic/wirescan.html
If you dont want to connect to mains, a live wire detector is the answer. **broken link removed** https://jap.hu/electronic/wirescan.html
Dec 5, 2012 #4 R rizzy_dascal Member level 2 Joined Apr 9, 2012 Messages 47 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 1,613 Thank you for your replies, I think optocoupler is way to go Rizzy
Dec 6, 2012 #5 K kabeer02 Full Member level 5 Joined Nov 23, 2012 Messages 305 Helped 59 Reputation 118 Reaction score 54 Trophy points 1,308 Location yamasukro Activity points 2,518 use opto isolator it is more safer.