ATOM Matrix



Choose the development platform you want to use, view the corresponding tutorial&quick-Start.

UIFlow Arduino


ATOM Matrix , which has a size of only 24 * 24mm, is the most compact development board in the M5Stack development kit series. It provides more GPIO pins and is very suitable for handy and miniature embedded device development. The main control adopts the ESP32-PICO-D4 chip, which comes integrated with Wi-Fi and Bluetooth technologies and has 4MB of integrated SPI flash memory. The Atom board provides an Infra-Red LED along with the 5 * 5 RGB LED matrix on the panel, a built-in IMU sensor (MPU6886), and a HY2.0 interface. A general purpose programmable button is provied below the RGB Led matrix to enable users to add input support to their various projects. The on-board USB interface (Type-C) enables rapid program uploading and execution. One M2 screw hole is provided on the back for mounting the board.

Note: When using FastLED lib, the recommended brightness of RGB LED is 20. Please do not set it to a high brightness value to avoid damage to the LED and acrylic screen. (In ATOM lib, we have mapped its appropriate brightness range to 0~100)

Product Features

  • ESP32 PICO-based
  • Programmable button
  • 5 * 5 RGB LED matrix panel(WS2812C)
  • Buitl-in Infra-red LED
  • Built-in MPU6886 Inertial Sensor
  • Extendable Pins & Holes
  • Program Platform: Arduino UIFlow


  • 1x ATOM Matrix


  • Internet of things terminal controller
  • IoT node
  • Wearable peripherals

USB Drive problems

UnitV/M5StickV/M5StickC/ATOM may not work without driver in some systems. Users can manually install FTDI driver to fix this problem. Take the win10 environment as an example, download the driver file that matches the operating system, decompress it, and install it through the device manager. (Note: In some system environments, the driver needs to be installed twice for the driver to take effect. The unrecognized device name is usually M5Stack or USB Serial. Windows recommends using the driver file to install directly in the device manager (custom Update), the executable file installation method may not work properly).


Resources Parameter
ESP32 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi, dual mode Bluetooth
Flash 4MB
Power Input 5V @ 500mA
Port TypeC x 1, GROVE(I2C+I/0+UART) x 1
PIN Port G19, G21,G22,G23,G25, G33
RGB LED WS2812C 2020 x 25
IR Infrared transmission
Button Custom button x 1
Antenna 2.4G 3D Antenna
Operating Temperature 0°C to 60°C
Net weight 3g
Gross weight 14g
Product Size 24*24*14mm
Package Size 43*43*20mm
Case Material Plastic ( PC )


EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification.

Download Windows Version Easyloader

Test whether the RGB LED and keys work normally by using the matrix screen text scroll display and key count function.

Pin Map

RGB LedG27



Matrix Shelly Thermostat: A Serverless Approach
A modular WiFi smart thermostat that doesn't need you to maintain any infrastructure: deploy it everywhere, integrate with everything.
MQTT-Enabled Scrolling Text with ATOM Matrix and MicroPython
Use your ATOM Matrix to receive text via MQTT and scroll it on the RGB LEDs.
RoverC with M5Atom
Using M5StickC on RoverC and JoyC with M5Atom attached to display direction of the RoverC.
Fun with ATOM Matrix
Simple MicroPython code for the ATOM 5 x 5 LED matrix and its built-in MPU6886 accelerometer. It works with the M5StickC + NeoFlash Hat.
ESP-Now Doorbell
A simple ESP-Now doorbell using an M5Stack Atom Matrix and Core2 controller.
Voice Recognition Using PSoC6 BLE Pioneer Kit
A device which can detect voice commands and takes action.
A simple IMU Sensor game that will not let you go.
A very simple game for the M5 ATOM. The unit must be tilted to the right or left depending if more red or more green pixels are displayed.
ATOM Wall Clock
Wall clock shows time on two concentric NeoPixel LED rings. The inner ring shows the hours, the outer ring shows minutes and seconds
ATOM Board
This is a project that uses Atom Matrix to customize shortcut keys, which is convenient for users to set key combinations
Small Things can help to fix our Planet
Here is a small thing that can help to use more electricity when it is produced by renewable sources.
No Pause
A non-invasive solution for hot flashes during menopause using machine learning
1-Axis Attitude Control Module with ATOM
We aim to realize a 1-axis attitude control module (inverted pendulum).
M5Stack Christmas M5 Tree
This year's Christmas, I decorated the tree with M5Stack devices.
1-axis attitude control module SHISEIGYO-1
I made the 1-axis attitude control module SHISEIGYO-1. It gets up without physical braking.


Arduino IDE

  • To get the code, please click here
  • Before compiling the program, please configure the development board as M5StickC


  • Click here to view UIFlow example