M5Stack ATOM Matrix Pinout

A 24 mm ESP32 development module with a 5 × 5 RGB LED matrix, push button, infrared transmitter and six-axis IMU. Nine rear contacts expose six GPIOs and three supply connections.

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 alternate functions

Pin index

Pin index

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

9 visible
PinMCU pinTypesNotes
PowerRegulated 3.3 V board rail.
GPIOSPIUARTBidirectional GPIO22, SiP pad 39.
GPIOSPIUARTBidirectional GPIO19, SiP pad 38.
GPIOSPIBidirectional GPIO23, SiP pad 36.
GPIOAnalogSPIBidirectional GPIO33, SiP pad 13.
GPIOI2CBidirectional GPIO21, SiP pad 42.
GPIOI2CAnalogBidirectional GPIO25, SiP pad 14.
PowerNominal 5 V expansion supply, shared with the HY2.0 connector.
GNDCommon ground. The label abbreviates this to G.

Specifications

Model
C008-B, original MPU6886 generation. PCB revision inside the photographed enclosure is unconfirmed.
Processor
Espressif ESP32-PICO-D4, dual-core Xtensa LX6 up to 240 MHz
Memory
520 KB SRAM, 4 MB integrated flash
Wireless
2.4 GHz Wi-Fi and Bluetooth 4.2 (Classic and LE)
Supply
5 V via USB-C. M5Stack specifies a 5 V, 500 mA supply for the module.
Logic
3.3 V GPIO. The 5 V contacts carry power. Signal pins are not 5 V tolerant.
Onboard I/O
5 × 5 WS2812C-2020 matrix on G27, active-low button on G39, IR TX on G12, MPU6886 at 0x68
Expansion
Five- and four-position 2.54 mm rear sockets, HY2.0-4P Grove port
Size
24 × 24 × 13.8 mm, 7.3 g, M2 mounting point

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATOM Matrix C008-BBoard documentationM5StackPhotographs, model, ratings and peripheral assignments.Datasheet
ATOM Matrix C008-BElectrical block schematicM5StackExpansion rails, shared IMU bus and USB-to-UART0 path.Datasheet
ATOM Matrix C008-BManufacturer pin mapM5StackRear socket order and an example SPI routing.Datasheet
ESP32-PICO-D4SiP datasheetEspressifTable 2 identifies SiP pads and hardware functions.Datasheet
MPU6886IMU datasheetInvenSenseSix-axis accelerometer and gyroscope.Datasheet
M5UnifiedI2C pin tableM5StackDistinct internal and external I2C pin pairs for ATOM Matrix.Datasheet
Arduino-ESP32Board defaultsEspressifWire and SPI pin constants for m5stack_atom.Datasheet

Board notes

Rear sockets
With the rear sticker upright and the cable edge down, the left socket starts one contact higher than the right. The original C008-B pin map identifies the contacts by signal.
Shared rear I2C bus
G21/SCL and G25/SDA are also wired to the MPU6886 at 0x68. Keep them available for I2C while using the IMU. G25's ADC and DAC functions share the same physical bus line.
HY2.0-4P cable port
In rear-sticker order: black GND, red 5 V, yellow G26/SDA, white G32/SCL. With the socket facing you and USB-C above it, left to right is G32, G26, 5 V, GND. This pair is separate from the rear IMU bus.
SPI is software-configured
The diagram uses the Arduino-ESP32 m5stack_atom defaults: G19/SS, G22/SCK, G23/MISO and G33/MOSI. M5Stack's PinMap shows another routing example: G19/MOSI, G23/CLK and G33/MISO.
Power rails
The electrical block schematic shows a diode on USB VBUS and a 0.5 A fuse before expansion 5 V. It does not specify accessory current capacity or concurrent supply behavior.
USB-C and hardware evidence
USB 2.0 connects to a USB-to-UART0 bridge for upload and logging. M5Stack's block schematic does not name the bridge fitted to the pictured unit. A 2020 certification sample shows V1_02 on the separate keypad PCB.