M5Stack Cardputer-Adv Pinout

The Cardputer-Adv pairs a Stamp-S3A with a 56-key keyboard, ES8311 audio and a BMI270 IMU. The pinout covers all 14 contacts on the EXT header and all four on Port A.

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.

18 visible
PinMCU pinTypesNotes
GPIOReset output to an expansion accessory.
PowerNominal 5 V input to power the Cardputer-Adv.
GPIOInterrupt input from an expansion accessory.
GNDCommon ground return for EXT power and signals.
GPIOBusy input from an expansion accessory.
PowerNominal 5 V output for expansion accessories.
SPISPI clock output from the Cardputer-Adv.
I2CData on the internal I²C bus exposed at EXT.
SPISPI data from the Cardputer-Adv to the accessory.
I2CClock on the internal I²C bus exposed at EXT.
SPISPI data from the accessory to the Cardputer-Adv.
UARTUART transmit from the Cardputer-Adv to the accessory RX.
SPISPI chip select for an expansion accessory.
UARTUART receive at the Cardputer-Adv from the accessory TX.
GNDBlack wire. Ground return for Port A.
PowerRed wire. Nominal 5 V contact switched by SW2.
I2CGPIOYellow wire. Grove I²C data on GPIO2.
I2CGPIOWhite wire. Grove I²C clock on GPIO1.

Specifications

Model
Cardputer-Adv (K132-Adv), the variant with the 2 × 7 EXT connector and headphone jack
Revision evidence
Cardputer-Adv schematic v1.0 (June 2025). The PCB revision is unverified in the assembled gallery unit.
Controller
Stamp-S3A, ESP32-S3FN8, dual-core up to 240 MHz, 8 MB flash
Display and keyboard
1.14-inch ST7789V2, 240 × 135. TCA8418 scans the 56-key keyboard.
Expansion
EXT 2 × 7 at 2.54 mm and Grove HY2.0-4P at 2.0 mm. GPIO signals use 3.3 V logic.
Power
USB-C 5 V or internal Li-ion battery. The gallery unit is marked 1500 mAh. Earlier units were specified at 1750 mAh.
Dimensions
84 × 54 × 19.6 mm

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Cardputer-AdvProduct referenceM5StackSKU, gallery, connector table and power switch.Datasheet
Cardputer-AdvSchematic v1.0M5StackJ2 and SW2 on sheet 1, P3 on sheet 4.Datasheet
Stamp-S3AModule schematicM5StackESP32-S3, USB-C and module GPIO mapping.Datasheet
Cardputer-AdvDimension drawingM5StackAssembly dimensions and port locations.Datasheet
Cardputer-AdvMechanical CADM5StackEnclosure cutouts and orientation.Datasheet
ESP32-S3FN8SoC datasheetEspressifGPIO voltages, ADC channels and the GPIO3 strap.Datasheet
Cap LoRa-1262Mating accessoryM5StackExpansion positions and accessory-side UART names.Datasheet
Cardputer-Adv UserDemoFactory firmwareM5StackG13 host TX and G15 host RX.Datasheet
M5UnifiedDriver libraryM5StackIndependent Grove I²C and onboard SPI and I²C pin assignments.Datasheet

Board notes

Read the EXT socket
Both details look into the device-side sockets. In the EXT photo, positions 1 and 2 are at the Stamp-S3A and G0 end. The right column is the keyboard-side row. Position numbers follow the product PinMap. P3 uses another numbering sequence in the schematic.
EXT power and logic
Position 2 takes nominal 5 V on +5VIN, the board supply and charge input. Position 6 supplies nominal 5 V on +5VOUT through the SY7088 boost path and D2. Position 4 is ground. Use 3.3 V signals.
Shared buses
EXT G40, G14 and G39 share SCK, MOSI and MISO with the microSD slot. The slot has its own CS on G12. EXT G8 and G9 share an I²C bus with the ES8311, TCA8418 and BMI270 (0x18, 0x34 and 0x69). The board already has 3.3 kΩ I²C pull-ups.
Grove Port A
The Grove I²C bus uses G2 for SDA and G1 for SCL, with 10 kΩ pull-ups to 3.3 V and ESD protection. SW2 selects input or output for its 5 V contact. The EXT connector has separate 5 V input and output positions.
Audio and controls
G41 is the I²S bit clock, G43 is LRCK, G42 sends audio to the ES8311 and G46 receives audio from it. The 3.5 mm jack disables the speaker amplifier when a plug is inserted. The reset button drives EN. The G0 button selects the download mode during power-up.
Display and sensors
The display uses GPIO33–37 (reset, D/C, data, clock and CS), with backlight and Stamp-S3A RGB power enable on G38. G44 drives the IR emitter, G10 senses the battery through a divider and G11 is the keyboard interrupt.