ATMEGA328 pinout

I would like to know which pins are connected to the output of the Arduino.

For example:

  • PC6 is digital 12
  • PB5 is analog 13
  • etc...

6 Answers 6


Image searching for the term "arduino uno pinout" reveals a better pinout diagram.

enter image description here


I prefer this image, as it combines the arduino pin numbers and PWM capabilities, with the names and functions from the datasheet.

enter image description here


I usually preferred this image. It very useful for me every time.

Atmega Pin Mapping


I think this is the diagram you are seeking. enter image description here

  • thanks for your help everyone just another question is there another program to implement the code to the arduino other than the official arduino program i need a program where i can debug and put break points like mplab thanks for your help
    – Hilal
    Mar 16, 2017 at 20:22
  • Start a new question...
    – KC Tucker
    Mar 17, 2017 at 2:50

Or you could simply look at the Arduino Uno schematic, which has everything you should ever need to know.

Uno schematic


Updated: Pins PB6 & PB7 while available as I/O pins (D6 & D7) are committed to the external crystal on this board and not brought out to the connectors.

  • That is not true: you cannot find a connector for XTAL for instance.
    – jfpoilpret
    Mar 19, 2017 at 9:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.