# M5Stack AtomS3R

> M5Stack AtomS3R (C126) is a 24.0 × 24.0 × 12.9 mm, 6.8 g ESP32-S3 controller: ESP32-S3-PICO-1-N8R8 dual-core 240 MHz with 8 MB flash and 8 MB octal PSRAM, 2.4 GHz Wi-Fi, a 0.85 in 128 × 128 IPS display, BMI270 6-axis IMU (I2C 0x68) with BMM150 magnetometer, IR LED, USB-C, an HY2.0-4P port and six bottom GPIO pads.

- Manufacturer: M5Stack
- Part number: C126
- Category: Development boards
- Canonical page: https://www.xirkit.io/products/m5stack-atoms3r-a347
- Pinout: https://www.xirkit.io/products/m5stack-atoms3r-a347/pinout
- Structured JSON: https://www.xirkit.io/products/m5stack-atoms3r-a347/data.json
- Source: Xirkit structured parts catalog — every value traced to a cited document; unknowns are explicit.

## Key specifications

| Property | Value |
| --- | --- |
| Main chip | ESP32-S3 |
| Chips on board | ESP32-S3 |
| Exposed GPIO | 8 |
| Documented board pins | 22 |
| I/O voltage | 3.3 V |
| Supply voltage | 5–5 V |
| Flash | 8,192 KB |
| PSRAM | 8,192 KB |
| Interfaces | gpio, touch, adc, gpio_matrix, rtc_gpio, spi, jtag, clock, i2c, control, uart, usb |
| Frameworks | Arduino, UiFlow2, PlatformIO, ESP-IDF |
| Dimensions | 24 × 24 mm |
| Operating temperature | 0 to 40 °C |

## Pinout (22 pins, 17 with electrical limits)

| Pin | Position | Kind | Chip pad | Functions | VIH | VIL | VOH | VOL | IOH | IOL | 5 V tolerant |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| G5 | bottom pad J5-2 | gpio | GPIO5 | bottom GPIO pad, TOUCH5, ADC1_CH4, GPIO5, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO5 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G6 | bottom pad J5-3 | gpio | GPIO6 | bottom GPIO pad, TOUCH6, ADC1_CH5, GPIO6, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO6 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G7 | bottom pad J5-4 | gpio | GPIO7 | bottom GPIO pad, TOUCH7, ADC1_CH6, GPIO7, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO7 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G8 | bottom pad J5-5 | gpio | GPIO8 | bottom GPIO pad, TOUCH8, ADC1_CH7, GPIO8, SUBSPICS1, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO8 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G39 | bottom pad J6-1 | gpio | GPIO39 | bottom GPIO pad, MTCK, GPIO39, CLK_OUT3, SUBSPICS1, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G38 | bottom pad J6-2 | gpio | GPIO38 | bottom GPIO pad, GPIO38, FSPIWP, SUBSPIWP, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| 3V3 | bottom pad J5-1 | power out | — | power_out | — | — | — | — | — | — | — |
| 5V | bottom pad J6-3 | power in | — | power_in | — | — | — | — | — | — | — |
| GND | bottom pad J6-4 | ground | — | ground | — | — | — | — | — | — | — |
| HY2.0 GND | HY2.0-4P pin 1 (black) | ground | — | ground | — | — | — | — | — | — | — |
| HY2.0 5V | HY2.0-4P pin 2 (red) | power in | — | power_in | — | — | — | — | — | — | — |
| G2 | HY2.0-4P pin 3 (yellow) | gpio | GPIO2 | PORT.CUSTOM signal (HY2.0-4P, yellow), TOUCH2, ADC1_CH1, GPIO2, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO2, sar_i2c_scl_1 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G1 | HY2.0-4P pin 4 (white) | gpio | GPIO1 | PORT.CUSTOM signal (HY2.0-4P, white), TOUCH1, ADC1_CH0, GPIO1, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO1, sar_i2c_sda_0 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G0 (SYS_SCL) | internal | gpio | GPIO0 | SYS_SCL (I2C clock: LP5562, BMI270), GPIO0, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO0, sar_i2c_scl_0 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G45 (SYS_SDA) | internal | gpio | GPIO45 | SYS_SDA (I2C data: LP5562, BMI270), GPIO45, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G47 (IR_LED_DRV) | internal | gpio | GPIO47 | IR_LED_DRV (infrared LED), SPICLK_P_DIFF, GPIO47, SUBSPICLK_P_DIFF, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G41 (USER_BUT) | internal | gpio | GPIO41 | USER_BUT (user button), MTDI, GPIO41, CLK_OUT1, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G48 (DISP_RST) | internal | gpio | GPIO48 | DISP_RST, SPICLK_N_DIFF, GPIO48, SUBSPICLK_N_DIFF, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G42 (DISP_RS) | internal | gpio | GPIO42 | DISP_RS, MTMS, GPIO42, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera) | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G21 (SPI_MOSI) | internal | gpio | GPIO21 | SPI_MOSI (display), GPIO21, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO21 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G15 (SPI_SCK) | internal | gpio | GPIO15 | SPI_SCK (display), XTAL_32K_P, ADC2_CH4, GPIO15, U0RTS, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO15 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |
| G14 (DISP_CS) | internal | gpio | GPIO14 | DISP_CS, TOUCH14, ADC2_CH3, GPIO14, FSPIDQS, SUBSPIWP, FSPIWP, GPIO matrix (any routable peripheral signal: UART, I2C, I2S, LEDC PWM, MCPWM, RMT, PCNT, TWAI, SPI, LCD/camera), RTC_GPIO14 | 2.475–3.6 V | -0.3–0.825 V | ≥ 2.64 V | ≤ 0.33 V | 40 mA typ | 28 mA typ | no |

## Where to buy

| Supplier | Price | Stock | Checked | URL |
| --- | --- | --- | --- | --- |
| shop.m5stack.com | 17.5 USD | in_stock | 2026-10-24 | https://shop.m5stack.com/products/atoms3r-dev-kit |

## FAQ

**What microcontroller does the M5Stack AtomS3R use?**

The M5Stack AtomS3R is built around the ESP32-S3, alongside BMI270, BMM150, LP5562.

**How many GPIO pins does the M5Stack AtomS3R have?**

8 GPIO pins are exposed. Xirkit documents 22 board pins, 17 of them with pin-level electrical limits.

**Are the M5Stack AtomS3R I/O pins 5 V tolerant?**

No. The I/O pins are not 5 V tolerant — they run at 3.3 V logic; use a level shifter for 5 V signals. Input-high threshold: 2.475–3.6 V.

**How much current can a M5Stack AtomS3R GPIO pin source?**

Documented output-high current per pin: 40 mA typ. Values are traced to the chip datasheet; see the pinout table for per-pin limits and conditions.

**What voltage powers the M5Stack AtomS3R?**

Supply range 5–5 V. Power inputs: 5V, HY2.0 5V.

**How much does the M5Stack AtomS3R cost?**

From $17.5 at shop.m5stack.com. Prices are observed unit prices before tax and shipping.

**What are the M5Stack AtomS3R dimensions?**

24 × 24 mm. A STEP model is available for enclosure fit checks.

**Which interfaces does the M5Stack AtomS3R support?**

gpio, touch, adc, gpio_matrix, rtc_gpio, spi, jtag, clock, i2c, control, uart, usb.

**How do I program the M5Stack AtomS3R?**

Supported frameworks: Arduino, UiFlow2, PlatformIO, ESP-IDF.

**Where does this M5Stack AtomS3R data come from?**

Every value in this record is traced to a source — 2 documents including the board and chip datasheets — with the page and table cited per value. Unknowns are left explicit, never guessed.

## Sources

- [M5Stack AtomS3R datasheet](https://docs.m5stack.com/en/core/AtomS3R)
- [shop.m5stack.com listing](https://shop.m5stack.com/products/atoms3r-dev-kit)

## Part graph

### Built from

- [ESP32-S3](https://www.xirkit.io/products/category/dev-boards/esp32-s3) — main processor on the M5Stack AtomS3R
- BMI270 — imu on the M5Stack AtomS3R
- BMM150 — magnetometer on the M5Stack AtomS3R
- LP5562 — led driver on the M5Stack AtomS3R

### Alternatives (by use case)

- [Heltec WiFi LoRa 32 V3](https://www.xirkit.io/products/heltec-wifi-lora-32-v3-ba77) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.9 vs $17.5
- [ESP32-DevKitC V4](https://www.xirkit.io/products/espressif-esp32-devkitc-v4-01c3) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $15
- [Milk-V Duo S](https://www.xirkit.io/products/milk-v-duo-s-41db) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $9.99
- [Seeed Studio XIAO nRF52840 Sense](https://www.xirkit.io/products/seeed-studio-xiao-nrf52840-sense-a973) — Both serve sensor fusion and on-device ml — check the trade-offs; $17.5 vs $15.9
- [Waveshare ESP32-P4-NANO](https://www.xirkit.io/products/waveshare-esp32-p4-nano-b0aa) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $18.99
- [Arduino UNO R4 WiFi](https://www.xirkit.io/products/arduino-uno-r4-wifi-d7ab) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $27.5
- [Arduino Nano RP2040 Connect](https://www.xirkit.io/products/arduino-nano-rp2040-connect-e1b2) — Both serve sensor fusion and on-device ml — check the trade-offs; $17.5 vs $21.3
- [Waveshare Servo Driver with ESP32](https://www.xirkit.io/products/waveshare-servo-driver-with-esp32-e517) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $15.99
- [ESP32-S3-DevKitC-1 (N8R8)](https://www.xirkit.io/products/espressif-esp32-s3-devkitc-1-n8r8-e95f) — Both serve connected iot and wireless sensor nodes — check the trade-offs; $17.5 vs $19.95
- [Waveshare ESP32-S3-Touch-LCD-1.28](https://www.xirkit.io/products/waveshare-esp32-s3-touch-lcd-1-28-d952) — Both serve sensor fusion and on-device ml — check the trade-offs; $21.99 vs $17.5
