This may be a very stupid question and I apologise in advance.
I find the following schematics (source:http://www.circuitdb.com). 220R are used between the micro pins RA0 - RA5 & the connector, supposedly to prevent accidental short circuiting.
- I'm wondering when do you actually need these resistors? My guess is that these resistors are only used when the pins may be exposed to voltage higher than the micro rating (e.g. connectors that can be plugged into the wrong V)?
- How do you decide the values of the resistors? Is it R = (Vmaximum possible) - V[micro rating]) / I[micro rating]? So to protect a 5V micro with 10mA single pin current rating may be connected to a 12V rail, R required = (12 - 5) / 0.01 = 700 Ohms?
Thanks!
I find the following schematics (source:http://www.circuitdb.com). 220R are used between the micro pins RA0 - RA5 & the connector, supposedly to prevent accidental short circuiting.
- I'm wondering when do you actually need these resistors? My guess is that these resistors are only used when the pins may be exposed to voltage higher than the micro rating (e.g. connectors that can be plugged into the wrong V)?
- How do you decide the values of the resistors? Is it R = (Vmaximum possible) - V[micro rating]) / I[micro rating]? So to protect a 5V micro with 10mA single pin current rating may be connected to a 12V rail, R required = (12 - 5) / 0.01 = 700 Ohms?
Thanks!
Attachments
-
190.8 KB Views: 46