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

Contribute to Arduino

Join the community and suggest improvements to this article via GitHub. Make sure to read out contribution policy before making your pull request.

Missing something?

Check out our store and get what you need to follow this tutorial.

Suggest Changes

The content on is facilitated through a public GitHub repository. You can read more on how to contribute in the contribution policy.