# ATMEGA168 Pin Mappings

Where can I find pin mappings for the ATMEGA168?

• -1. This is one of the worst questions I've seen here so far. If you plan to use a microcontroller I presume you must have heard of datasheets. Sep 9, 2011 at 13:15

Page 2 of the ATMega168 data sheet has the pin mappings for all four packages of the chip, and pages 3 and 4 give a bit more information regarding some of the basic pin functions:

http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf

• You have just RTFM ;-) Jul 8, 2010 at 17:08

Of course this can be found in the atmega168 datasheet from Atmel but sometimes it is also handy to know which Arduino pins correspond to the Atmega168 pin numbers. This reference can be found on the Arduino site.

You can either go to the manufacturers website directly and search for your device (ATMega168 is here, with link to the datasheet)).

Another very good resource for everything AVR is the AVR Freaks community. They have a Device list (Gone, use Atmel's here) (ATMega168 is here) where you can get a quick overview of the chips features, the pin mappings, and of course the official data sheet, too.

Personally, I prefer AVR Freaks for my projects. Ironically, the default search on Atmel.com is google-wide - and directly links to AVR Freaks, too.

• We didn't allow links to be inserted by new users to prevent spam. The links you posted were very good, though! Here's an upvote to help you gain more privileges and continue contributing. May 3, 2011 at 15:02
• Thanks very much. Unfortunately though AVR Freaks discontinued the device list (or at least searching for it), leading to Atmel.com which search and comparison featuers are really lacking. Personally, I doubt the smartness of this decision from Atmel Corp. May 30, 2011 at 10:40
• Thanks for the update on the broken link. I've fixed your answer for now, you can edit it with new information in the future with the "Edit" link. May 31, 2011 at 12:27
• (Note that the strike tags are just because I agree that AVR Freaks' removal of the device list is ill advised, and the links to the individual micros are still working so I think they might bring it back - you are free to remove obsolete information entirely if you like.) May 31, 2011 at 12:27

Be aware, shameless promotion ;)

Here is a cheat sheet with the ATmega-Arduino pin mapping on it. http://tinkerlog.com/2009/06/18/microcontroller-cheat-sheet/

You may find it at http://www.msarnoff.org/chipdb/atmega168. Very plain and simple site. They will also link you to the original ATMega PDF document if you need more than just a pinout.