M5Stack C008

Contents

M5Stack ATOM Lite ESP32 IoT Development Kit User Manual

Model: C008

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.

M5Stack ATOM Lite overview with labeled components
Figure 1: ATOM Lite component overview, showing RGB LED (G27), Button (G39), IR-LED, M2-SCREW HOLE, Reset button, Ext.Pin, USB-C, and HY2.0-4P connector.

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)
M5Stack ATOM Lite next to a US quarter, highlighting its compact size and key features: programmable button, RGB LED indicator, ESP32 development, and compact body.
Figure 2: Compact size comparison and key features of the ATOM Lite.

3. What's Included

  • 1 x ATOM Lite development board

4. Applications

  • IoT nodes
  • Microcontrollers
  • Wearable devices
Images showing the ATOM Lite used as a microcontroller, in an IoT node application (controlling an air conditioner), and held in a hand to demonstrate its small and compact size.
Figure 3: Example applications of the ATOM Lite.

5. Setup and First Use

5.1 Connecting the ATOM Lite

  1. Locate the USB Type-C port on the ATOM Lite.
  2. Connect the ATOM Lite to your computer using a compatible USB Type-C cable.
  3. Upon connection, the RGB LED indicator should light up, indicating power.
Video 1: Demonstrates connecting the ATOM Lite via USB-C and observing the RGB LED and button interaction.

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

SpecificationParameter
SoCESP32-PICO-D4, 240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi
Flash4MB
Input Voltage5V @ 500mA
Host InterfaceType-C x 1, GROVE (I2C + I/O + UART) x 1
PIN InterfaceG19, G21, G22, G23, G25, G33
RGB LEDSK6812 3535 x 1
IRIR transmitter
ButtonCustomizable button x 1
Antenna2.4G 3D antenna
Operating Temp0 ~ 40°C
Case MaterialPlastic (PC) + ABS
Product Size24.0 x 24.0 x 9.5mm
Product Weight5.5g
Package Size81.0 x 65.0 x 13.0mm
Gross Weight10.9g
Technical drawing showing the dimensions of the M5Stack ATOM Lite: 24mm width, 24mm length, and 9.5mm height.
Figure 4: ATOM Lite Model Size Diagram.

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.

Pin map diagram for the M5Stack ATOM Lite, detailing GPIO assignments for 3V3, MOSI (G19), CLK (G23), MISO (G33), ADC, G21 (SCL), G25 (DAC, SDA), 5V, and GND, along with the HY2.0-4P connector pins.
Figure 5: ATOM Lite Pin Map.

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.

Detailed circuit schematics of the M5Stack ATOM Lite, showing power management, ESP32-PICO-D4 connections, GPIO breakouts, and peripheral components like the RGB LED and IR transmitter.
Figure 6: ATOM Lite Circuit Schematics.

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.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.