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.
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
3. Package Contents
The M5Stack ATOM Lite package includes:
- 1 x ATOM Lite development board
4. Setup Instructions
- 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.
- Initial Power-On Test: Upon connection, the integrated RGB LED (G27) should illuminate and cycle through colors, indicating successful power-on and basic functionality.
- 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).
- 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.
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 |
|---|---|
| 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 |
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.
7.1. HY2.0-4P Pinout
| HY2.0-4P | Black | Red | Yellow | White |
|---|---|---|---|---|
| PORT.CUSTOM | GND | 5V | G26 | G32 |
7.2. RGB & Button & IR & I2C Pinout
| ESP32-PICO-D4 | G27 | G39 | G12 | G21 | G25 |
|---|---|---|---|---|---|
| RGB | RGB | ||||
| Button | Button | ||||
| IR | IR | ||||
| I2C | SCL | SDA |
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.
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.