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 to relieve analog part for digital input?

Status
Not open for further replies.

carpenter

Full Member level 6
Joined
Jul 25, 2012
Messages
353
Helped
22
Reputation
44
Reaction score
24
Trophy points
1,298
Activity points
4,467
I pardon myself in advance for a partially philosophical question.
Have me any device powered with 230V to 24DC and 5V DC , for standard home and office safety level, ground of device is connected to PE. In device is MCU and any digital input, we need to take them out of the device for general use, for example foot switch, for driving device with any PLC , etc.
I always wonder how to reliably implement such an input?
Any as on in the picture above or in the bottom or the other way?

FIO.jpg
 

Both ways will work but one side of P1/P2 is connected to ground or supply so you not have real isolation.
In general, it is safer to ground one side of an external connection than have both sides 'live' so the bottom solution would be better. However, with a small change in circuit you can still use the top circuit with P1 linking to ground to avoid the higher cost of an AC optocoupler.

Brian.
 

Put your optocoupler inside a diode bridge and a plain vainilla optocoupler.
It will be cheaper than an AC optocoupler, specially if the bridge is made with common 1N4148 diodes.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top