series resistors on I/O pins?
TWRackers
Posts: 33
I've noticed on some example schematics for the BASIC Stamps that a 220 ohm resistor is placed in series between a Stamp's I/O pin and a pin on an external device, yet other times no resistor is used. For example, every sample schematic I've seen using the Memsic 2125 2-axis accelerometer chip puts resistors between the chip's Xout and Yout pins and the Stamp's I/O pins. Schematics for the H48C 3-axis accelerometer chip, however, do not show series resistors. The Memory Stick Datalogger also does not show resistors being used. (I mention the H48C and the Datalogger because my current project uses both of them.) What is the difference between these two devices that requires the use of series resistors on one and not the other.
Another application I've seen that uses a series resistor (not necessarily 220 ohms) is when a Stamp's I/O pin is driving the gate of a MOSFET. I believe this is done to form a short time-constant RC circuit with the resistor and the MOSFET's inherent gate-to-source capacitance, thus limiting the inrush current when switching the MOSFET. Is my understanding of the purpose of this resistor correct?
Another application I've seen that uses a series resistor (not necessarily 220 ohms) is when a Stamp's I/O pin is driving the gate of a MOSFET. I believe this is done to form a short time-constant RC circuit with the resistor and the MOSFET's inherent gate-to-source capacitance, thus limiting the inrush current when switching the MOSFET. Is my understanding of the purpose of this resistor correct?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Why would the 2125 schematics show the resistors while the H48C schematics don't? Could it have something to do with the fact that the 2125 pins put out pulses whose widths must be measured, whereas the H48C pins basically form an SPI interface? (I just noticed that difference while looking over the datasheets again.)
The H48C Tri-axis accelerometer is equipped with an internal 1K resistor on the DOUT line of the MCP3204 where as the Memsic 2125 does not have a current limiting resistor. This is why you see an external resistor for the 2125 and not on the H48C.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
"would you recommend a current limiting resistor to the Chip Select and the Clock line too" - No, the only time that you would use a current limiting resistor is when there is a chance of a "bit-collision" where both signals can be outputs and potentially be driven in opposite directions.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.