M5Stack Cardputer Pinout

Pinout of the original Cardputer, a card-sized ESP32-S3 computer with a 56-key keyboard and a 1.14-inch display. The Port A close-up shows all four contacts of the device-side Grove socket.

Jump to pin index ↓

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.

4 visible
PinMCU pinTypesNotes
GNDCommon ground at Grove contact J2.4.
PowerNominal 5 V power contact at J2.3. The adjacent selector sets the direction.
I2CGPIOAnalogExternal I²C data on ESP32-S3 GPIO2 at J2.2.
I2CGPIOAnalogExternal I²C clock on ESP32-S3 GPIO1 at J2.1.

Specifications

Product and alias
Cardputer, also sold as the Cardputer Kit w/ M5StampS3 (SKU K132)
Hardware revision
Original K132 with Stamp-S3. The PCB revision inside the photographed unit is unverified.
Controller
Stamp-S3 with ESP32-S3FN8, dual-core up to 240 MHz, 8 MB flash
Display and input
1.14-inch, 240 × 135 ST7789V2 TFT and 56 keys
Expansion and storage
Port A (HY2.0-4P Grove, external I²C) and SPI microSD
Power and logic
USB-C 5 V or built-in batteries (120 mAh internal and 1400 mAh in the base). Port A has 3.3 V signals and a switchable 5 V contact.
Dimensions
84 × 54 × 19.7 mm

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Cardputer K132Product documentationM5StackProduct identity, photos, connector wire colors and peripheral pin map.Datasheet
Cardputer main PCBBoard schematicM5StackJ2 nets, Grove power selector, keyboard matrix and onboard peripherals.Datasheet
Stamp-S3Module schematic v0.2M5StackESP32-S3 terminal mapping, native USB, display interface and RGB LED.Datasheet
ESP32-S3FN8SoC datasheetEspressifGPIO, ADC1 and capacitive-touch channel assignments.Datasheet
Cardputer baseBattery-base schematicM5StackBattery node, ground and the base fuse.Datasheet
Cardputer caseMechanical CADM5StackEnclosure geometry for K132.Datasheet
M5UnifiedOfficial firmware libraryM5StackExternal I²C mapping and onboard SD, microphone, speaker and RGB data wiring.Datasheet

Board notes

Connector orientation
The large photo shows the keyboard face. The close-up looks into the device-side receptacle with the side photo rotated clockwise. The contacts run from GND (top) through 5V and G2 to G1 (bottom).
I²C and GPIO levels
The schematic and M5Unified use GPIO1 for SCL and GPIO2 for SDA. Both signals have onboard 10 kΩ pull-ups to 3.3 V and 3.3 V ESD protection. Use 3.3 V logic even when Port A supplies 5 V.
Grove power selector
The slide switch next to the socket selects the role of J2.3. Set 5VIN to feed the board with nominal 5 V. Set 5VOUT to power an accessory from the boost circuit. M5Stack does not specify a Grove accessory current rating in the K132 documentation.
Native USB and microSD
The Stamp-S3 USB-C port uses GPIO19 (D−) and GPIO20 (D+) for native USB. The microSD socket is wired for SPI on GPIO12 (CS), GPIO14 (MOSI), GPIO40 (SCK) and GPIO39 (MISO).
Onboard display and keyboard
The TFT uses GPIO33 (reset), GPIO34 (D/C), GPIO35 (MOSI), GPIO36 (SCK), GPIO37 (CS) and GPIO38 (backlight control). The keyboard's 74HC138 uses GPIO8/GPIO9/GPIO11 as A0/A1/A2. Its seven sense columns use GPIO13/GPIO15/GPIO3/GPIO4/GPIO5/GPIO6/GPIO7.
Audio, infrared and battery sensing
The PDM microphone uses GPIO46 for data and GPIO43 for clock. The speaker uses GPIO41 (BCLK), GPIO42 (data) and shares GPIO43 (LRCLK). The IR emitter uses GPIO44. GPIO10 reads the battery divider.