1. Introduction
The M5Stack ATOM Lite is a highly compact development board within the M5Stack series, designed for embedded smart hardware development. Measuring only 24.0 x 24.0 mm, it offers extensive GPIO for user customization. The main controller, an ESP32-PICO-D4, includes a Wi-Fi module, a built-in 3D antenna, and 4 MB of SPI flash. It also features an Infra-Red (IR) transmitter, an RGB LED, a programmable button, and GROVE/HY2.0 interfaces. A USB Type-C interface facilitates quick program upload and download, and an M2 screw hole on the back allows for secure fixing.

2. Features
- Based on ESP32 development
- Compact body (24x24x10mm)
- Built-in infrared transmission function
- Programmable button
- RGB LED indicator (SK6812 3535 x 1)
- Expandable pins and interfaces (GROVE/HY2.0)

3. What's Included
- 1 x ATOM Lite development board
4. Applications
- IoT nodes
- Microcontrollers
- Wearable devices

5. Setup and First Use
5.1 Connecting the ATOM Lite
- Locate the USB Type-C port on the ATOM Lite.
- Connect the ATOM Lite to your computer using a compatible USB Type-C cable.
- Upon connection, the RGB LED indicator should light up, indicating power.
5.2 Initial Programming
The ATOM Lite supports various development platforms for programming. For initial setup and testing, you can use the following:
- UiFlow1 & UiFlow2: Graphical programming platforms.
- Arduino IDE: For C++ based programming.
- ESP-IDF: Espressif IoT Development Framework.
- PlatformIO: An open-source ecosystem for IoT development.
Refer to the official M5Stack documentation for detailed guides on using these platforms with the ATOM Lite. A user manual PDF is also available for download from the product page.
6. Operation
6.1 Programmable Button (G39)
The ATOM Lite features a programmable button (GPIO39) located on the top surface. This button can be configured within your code to trigger various functions, such as changing modes, sending data, or controlling outputs.
6.2 RGB LED Indicator (G27)
An integrated RGB LED (SK6812 3535, connected to GPIO27) provides visual feedback. This LED can be programmed to display different colors and patterns to indicate device status, sensor readings, or other custom information.
6.3 Infrared (IR) Transmitter
The ATOM Lite includes an IR transmitter, allowing it to send infrared signals. This feature is useful for controlling IR-enabled devices such as televisions, air conditioners, or other home appliances.
7. Maintenance
- Keep the device in a dry environment and avoid exposure to moisture or extreme temperatures.
- Clean the device with a soft, dry cloth. Do not use liquid cleaners or solvents.
- Avoid applying excessive force to the USB-C port or other connectors.
- Ensure proper ESD (Electrostatic Discharge) precautions are taken when handling the board, especially when connecting external components to the GPIO pins.
8. Troubleshooting
- Device not powering on: Ensure the USB-C cable is securely connected to both the ATOM Lite and a power source (e.g., computer USB port, USB charger). Try a different USB-C cable or port.
- Programming issues: Verify that the correct drivers are installed for the ESP32. Check your development environment settings (e.g., board selection, COM port). Consult the specific documentation for UiFlow, Arduino IDE, ESP-IDF, or PlatformIO for common programming errors.
- RGB LED not responding: Check your code to ensure the RGB LED (GPIO27) is correctly initialized and controlled.
- Button not responding: Verify the button (GPIO39) is correctly read in your program. Ensure there are no physical obstructions.
9. User Tips
- For programming, consider using an ESP32 builder for efficient code compilation and flashing.
- The ATOM Lite can be effectively used for home automation projects, such as controlling RS485-enabled devices (e.g., air conditioners) when paired with an official TTL-RS485 ATOMIC RS485 converter from M5Stack.
10. Specifications
| Specification | Parameter |
|---|---|
| SoC | ESP32-PICO-D4, 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi |
| Flash | 4MB |
| Input Voltage | 5V @ 500mA |
| Host Interface | Type-C x 1, GROVE (I2C + I/O + UART) x 1 |
| PIN Interface | G19, G21, G22, G23, G25, G33 |
| RGB LED | SK6812 3535 x 1 |
| IR | IR transmitter |
| Button | Customizable button x 1 |
| Antenna | 2.4G 3D antenna |
| Operating Temp | 0 ~ 40°C |
| Case Material | Plastic (PC) + ABS |
| Product Size | 24.0 x 24.0 x 9.5mm |
| Product Weight | 5.5g |
| Package Size | 81.0 x 65.0 x 13.0mm |
| Gross Weight | 10.9g |

11. Pin Map
The ATOM Lite provides several GPIO pins for custom expansion and connectivity. Below is a diagram illustrating the pin assignments and interfaces.

Key pin assignments include:
- GPIO19 (MOSI), GPIO23 (CLK), GPIO33 (MISO): For SPI communication.
- GPIO21 (SCL), GPIO25 (SDA): For I2C communication.
- GPIO22, G26, G32: Additional GPIOs for various functions including DAC.
- HY2.0-4P Connector: Provides GND, 5V, G26, and G32 for custom ports.
12. Schematics
For advanced users and developers, the detailed circuit schematics of the ATOM Lite are provided below for reference.

13. Software Development
The ATOM Lite is highly versatile and supports multiple software development environments:
- Arduino: Develop using the familiar Arduino IDE and the Atom Arduino Library.
- UiFlow: Utilize the graphical programming platforms UiFlow1 and UiFlow2 for easy drag-and-drop coding. Quick Start guides and test examples are available.
- ESP-IDF: For more advanced, low-level development using Espressif's official IoT Development Framework.
- PlatformIO: A cross-platform IDE and ecosystem that supports ESP32 development, including the M5Stack Atom.
For detailed instructions and code examples, please refer to the official M5Stack documentation and tutorials available on their website. The product page also provides a link to a user manual in PDF format for further reference.
14. Warranty and Support
For warranty information, technical support, and additional resources, please visit the official M5Stack website or contact their customer service. Keep your purchase receipt for any warranty claims.