Component-side view with USB-C at the top and Qwiic at the bottom. TX and RX are Serial1. The two castellated rows follow the silkscreen. The four lower labels point to the Qwiic solder tails, numbered 1–4 from left to right.
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 alternate functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
28 visible
Pin
MCU pin
Types
Notes
UARTGPIO
D1 on AVR port PD3. USART1 transmit (Arduino Serial1). External interrupt 3.
Power
Feeds the AP2112 input and the factory 5 V side of JP4. With USB power this rail follows VBUS after the fuse and Schottky diode.
UARTGPIO
D0 on AVR port PD2. USART1 receive (Arduino Serial1). External interrupt 2.
GND
Common ground shared by the MCU, Qwiic and USB.
GND
Common ground shared by the MCU, Qwiic and USB.
Control
Active-low MCU reset. S1 momentarily connects this signal to ground. R2 pulls it up to VCC.
GND
Common ground shared by the MCU, Qwiic and USB.
Power
Selected MCU and GPIO supply. JP4 connects this pin to RAW at the factory or to regulated 3.3 V after reconfiguration.
I2CGPIO
D2 on AVR port PD1. I²C data shared with Qwiic J2 pin 3. External interrupt 1.
AnalogGPIO
D21 on AVR port PF4. 10-bit ADC input, channel 4. JTAG test clock when JTAG is enabled.
I2CGPIOPWM
D3 on AVR port PD0. I²C clock shared with Qwiic J2 pin 4. Pulse-width modulation with Arduino analogWrite(). Timer 0 compare output B. External interrupt 0.
AnalogGPIO
D20 on AVR port PF5. 10-bit ADC input, channel 5. JTAG test mode select when enabled.
GPIOAnalog
D4 on AVR port PD4. Arduino analog input A6. 10-bit ADC input, channel 8. Timer 1 input capture.
AnalogGPIO
D19 on AVR port PF6. 10-bit ADC input, channel 6. JTAG test data output when enabled.
GPIOPWM
D5 on AVR port PC6. Pulse-width modulation with Arduino analogWrite(). Timer 3 compare output A. Timer 4 compare output A (complementary).
AnalogGPIO
D18 on AVR port PF7. 10-bit ADC input, channel 7. JTAG test data input when enabled.
GPIOPWMAnalog
D6 on AVR port PD7. Arduino analog input A7. 10-bit ADC input, channel 10. Pulse-width modulation with Arduino analogWrite(). Timer 4 compare output D. External clock input for Timer 0.
SPIGPIO
D15 on AVR port PB1. SPI clock. Pin-change interrupt 1.
GPIO
D7 on AVR port PE6. External interrupt 6. Analog comparator positive input.
SPIGPIO
D14 on AVR port PB3. SPI data from peripheral to controller. Serial programming data output. Pin-change interrupt 3.
GPIOAnalog
D8 on AVR port PB4. Arduino analog input A8. 10-bit ADC input, channel 11. Pin-change interrupt 4.
SPIGPIO
D16 on AVR port PB2. SPI data from controller to peripheral. Serial programming data input. Pin-change interrupt 2.
GPIOPWMAnalog
D9 on AVR port PB5. Arduino analog input A9. 10-bit ADC input, channel 12. Pulse-width modulation with Arduino analogWrite(). Timer 1 compare output A. Timer 4 compare output B (complementary). Pin-change interrupt 5.
GPIOPWMAnalog
D10 on AVR port PB6. Arduino analog input A10. 10-bit ADC input, channel 13. Pulse-width modulation with Arduino analogWrite(). Timer 1 compare output B. Timer 4 compare output B. Pin-change interrupt 6.
GND
Ground return, black wire.
Power
Regulated 3.3 V supply, red wire. Independent of JP4.
I2C
I²C data, blue wire. Shared with header D2 (PD1).
I2C
I²C clock, yellow wire. Shared with header D3 (PD0).
With USB-C at the top in the rear view, the left pad is RAW (5V), the center is VCC and the right pad is 3V3. The factory trace joins left and center. With power disconnected, cut that trace before bridging center to right.
Power and clock
The 5V side-header marking denotes selected VCC. In the factory setting it follows RAW, about 4.8 V with USB power. U1 is an AP2112 3.3 V regulator. Selecting 3.3 V leaves the 16 MHz crystal in place. The MCU is rated for 16 MHz from 4.5 V.
Qwiic J2
The four J2 solder tails run GND, 3.3 V, SDA, SCL in the front view. Qwiic power and the two 2.2 kΩ bus pull-ups always use 3.3 V. SDA and SCL share the side contacts 2 and 3 directly.
USB-C J5 and rear pads JP14
J5 carries native USB 2.0. A6/B6 share D+ and A7/B7 share D−. CC1 and CC2 each have a 5.1 kΩ pull-down. The rear V pad is VBUS ahead of the fuse and diode. D− and D+ are connector-side pads ahead of the series resistors.
Reset and indicators
S1 pulls RESET low. LED1 is the red 3.3 V power indicator. D3 is the green USB TX LED (PD5/D30) and D1 the yellow USB RX LED (PB0/D17). Both activity LEDs are active-low. Hardware SS on PB0 is shared with RX LED.
Photography
Front and rear photographs by SparkFun Electronics. The rear photograph identifies the PCB as v20.