Arduino Pin Mapping

ATMega168/328/328p - 28DIP ATMega168/328/328p - 32MLF ATMega644P - 40PDIP
  1. PC6 - PCINT14, Reset [RESET]
  2. PD0 - PCINT16, RXD [PIN0]
  3. PD1 - PCINT17, TXD [PIN1]
  4. PD2 - PCINT18, INT0 [PIN2]
  5. PD3 - PCINT19, INT1, OC2B [PIN3]
  6. PD4 - PCINT20, XCK, T0 [PIN4]
  7. VCC
  8. GND
  9. PB6 - PCINT6, XTAL1, TOSC1
  10. PB7 - PCINT7, XTAL2, TOSC2
  11. PD5 - PCINT21, OC0B, T1 [PIN5/PWM]
  12. PD6 - PCINT22, OC0A, AIN0 [PIN6/PWM]
  13. PD7 - PCINT23, AIN1 [PIN7]
  14. PB0 - PCINT0, CLKO, ICP1 [PIN8]
  15. PB1 - PCINT1, OC1A [PIN9/PWM]
  16. PB2 - PCINT2, OC1B, SS [PIN10/PWM]
  17. PB3 - PCINT3, OC2A, MOSI [PIN11/PWM]
  18. PB4 - PCINT4, MISO [PIN12]
  19. PB5 - PCINT5, SCK [PIN13] LED
  20. AVCC
  21. AREF
  22. GND
  23. PC0 - PCINT8, ADC0 [ANALOG0]
  24. PC1 - PCINT9, ADC1 [ANALOG1]
  25. PC2 - PCINT10, ADC2 [ANALOG2]
  26. PC3 - PCINT11, ADC3 [ANALOG3]
  27. PC4 - PCINT12, ADC4, SDA [ANALOG4]
  28. PC5 - PCINT13, ADC5, SCL [ANALOG5]
  1. PD3 - PCINT19, OC2B, INT1
  2. PD4 - PCINT20, XCK, T0
  3. GND
  4. VCC
  5. GND
  6. VCC
  7. PB6 - PCINT6, XTAL1, TOSC1
  8. PB7 - PCINT7, XTAL2, TOSC2
  9. PD5 - PCINT21, OCB0, T1
  10. PD6 - PCINT22, OC0A, AIN0
  11. PD7 - PCINT23, OC0B,
  12. PB0 - PCINT0, CLKO, ICP1
  13. PB1 - PCINT1, OC1A
  14. PB2 - PCINT2, OC1B, SS
  15. PB3 - PCINT3, OC2A, MOSI
  16. PB4 - PCINT4, MISO
  17. PB5 - PCINT5, SCK
  18. AVCC
  19. ADC6
  20. AREF
  21. GND
  22. ADC7
  23. PC0 - PCINT8, ADC0
  24. PC1 - PCINT9, ADC1
  25. PC2 - PCINT10, ADC2
  26. PC3 - PCINT11, ADC3
  27. PC4 - PCINT12, ADC4, SDA
  28. PC5 - PCINT13, ADC5, SCL
  29. PC6 - PCINT15, RESET
  30. PD0 - PCINT16, RXD
  31. PD1 - PCINT17, TXD
  32. PD2 - PCINT18, INT0
  1. PB0 - PCINT8, XCK0, T0 [PIN0] LED
  2. PB1 - PCINT9, CLKO, T1 [PIN1]
  3. PB2 - PCINT10, INT2, AIN0 [PIN2]
  4. PB3 - PCINT11, OC0A, AIN1 [PIN3/PWM]
  5. PB4 - PCINT12, OC0B, SS [PIN4/PWM]
  6. PB5 - PCINT13, MOSI [PIN5]
  7. PB6 - PCINT14, MISO [PIN6]
  8. PB7 - PCINT15, SCK [PIN7]
  9. RESET
  10. VCC
  11. GND
  12. XTAL2
  13. XTAL1
  14. PD0 - PCINT24, RXD0 [PIN8]
  15. PD1 - PCINT25, TXD0 [PIN9]
  16. PD2 - PCINT26, RXD1, INT0 [PIN10]
  17. PD3 - PCINT27, TXD1, INT1 [PIN11]
  18. PD4 - PCINT28, OC1B [PIN12/PWM]
  19. PD5 - PCINT29, OC1A [PIN13/PWM]
  20. PD6 - PCINT30, OC2B [PIN14/PWM]
  21. PD7 - PCINT31, OC2A [PIN15/PWM]
  22. PC0 - PCINT16, SCL [PIN16]
  23. PC1 - PCINT17, SDA [PIN17]
  24. PC2 - PCINT18, TCK [PIN18]
  25. PC3 - PCINT19, TMS [PIN19]
  26. PC4 - PCINT20, TDO [PIN20]
  27. PC5 - PCINT21, TDI [PIN21]
  28. PC6 - PCINT22, TOSC1 [PIN22]
  29. PC7 - PCINT23, TOSC2 [PIN23]
  30. AVCC
  31. GND
  32. AREF
  33. PA7 - PCINT7, ADC7 [ANALOG7]
  34. PA6 - PCINT6, ADC6 [ANALOG6]
  35. PA5 - PCINT5, ADC5 [ANALOG5]
  36. PA4 - PCINT4, ADC4 [ANALOG4]
  37. PA3 - PCINT3, ADC3 [ANALOG3]
  38. PA2 - PCINT2, ADC2 [ANALOG2]
  39. PA1 - PCINT1, ADC1 [ANALOG1]
  40. PA0 - PCINT0, ADC0 [ANALOG0]