increase protection of port

gelecg

New Member
Hi,
Which one is better?
is The diode in second circuit effect to reduce noise?
and the switch is connected with 20 meter wire.
 
Last edited:
I agree, that diode configuration is not sensible.

JimB
 
This would be the way to use diodes:
 
If you are measuring signals from equipment which may be at mains potential or higher you would isolate the micro (and yourself!) from that.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…