11

What is the purpose of the capacitor on the I/O pins on the ATmega328 (I imagine it's on other AVR microcontrollers as well)? Is it to reduce noise from other parts of the microcontroller?

i/o pin schematic

lemontwist
  • 364
  • 4
  • 16

2 Answers2

17

To make explicit the implicit parasitic capacitance on the pin.

dannyf
  • 2,813
  • 11
  • 13
2

The pin does not have a capacitor added to the integrated circuit (IC). Rather this capacitor is drawn to show that the input has capacitance that you need to be aware of.

The input drives a MOSFET - and as we know, MOSFETs have some parasitic capacitance.

For more information on parasitic capacitance of MOSFETs see these pages:

sa_leinad
  • 3,218
  • 2
  • 23
  • 51