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.

How can I interface a pic micro to 230 volts ?

Status
Not open for further replies.

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
 

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)

200v_detect.gif

D2 protects the optocoupler from reverse voltage
 
Thank you for your replies, I think optocoupler is way to go


Rizzy
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top