ATmega8-Arduino Pin Mapping

A diagram showing the correspondence between the pins on an Arduino board and those of the ATmega8 microcontroller.

Below is the pin mapping for the Atmega8, the original chip used in early Arduinos. The pin mapping for the Atmega168 and the 328P is roughly the same.

ATmega8 Pin mapping
ATmega8 Pin mapping

Suggest changes

The content on is facilitated through a public GitHub repository. If you see anything wrong, you can edit this page here.


The Arduino documentation is licensed under the Creative Commons Attribution-Share Alike 4.0 license.