Understanding resistors to protect GPIOs

  • The technique in the link below, shows how to do similar when we are using an UNO Rev 3 (5v controller).

  • In the below post we use 240Ω resistors to protect the GPIOS.

  • For a 3V3 Arduino the resistors will be larger.

  • When we set a pin to input, the new series 240R has no significant effect on a digitalRead as the input resistance is 100meg.

  • When we set the pin to output, the 240R can be connected to a LED, base of a BJT or the gate of a MOSFET; 240R has a negligible effect on a output pin.

1 Like