Where can I find pin mappings for the ATMEGA168?
|
|
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 |
|||||
|
|
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. 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. |
|||||||||
|
|
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. |
|||
|
|
|
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/ |
||||
|
|
