piclist 2011\01\10\170528a
>
Thread:
Do you put a resistor in series with digital and analoginputs?
www.piclist.com/techref/microchip/ios.htm?key=analog
BY
:
IVP email (remove spam text)
> I'm just trying to make my projects as idiot-proof as possible :-)
Nathan,
It can take more than just a resistor, particularly for inputs.
Current limiting is fine but you need also to look at voltage
limiting
Diodes (Zener, Schottky, TVS, etc) need to be used in some
environments to soak up charge
For example, a circuit with an electromechanical device, eg
relay, solenoid, or capacitor shorting, can impose a spike
when de-energising that is below Vss-0.6V. This can cause
an input pin in the vicinity to latch up and fry. So it needs at
least a Schottky diode (which has a lower Vf than the PIC's
internal diodes) to conduct that spike. In this case, anode to
Vss, cathode to pin. I learned that after losing several analogue
pins and smoked a couple of PICs big time
That's just one example. Noise and voltages come in many
permutations. I've one board which needs much filtering
because it sits right next to a spark plug, another is close to
a 5W radio transmitter
Mostly circuits don't need general over-protection, mostly,
but there are times when you need to consider a specific
circumstance
eg Google for input pin protection
Jo
<003301cbb112$7af69860$274f65da@ivp1> quoted-printable
See also: www.piclist.com/techref/microchip/ios.htm?key=analog
Reply
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the
piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
month overview.
new search...