Arduino Basics PDF
Arduino Basics PDF
D19/SCL PC SC
D18/SDA 5 L
AREF PC SD
GND 4 A
SPI
NC
D13 PB SCK
Micro IOREF
D12 5 CIPO
PC6 RESET
~D11 PB COPI
+3V3 ~D10 4 SS
+5V ~D9 PB
GND D8 3
GND
PB
VIN D7
ATMEGA328P 2
~D6
A nal og PB
ADC[0 PC A A0D14 ~D5
1
] 0 0 A1D15 D4
PB
ADC[1 PC A A2D16 ~D3
0
] 1 1 D17 D2
] 2 2 A5D19 D0/RX
7
ADC[3 PC A PD
] 3 3 LED_BUILTIN 6
PB
ADC[4 PC A PD
TOP VIEW TX LED 5
] 4 4 RX LED PD
5
ADC[5 PC A 5
PD
] 5 5 Power 4
PD
PD
4
3
PD
2
PD
Legend: PD
MAXIMUM current per
0 pin is 20mA
I/O
Power Power Input GPIO Digital External I2C Default LED
MAXIMUM current per
+3.3V pin is 50mA
Power Output Analog External SPI Default RGB
VIN 6-20V input to the board
S K U code: A0 0 0 0 6 6
Ground Main Part UART/USART Default LED F u l l Pinout - P a g e 1 of
5 L ast upd a t e : 6 Oct,
2022
Secondary Part Other SERIAL Other CIPO/COPI have previously been
referred to as MISO/MOSI This work is licensed under
the Creative Commons
Internal Component Communication Analog Attribution-ShareAlike 4.0
International License. To view a
copy of this license, visit http://
Other Pins (Reset, System Default
creativecommons.org/licenses/
by-sa/4.0/ or send a letter to
Control, Debugging) Creative Commons, PO Box 1866,
Mountain View, CA 94042, USA.
PWM/Timer
WARNING!
Advanced Section
The following information is for advanced use only and
may n o t be offic ially supported b y A r d u i n o s o f t w a r e
Micro I2 C SPI UA RT In te rrup t Ana log
D19/SCL PC SC PCINT[13 ADC[5
D18/SDA 5 L ] ]
AREF PC SD PCINT[12 ADC[4
GND 4 A ] ]
NC
D13 PB SCK PCINT[5]
I nte r r upt I2C Micro IOREF
D12 5 CIPO PCINT[4]
Timer
PCINT[14] RESET PC6 RESET
~D11 PB COPI PCINT[3] OC2A
+3V3 ~D10 4 SS PCINT[2] OC1B
+5V ~D9 PB PCINT[1] OC1A
GND D8 3 PCINT[0] CLKO/ICP1
GND
PB
VIN D7 PCINT[23] AIN[1
ATMEGA328P 2
~D6 PCINT[22] ] OC0A
A nal og PB
PCINT[8] ADC[0 PC A A0D14 ~D5 PCINT[21] AIN[0 OC0B/T1
1
PCINT[9] ] 0 0 A1D15 D4 PCINT[20] ] T0/XCK
PB
PCINT[10 ADC[1 PC A A2D16 ~D3 PCINT[19]/INT[1] OC2B
0
] ] 1 1 D17 D2 PCINT[18]/INT[0]
Legend: PD
MAXIMUM current per
0 pin is 20mA
I/O
Power Power Input GPIO Digital External I2C Default LED
MAXIMUM current per
+3.3V pin is 50mA
Power Output Analog External SPI Default RGB
VIN 6-20V input to the board
S K U code: A0 0 0 0 6 6
Ground Main Part UART/USART Default LED F u l l Pinout - P a g e 3 of
5 L ast upd a t e : 6 Oct,
2022
Secondary Part Other SERIAL Other CIPO/COPI have previously been
referred to as MISO/MOSI This work is licensed under
the Creative Commons
Internal Component Communication Analog Attribution-ShareAlike 4.0
International License. To view a
copy of this license, visit http://
Other Pins (Reset, System Default
creativecommons.org/licenses/
by-sa/4.0/ or send a letter to
Control, Debugging) Creative Commons, PO Box 1866,
Mountain View, CA 94042, USA.
PWM/Timer
ATMEGA16U2
GND UCAP
VBUS UVCC
USB D- D-
USB D+ D+
GND UGND
Micro ATMEGA16U2
ICSP-1 PB
ICSP-4 3
ICSP-3 PB
6 5 ICSP1 ATMEGA16U2
RESET 2
4 3 1 CIPO SCK
TX LED PB
2 1 2 +5V
RX LED 1
Timer Analog Interrupt 3 SCK CIP
TCA0/WO AIN[0 INT[24 PD0 PD
4 COPI O
0 ] ] PD1 7
5 RESET UPD
TCA0/WO AIN[1 INT[25 ICSP-5 PD
6 GND I
1 ] ] 5
PD
4
PD
3
PD
2
PC ICSP Micro SPI Interrup
1 1 CIPO PB4 CIP t
+5V O PCINT[4]
2
3 SCK PB SCK PCINT[5 Time
4 COPI 5 COP ] r
5 3 1 RESET
5 PB I PCINT[3 OC2A
6 GND 3 ]
6 4 2
TOP VIEW
ATMEGA16U2
PB 1
4 2 2 4
PB 3 1 3
6 4
PB
Cut the solder jumper RESET
to disable auto-reset 5
PB
7
TOP VIEW