M5Stack Basic Core Pinout

The original K001 Basic Core is a stackable ESP32 controller with a 2-inch LCD, microSD slot and detachable battery base.

Jump to pin index ↓

Main pinout

The original K001 Basic Core is a stackable ESP32 controller with a 2-inch LCD, microSD slot and detachable battery base. The photograph shows the 2017.6 component side with the base removed. Use this view to identify the 30 M5-Bus positions and four Port A contacts.

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.

34 visible
PinMCU pinTypesNotes
GNDGround and common return.
ADCGPIO35 analog or digital input.
GNDGround and common return.
ADCGPIO36 (SENSOR_VP) analog or digital input.
GNDGround and common return.
ResetActive-low ESP32 reset via CHIP_PU.
SPISPI controller data output to the display and microSD.
DACGPIO25 drives the onboard speaker amplifier through C43.
SPISPI controller data input from the microSD slot.
DACGPIO26 offers the second ESP32 DAC channel.
SPISPI clock shared by the display and microSD.
PowerRegulated 3.3 V expansion rail.
UARTUART0 receive at the ESP32.
UARTUART0 transmit from the ESP32.
UARTGPIO16, UART2 receive in the M5Stack pin map.
UARTGPIO17, UART2 transmit in the M5Stack pin map.
I2CI2C data on GPIO21.
I2CI2C clock on GPIO22.
GPIOGPIO2 participates in ESP32 download-mode selection.
GPIOGPIO5 is exposed as general-purpose I/O.
I2SGPIO12 is the bit-clock position in the M5-Bus I2S assignment.
I2SGPIO13 is the word-select position in the M5-Bus I2S assignment.
I2SGPIO15 is the data-output position in the M5-Bus I2S assignment.
I2SGPIO0 is the master-clock position in the M5-Bus I2S assignment.
OtherPosition marked HPWR on the module sticker.
I2SGPIO34 is the data-input position in the M5-Bus I2S assignment.
OtherPosition marked HPWR on the module sticker.
PowerNominal 5 V system rail.
OtherPosition marked HPWR on the module sticker.
PowerPositive terminal of the single-cell battery rail.
I2CI2C clock on GPIO22.
I2CI2C data on GPIO21.
PowerNominal 5 V system rail.
GNDGround and common return.

Specifications

Board
Original M5Stack Basic (Basic Core), SKU K001. The certification PCB is marked 2017.6.
Main chips
ESP32-D0WDQ6, IP5306 and CP2104 in the 2017 schematic. Flash, battery and LCD specifications changed during K001 production.
Power and logic
5 V USB input. ESP32 signals use 3.3 V logic, including Port A. BAT is the single-cell rail. The HPWR operating voltage is unverified.
Expansion
M5-Bus P1 is a 2 × 15 receptacle. The stock base duplicates 15 positions on its long edges and eight positions on its short edges.
Shared interfaces
Port A and M5-Bus share G21/G22 with the IP5306 (0x75). The LCD and microSD share SPI clock and MOSI. G25 feeds the onboard speaker amplifier.
Onboard controls
Buttons A/B/C are on G39/G38/G37. The red side control handles power and reset. The microSD chip select is G4.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Basic K001Product pin map and version historyM5StackCheck the version history for the LCD, battery and flash changes.Datasheet
M5Stack Core2017 core schematicM5StackThe M5-Bus is P1 on sheet 5.Datasheet
ESP32I/O mux, analog channels and reset strapsEspressifThe GPIO names and channel numbers are those of the original ESP32.Datasheet
K001 certification unitInternal photographsM5StackMain PCB and stock battery base of the 2017 certification sample.Datasheet
Base BottomStock base hardware descriptionM5StackM5Stack documents this hardware as the retail equivalent of the Basic base.Datasheet
Basic Core K001Original kit listingM5StackThe photographs show the black enclosure and the edge-header identifiers.Datasheet