M5Stack C008

Contents

M5Stack ATOM Lite ESP32-PICO IoT Development Kit

Model: C008

Brand: M5Stack

1. Introduction

The M5Stack ATOM Lite is a highly compact development board within the M5Stack development kit series. Measuring only 24.0 x 24.0 mm, it offers extensive GPIO for user customization, making it an ideal choice for embedded smart hardware development projects.

The device is powered by the ESP32-PICO-D4 solution, featuring an integrated Wi-Fi module and a built-in 3D antenna. It includes 4 MB of SPI flash memory and provides Infra-Red (IR) functionality, an RGB LED, a programmable button, and GROVE/HY2.0 interfaces. The onboard USB Type-C interface facilitates quick program upload and download, and an M2 screw hole is provided on the back 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, HY2.0-4P connector, and USB-C port.

2. Features

  • Based on ESP32 development
  • Compact body design
  • Built-in infrared transmission function
  • Programmable button
  • RGB LED indicator
  • Expandable pins and interfaces
  • Supports multiple development platforms: UiFlow1, UiFlow2, Arduino IDE, ESP-IDF, PlatformIO
ATOM Lite next to a US Quarter for size comparison
Figure 2: ATOM Lite demonstrating its compact size, comparable to a US Quarter. Key features highlighted include programmable button, RGB LED indicator, ESP32 development base, and compact body.

3. Package Contents

The M5Stack ATOM Lite package includes:

  • 1 x ATOM Lite development board
ATOM Lite in its retail packaging
Figure 3: The M5Stack ATOM Lite in its compact retail packaging.

4. Setup Instructions

  1. Connect to Power/Data: Use a USB Type-C cable to connect the ATOM Lite to a computer or a 5V power source. The device will power on automatically.
  2. Initial Power-On Test: Upon connection, the integrated RGB LED (G27) should illuminate and cycle through colors, indicating successful power-on and basic functionality.
  3. Driver Installation (if necessary): For programming, ensure your computer has the necessary USB-to-serial drivers installed. These are typically included with your chosen development environment (e.g., Arduino IDE, PlatformIO).
  4. Development Environment Setup: Install your preferred development environment (e.g., Arduino IDE, UiFlow, PlatformIO) and configure it for ESP32 development. Refer to the 'Software Development' section for more details.
ATOM Lite connected via USB-C, showing RGB LED
Figure 4: ATOM Lite connected to a USB-C cable, demonstrating the illuminated RGB LED.

Video 1: Demonstration of connecting the ATOM Lite via USB-C and the RGB LED cycling through colors, indicating successful power-on.

5. Operating Instructions

The ATOM Lite is designed for custom programming. Its primary interactive components are the programmable button (G39) and the RGB LED (G27).

5.1. Programmable Button (G39)

The button located on the top surface of the ATOM Lite is programmable. Its function depends entirely on the firmware loaded onto the device. Common uses include:

  • Triggering events or actions.
  • Cycling through different modes or settings.
  • Initiating data transmission.

5.2. RGB LED Indicator (G27)

The RGB LED provides visual feedback. Its color and behavior are controlled by your program. It can be used for:

  • Status indication (e.g., connected, processing, error).
  • Visual alerts.
  • Debugging purposes.

5.3. Infrared (IR) Functionality

The built-in IR-LED allows the ATOM Lite to transmit infrared signals. This can be used for controlling IR-enabled devices such as televisions, air conditioners, or other home appliances, provided appropriate firmware is developed.

5.4. External Pin Interfaces (GROVE/HY2.0-4P)

The ATOM Lite provides external pins and a HY2.0-4P connector (compatible with GROVE) for connecting additional sensors, actuators, and modules, expanding its capabilities for various IoT applications.

5.5. Tutorials

For detailed programming tutorials, refer to the official M5Stack documentation. Examples include:

  • UiFlow1: Learn to control the Atom-Lite device using the UiFlow1 graphical programming platform.
  • UiFlow2: Learn to control the Atom-Lite device using the UiFlow2 graphical programming platform.
  • Atom Arduino Library: Explore programming with Arduino.
  • Atom-Lite Factory Test Easyloader: A tool for testing basic functionality.

6. Specifications

Specification Parameter
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
ATOM Lite dimensions diagram
Figure 5: Detailed dimensions of the ATOM Lite (24mm x 24mm x 9.5mm).
ATOM Lite on a digital scale showing 5.5g weight
Figure 6: The ATOM Lite weighing 5.5 grams on a digital scale.

7. Pin Map

Understanding the pinout is crucial for connecting external components and developing custom applications. The ATOM Lite provides various GPIOs and interfaces as detailed below.

ATOM Lite Pin Map and Schematic Diagram
Figure 7: Pin map and partial schematic diagram of the M5Stack ATOM Lite, illustrating GPIO assignments for various functions including RGB LED, IR-LED, button, and external pins (G19, G21, G22, G23, G25, G33).

7.1. HY2.0-4P Pinout

HY2.0-4P Black Red Yellow White
PORT.CUSTOMGND5VG26G32

7.2. RGB & Button & IR & I2C Pinout

ESP32-PICO-D4 G27 G39 G12 G21 G25
RGBRGB
ButtonButton
IRIR
I2CSCLSDA

8. Software Development

The ATOM Lite supports various development environments, offering flexibility for different programming preferences and project requirements.

8.1. Arduino

The Arduino IDE is a popular choice for beginners and experienced developers alike. M5Stack provides an Atom Arduino Library to simplify development.

8.2. UiFlow

UiFlow is a graphical programming platform developed by M5Stack, making it easier to program M5Stack devices using a block-based interface. Both UiFlow1 and UiFlow2 are supported.

8.3. PlatformIO

PlatformIO is a professional embedded development ecosystem that supports a wide range of development boards, including the ESP32-PICO-D4 used in ATOM Lite. It offers advanced features for project management and debugging.

[env:m5stack-atom]
platform = espressif32@6.7.0
board = m5stack-atom
framework = arduino
upload_speed = 1500000
monitor_speed = 115200
build_flags =
    -DCORE_DEBUG_LEVEL=5
lib_deps =
    M5Unified=https://github.com/m5stack/M5Unified
            

8.4. Easyloader

The Atom-Lite Factory Test Easyloader is available for quick testing and flashing of pre-compiled programs. A download link for the Easyloader can be found in the official documentation.

9. User Tips

  • The ATOM Lite's IR functionality makes it suitable for controlling household appliances like air conditioners. Consider exploring this for smart home projects.
  • Due to its compact size, the ATOM Lite is excellent for wearable projects or integrating into small enclosures.
  • Utilize the GROVE/HY2.0-4P interface for easy expansion with M5Stack's extensive range of modules without complex wiring.
Application examples for ATOM Lite including microcontrollers, IoT nodes, and wearable devices
Figure 8: Examples of ATOM Lite applications, such as microcontrollers, IoT nodes (e.g., for air conditioning control), and wearable devices.

10. Maintenance

  • Cleaning: Use a dry, soft cloth to clean the device. Avoid using liquids or abrasive cleaners.
  • Storage: Store the ATOM Lite in a dry environment, away from extreme temperatures and direct sunlight.
  • Handling: Handle the board with care to avoid damaging the electronic components or connectors. Avoid static discharge.
  • Firmware Updates: Regularly check the M5Stack official website or GitHub repository for the latest firmware and library updates to ensure optimal performance and access to new features.

11. Troubleshooting

  • Device Not Powering On:
    • Ensure the USB Type-C cable is securely connected to both the ATOM Lite and the power source/computer.
    • Verify that the power source is providing 5V.
    • Try a different USB cable or port.
  • RGB LED Not Illuminating:
    • If the device powers on but the LED doesn't light up, check your loaded program for LED control code.
    • If no program is loaded, the default test program should show LED activity. If not, the device might require re-flashing with the factory test firmware.
  • Unable to Upload Program:
    • Ensure the correct board and port are selected in your IDE (e.g., Arduino IDE, PlatformIO).
    • Install or update the necessary USB-to-serial drivers for your operating system.
    • Check if the USB Type-C cable is a data-capable cable, not just a charging cable.
    • Try pressing the Reset button on the ATOM Lite before or during the upload process if issues persist.
  • Wi-Fi Connectivity Issues:
    • Verify your Wi-Fi credentials (SSID and password) in your code.
    • Ensure the ATOM Lite is within range of your Wi-Fi network.
    • Check for any firewall or router settings that might be blocking the connection.

12. Warranty & Support

For detailed warranty information, technical support, and additional resources, please refer to the official M5Stack website or the comprehensive user manual PDF.

A user manual in PDF format is available for download: M5Stack ATOM Lite User Manual (PDF).

For further assistance, please visit the M5Stack official community forums or contact their customer support.

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.