Arduino Connector |
(Mega 2560) |
(Leonardo) |
(Uno) |
Board Pin |
Chip Port and Channel |
Chip Port and Channel |
Chip Port and Channel |
Analog pin 0 |
PF0 (ADC0)
|
PF7 (ADC7/TDI)
|
PC0 (ADC0/PCINT8) |
Analog pin 1 |
PF1 (ADC1)
|
PF6 (ADC6/TDO)
|
PC1 (ADC1/PCINT9)
|
Analog pin 2 |
PF2 (ADC2)
|
PF5 (ADC5/TMS)
|
PC2 (ADC2/PCINT10)
|
Analog pin 3 |
PF3 (ADC3)
|
PF4 (ADC4/TCK)
|
PC3 (ADC3/PCINT11)
|
Analog pin 4 |
PF4 (ADC4 /TMK)
|
PF1 (ADC1)
|
PC4 (ADC4/SDA/PCINT12)
|
Analog pin 5 |
PF5 (ADC5 /TMS) |
PF0 (ADC0) |
PC5 (ADC5/SCL/PCINT13) |
Analog pin 6 |
PF6 (ADC6) |
|
|
Analog pin 7 |
PF7 (ADC7) |
|
|
Analog pin 8 |
PK0 (ADC8 /PCINT16) |
|
|
Analog pin 9 |
PK1 (ADC9 /PCINT17) |
|
|
Analog pin 10 |
PK2 (ADC10 /PCINT18) |
|
|
Analog pin 11 |
PK3 (ADC11 /PCINT19) |
|
|
Analog pin 12 |
PK4 (ADC12 /PCINT20) |
|
|
Analog pin 13 |
PK5 (ADC13 /PCINT21) |
|
|
Analog pin 14 |
PK6 (ADC14 /PCINT22) |
|
|
Analog pin 15 |
PK7 (ADC15 /PCINT23) |
|
|
Digital pin 0 |
PE0 (RXD0/PCINT8) (RX0) |
PD2 (RX D1/AIN1/INT2) (RX) |
PD0 (PCINT16/RXD) (RX0) |
Digital pin 1 |
PE1 (TXD0) (TX0) |
PD3 (TXD1/INT3) (TX) |
PD1 (PCINT17/TXD) (TX0) |
Digital pin 2 |
PE4 (OC3B/INT4) (PWM) |
PD1 (SDA/INT1) |
PD2 (PCINT18/INT0) |
Digital pin 3 |
PE5 (OC3C/INT5) (PWM) |
PD0 (OC0B/SCL/INT0) (PWM) |
PD3 (PCINT19/OC2B/INT1) (PWM) |
Digital pin 4 |
PG5 (OC0B) (PWM) |
PD4 (ICP1/ADC8) |
PD4 (PCINT20/XCK/T0) |
Digital pin 5 |
PE3 (OC3A/AIN1) (PWM) |
PC6 (OC3A/#0C4A) (PWM) |
PD5 (PCINT21/OX0B/T1) (PWM) |
Digital pin 6 |
PH3 (OC4A) (PWM) |
PD7 (T0/OC4D/ADC10) (PWM) |
PD6 (PCINT22/OC0A/AIN0) (PWM) |
Digital pin 7 |
PH4 (OC4B) (PWM) |
PE6 (INT.6/AIN0) |
PD 7 (PCINT23/AIN1) |
Digital pin 8 |
PH5 (OC4C) (PWM) |
PB4 (ADC11/PCINT4) |
PB0 (PCINT0/CLKO/ICP1) |
Digital pin 9 |
PH6 (OC2B) (PWM) |
PB5 (PCINT5/OC1A/#OC4B/ADC12) (PWM) |
PB1 (OC1A/PCINT1) (PWM) |
Digital pin 10 |
PB4 (OC2A/PCINT4) (PWM) |
PB6 (PCINT6/OC1B/OC4B/ADC13) (PWM) |
PB2 (SS/OC1B/PCINT2) (PWM) |
Digital pin 11 |
PB5 (OC1A/PCINT5) (PWM) |
PB7 (PCINT7/OC0A/OC1C/#RTS) (PWM) |
PB3 (MOSI/OC2A/PCINT3) (PWM) |
Digital pin 12 |
PB6 (OC1B/PCINT6) (PWM) |
PD6 (T1/#OC4D/ADC9) |
PB4 (MISO/PCINT4) |
Digital pin 13 |
PB7 (OC0A/OC1C/PCINT7) (PWM) |
PC7 (ICP3/CLK0/)0C4A) (PWM) |
PB5 (SCK/PCINT5) |
Digital pin 14 |
PJ1 (TXD3/PCINT10) (TX3) |
|
|
Digital pin 15 |
PJ0 (RXD3/PCINT9) (RX3) |
|
|
Digital pin 16 |
PH1 (TXD2) (TX2) |
|
|
Digital pin 17 |
PH0 (RXD2) (RX2) |
|
|
Digital pin 18 |
PD3 (TXD1/INT3) (TX1) |
|
|
Digital pin 19 |
PD2 (RXDI/INT2) (RX1) |
|
|
Digital pin 20 |
PD1 (SDA/INT1) (SDA) |
|
|
Digital pin 21 |
PD0 (SCL/INT0) (SCL) |
|
|
Digital pin 22 |
PA0 (AD0) |
|
|
Digital pin 23 |
PA1 (AD1) |
|
|
Digital pin 24 |
PA2 (AD2) |
|
|
Digital pin 25 |
PA3 (AD3) |
|
|
Digital pin 26 |
PA4 (AD4) |
|
|
Digital pin 27 |
PA5 (AD5) |
|
|
Digital pin 28 |
PA6 (AD6) |
|
|
Digital pin 29 |
PA7 (AD7) |
|
|
Digital pin 30 |
PC7 (A15) |
|
|
Digital pin 31 |
PC6 (A14) |
|
|
Digital pin 32 |
PC5 (A13) |
|
|
Digital pin 33 |
PC4 (A12) |
|
|
Digital pin 34 |
PC3 (A11) |
|
|
Digital pin 35 |
PC2 (A10) |
|
|
Digital pin 36 |
PC1 (A9) |
|
|
Digital pin 37 |
PC0 (A8) |
|
|
Digital pin 38 |
PD7 (T0) |
|
|
Digital pin 39 |
PG2 (ALE) |
|
|
Digital pin 40 |
PG1 (RD) |
|
|
Digital pin 41 |
PG0 (WR) |
|
|
Digital pin 42 |
PL7 |
|
|
Digital pin 43 |
PL6 |
|
|
Digital pin 44 |
PL5 (OC5C) (PWM) |
|
|
Digital pin 45 |
PL4 (OC5B) (PWM) |
|
|
Digital pin 46 |
PL3 (OC5A) (PWM) |
|
|
Digital pin 47 |
PL2 (T5) |
|
|
Digital pin 48 |
PL1 (ICP5) |
|
|
Digital pin 49 |
PL0 (ICP4) |
|
|
Digital pin 50 |
PB3 (MISO/PCINT3) (MISO) |
|
|
Digital pin 51 |
PB2 (MOSI/PCINT2) (MOSI) |
|
|
Digital pin 52 |
PB1 (SCK/PCINT1) (SCK) |
|
|
Digital pin 53 |
PB0 (SS/PCINT0) (SS) |
|
|