3
\$\begingroup\$

Where can I find pin mappings for the ATMEGA168?

\$\endgroup\$
1
  • 3
    \$\begingroup\$ -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. \$\endgroup\$
    – stevenvh
    Sep 9, 2011 at 13:15

5 Answers 5

10
\$\begingroup\$

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

\$\endgroup\$
1
  • 2
    \$\begingroup\$ You have just RTFM ;-) \$\endgroup\$ Jul 8, 2010 at 17:08
5
\$\begingroup\$

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.

\$\endgroup\$
4
\$\begingroup\$

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.

\$\endgroup\$
4
  • \$\begingroup\$ 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. \$\endgroup\$ May 3, 2011 at 15:02
  • \$\begingroup\$ 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. \$\endgroup\$
    – Zefiro
    May 30, 2011 at 10:40
  • \$\begingroup\$ 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. \$\endgroup\$ May 31, 2011 at 12:27
  • \$\begingroup\$ (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.) \$\endgroup\$ May 31, 2011 at 12:27
3
\$\begingroup\$

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/

\$\endgroup\$
2
\$\begingroup\$

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.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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