little0192
Newbie level 6
Hello,
I am making a module to read the output from the magnetic reed switch working at 24V@20 mA using and FPGA.
For isolation i am using optoisolator 4N25. I am attaching the pics below for the configuration. Please let me know if there is something i can do to make this more robust.
I am confused about which configuration is the best out of the two. One gives me inverting output while the other is non-inverting. but thats not and issue.
Also, Let me know if there is a need for series resistance on the output signal line to control the sink current to the FPGA internal transistor.
P.S - i know i can use a resistor divider or a zener diode with a cap.
I am making a module to read the output from the magnetic reed switch working at 24V@20 mA using and FPGA.
For isolation i am using optoisolator 4N25. I am attaching the pics below for the configuration. Please let me know if there is something i can do to make this more robust.
I am confused about which configuration is the best out of the two. One gives me inverting output while the other is non-inverting. but thats not and issue.
Also, Let me know if there is a need for series resistance on the output signal line to control the sink current to the FPGA internal transistor.
P.S - i know i can use a resistor divider or a zener diode with a cap.