Pimoroni Tiny 2040 Pinout

Pinout of the 8 MB Pimoroni Tiny 2040. The left row carries power and analog inputs, the right row exposes GP0–GP7, and the bottom edge carries three pads for Serial Wire Debug.

Main pinout

100%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 advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

19 visible
PinMCU pinTypesNotes
PowerUSB-C bus power and unregulated supply input, marked 5V.
GNDCommon ground near VBUS and 3V3.
PowerRegulated 3.3 V supply output, marked 3V.
AnalogGPIOSPII2CUARTPWMAnalog input ADC3 or 3.3 V digital I/O on GP29.
AnalogGPIOSPII2CUARTPWMAnalog input ADC2 or 3.3 V digital I/O on GP28.
AnalogGPIOSPII2CUARTPWMAnalog input ADC1 or 3.3 V digital I/O on GP27.
AnalogGPIOSPII2CUARTPWMAnalog input ADC0 or 3.3 V digital I/O on GP26.
GNDCommon ground near A0.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP0. The silkscreen marks it 0.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP1. The silkscreen marks it 1.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP2. The silkscreen marks it 2.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP3. The silkscreen marks it 3.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP4. The silkscreen marks it 4.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP5. The silkscreen marks it 5.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP6. The silkscreen marks it 6.
GPIOSPII2CUARTPWM3.3 V digital I/O on GP7. The silkscreen marks it 7.
SWDSerial Wire Debug clock input from the probe.
GNDCommon ground for the debug probe.
SWDBidirectional Serial Wire Debug data.

Specifications

Board
Tiny 2040 (PIM558), 8 MB, supplied without headers. PCB revision marking unconfirmed.
Microcontroller
Raspberry Pi RP2040, dual Arm Cortex-M0+, up to 133 MHz, 264 KB SRAM.
Flash
8 MB onboard QSPI flash. The schematic specifies W25Q64JVXGIQ.
Power input
USB-C or 3–5.5 V at VBUS with USB power disconnected. Both use the same rail.
3V3 output
Onboard regulator output. The regulator rating is 300 mA total, including the board load. Output falls below 3.3 V when input headroom is insufficient.
I/O voltage
3.3 V logic. Use 0 V to ADC_AVDD for analog inputs. GPIO pins are not 5 V tolerant.
Exposed pins
Two rows of eight castellated contacts at 2.54 mm pitch, plus three SWD pads at the bottom.
GPIO peripherals
12 GPIO with hardware SPI, I2C, UART, PWM and both PIO blocks. A0–A3 add four 12-bit ADC inputs.
Onboard controls
Active-low RGB LED on GP18/GP19/GP20. RESET pulls RUN low. BOOT doubles as an active-low user button on GP23.
USB and debug
USB-C for USB 1.1 full-speed device data, power and UF2 programming. Separate SWCLK, GND and SWDIO pads.
Dimensions
Approximately 22.9 × 18.2 × 6 mm, including the USB-C connector.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Tiny 2040Product and variant identificationPimoroniPIM558 is the 8 MB board without pre-soldered headers.Datasheet
Tiny 2040 PIM558Board schematicPimoroniSheet 1, generated 17 May 2021. Identifies pad nets, the power rail and onboard controls.Datasheet
Tiny 2040Manufacturer pinoutPimoroniFront-side pad numbering and SWD order.Datasheet
TINY2040EAGLE module footprint and symbolPimoroniChecks the two rows, 2.54 mm pitch and the three SWD positions.Datasheet
RP2040Microcontroller datasheetRaspberry PiSections 1.4.2 and 1.4.3 identify package pins and GPIO function selection.Datasheet