Arduino R3-compatible development board with ATmega328P, CH340C USB serial interface and a 3.3 V Qwiic I2C connector. The diagram shows all shield header and ISP contacts on the component side.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show datasheet advanced pin functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
38 visible
Pin
MCU pin
Types
Notes
PC5
I2CAnalogGPIO
I2C clock on PC5, electrically the same net as A5; connected to Qwiic SCL through a level converter.
PC4
I2CAnalogGPIO
I2C data on PC4, electrically the same net as A4; connected to Qwiic SDA through a level converter.
AREF
Analog
Analog-to-digital converter reference input.
GND
Common ground reference.
PB5
GPIOSPI
Arduino digital I/O 13 on ATmega328P PB5. Alternate or shared functions: SCK, LED.
PB4
GPIOSPI
Arduino digital I/O 12 on ATmega328P PB4. Alternate or shared functions: MISO.
PB3
GPIOPWMSPI
Arduino digital I/O 11 on ATmega328P PB3. Alternate or shared functions: MOSI, PWM.
PB2
GPIOPWMSPI
Arduino digital I/O 10 on ATmega328P PB2. Alternate or shared functions: SS, PWM.
PB1
GPIOPWM
Arduino digital I/O 9 on ATmega328P PB1. Alternate or shared functions: PWM.
PB0
GPIO
Arduino digital I/O 8 on ATmega328P PB0.
PD7
GPIO
Arduino digital I/O 7 on ATmega328P PD7.
PD6
GPIOPWM
Arduino digital I/O 6 on ATmega328P PD6. Alternate or shared functions: PWM.
PD5
GPIOPWM
Arduino digital I/O 5 on ATmega328P PD5. Alternate or shared functions: PWM.
PD4
GPIO
Arduino digital I/O 4 on ATmega328P PD4.
PD3
GPIOPWM
Arduino digital I/O 3 on ATmega328P PD3. Alternate or shared functions: PWM, INT1.
PD2
GPIO
Arduino digital I/O 2 on ATmega328P PD2. Alternate or shared functions: INT0.
PD1
GPIOUART
Arduino digital I/O 1 on ATmega328P PD1. Alternate or shared functions: TX.
PD0
GPIOUART
Arduino digital I/O 0 on ATmega328P PD0. Alternate or shared functions: RX.
Control
Unconnected contact on this revision of the power header.
Power
IOREF contact is tied to the 5 V rail on the published RedBoard Qwiic schematic.
PC6
Control
Active-low reset input, connected to the reset switch and ISP reset.
Power
Regulated 3.3 V supply from the AP2112 regulator.
Power
Board 5 V supply rail, supplied from USB or the onboard regulator.
GND
Common ground contact on the power header.
GND
Second common ground contact on the power header.
Power
External unregulated supply input to the board regulator.
PC0
AnalogGPIO
Analog input ADC0 / digital I/O 14 on ATmega328P PC0.
PC1
AnalogGPIO
Analog input ADC1 / digital I/O 15 on ATmega328P PC1.
PC2
AnalogGPIO
Analog input ADC2 / digital I/O 16 on ATmega328P PC2.
PC3
AnalogGPIO
Analog input ADC3 / digital I/O 17 on ATmega328P PC3.
PC4
AnalogGPIOI2C
Analog input ADC4 / digital I/O 18 on ATmega328P PC4.
PC5
AnalogGPIOI2C
Analog input ADC5 / digital I/O 19 on ATmega328P PC5.
Control
ISP reset, shared with the reset button and RESET header.
GND
ISP ground, common with the board ground.
SPI
ISP serial clock, shared with digital pin D13.
SPI
ISP data to the microcontroller, shared with digital pin D11.
SPI
ISP data from the microcontroller, shared with digital pin D12.
Power
ISP supply/reference; J2 pin 2 connects to the selectable MCU VCC net on the published schematic.
Specifications
Microcontroller
ATmega328P / 16 MHz
Memory
32 KB flash / 2 KB SRAM / 1 KB EEPROM
I/O
20 GPIO / 6 ADC / 6 PWM
Logic selection
5 V default / 3.3 V selectable
Input supply
5 V USB / 7–15 V VIN
Interfaces
USB, UART, SPI, I2C, Qwiic
References
Datasheets
Manufacturer references and technical documentation.
Chip
Role
Manufacturer
Notes
Link
RedBoard Qwiic
Board schematic, revision v10
SparkFun
Power, I/O jumper, ISP and Qwiic level-shifting circuits.
The I/O jumper selects the ATmega328P VCC between 5 V (default) and 3.3 V. On the published v10 schematic the IOREF header contact remains connected to 5 V, so it does not reflect a 3.3 V selection.
3.3 V and clock speed
The board has a 16 MHz clock even when 3.3 V is selected. Check the ATmega328P frequency-versus-voltage operating limits when using that configuration.
Qwiic connector
The Qwiic socket carries GND, 3.3 V, SDA and SCL (pins 1–4). SDA and SCL connect to A4/A5 through onboard bidirectional level shifters. The 3.3 V rail supplies Qwiic.
A4/A5 jumpers
Open the A4 and A5 jumpers to disconnect the Qwiic level-shifting circuit if those pins are needed independently, for example for analog measurements.
ISP and shared pins
The six ISP contacts duplicate MISO/D12, MOSI/D11, SCK/D13, reset, ground and VCC. The official guide recommends the 5 V I/O setting for ISP programming; confirm the programmer voltage.
USB serial
The CH340C shares D0/RX and D1/TX with the microcontroller serial port. Connected hardware may affect uploading and serial communication.