Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

m5Stack ATOM Lite

Image of m5Stack ATOM Lite

m5Stack ATOM Lite Documentation

Introduction

The m5Stack ATOM Lite is an ultra-compact development board designed for Internet of Things (IoT) projects and prototyping. Based on the ESP32-PICO-D4 microcontroller, it offers a rich set of features including Wi-Fi connectivity, a programmable button, and an RGB LED. This board is ideal for applications such as smart home devices, wearable electronics, and various wireless sensor networks.

Common Applications and Use Cases

  • IoT devices
  • Wearable technology
  • Smart home applications
  • Wireless sensor networks
  • Educational projects and prototyping

Technical Specifications

Key Technical Details

  • Microcontroller: ESP32-PICO-D4
  • Operating Voltage: 3.3V
  • Input Voltage (recommended): 5V via USB-C or GPIO
  • Digital I/O Pins: 5
  • Analog Input Pins: 1 (ADC)
  • Flash Memory: 4MB
  • SRAM: 520 KB
  • LED: Built-in WS2812 RGB LED
  • Button: Built-in tactile switch
  • Connectivity: Wi-Fi 802.11 b/g/n
  • Dimensions: 24 x 24 x 10 mm

Pin Configuration and Descriptions

Pin Function Description
G21 GPIO General-purpose input/output
G22 GPIO General-purpose input/output
G19 GPIO General-purpose input/output
G23 GPIO General-purpose input/output
G33 ADC/GPIO Analog-to-digital converter/general input/output
5V Power Supply 5V input
GND Ground Ground connection
TX Serial Output Transmit pin for UART communication
RX Serial Input Receive pin for UART communication

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Device:

    • Connect the 5V pin to a 5V power supply and GND to ground.
    • Alternatively, power the ATOM Lite via the USB-C port.
  2. Programming the Device:

    • Use the USB-C connection to program the ATOM Lite from your computer.
    • The board is compatible with the Arduino IDE, PlatformIO, and the ESP-IDF framework.
  3. Connecting to Wi-Fi:

    • Utilize the ESP32's Wi-Fi capabilities to connect to a network for IoT applications.
  4. Interfacing with Sensors and Actuators:

    • Use the GPIO pins to connect sensors and actuators.
    • The ADC pin can be used to read analog values.

Important Considerations and Best Practices

  • Ensure that the input voltage does not exceed the recommended 5V to prevent damage.
  • When using Wi-Fi, consider power consumption and heat dissipation.
  • Use proper ESD precautions when handling the ATOM Lite to avoid damaging the sensitive electronics.

Example Code for Arduino UNO

#include <WiFi.h>

// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";

void setup() {
  Serial.begin(115200);
  
  // Connect to Wi-Fi
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.println("Connecting to WiFi...");
  }
  Serial.println("Connected to WiFi");
}

void loop() {
  // Implement your logic here
}

Troubleshooting and FAQs

Common Issues

  • Device not powering on: Ensure the power supply is connected correctly and providing 5V.
  • Cannot connect to Wi-Fi: Verify the SSID and password are correct and that the Wi-Fi network is within range.
  • Programming errors: Check the USB-C cable and ensure the correct board settings in the Arduino IDE.

Solutions and Tips for Troubleshooting

  • Power Issues: Use a stable 5V power source. If using USB, ensure the cable and source can provide sufficient current.
  • Wi-Fi Connectivity: Reset the board and attempt to reconnect. Ensure no interference or obstacles that could affect signal strength.
  • Programming: Double-check the driver installation for the USB-C port and ensure the ATOM Lite is selected as the board in your IDE.

FAQs

Q: Can I use the ATOM Lite with battery power? A: Yes, you can power the ATOM Lite with a 3.7V lithium battery connected to the 5V pin.

Q: Is the ATOM Lite compatible with MicroPython? A: Yes, the ATOM Lite supports programming with MicroPython.

Q: How do I update the firmware on the ATOM Lite? A: Firmware updates can be done through the Arduino IDE or using the esptool.py utility for advanced users.

Q: What is the range of the Wi-Fi connectivity? A: The range depends on environmental factors but typically is around 50-100 meters in open space.

For further assistance, consult the m5Stack community forums or the official m5Stack documentation.

Example Projects

TILTPCB
Image of TILTPCB: A project utilizing m5Stack ATOM Lite in a practical application
This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.
godmode
Image of godmode: A project utilizing m5Stack ATOM Lite in a practical application
This is a microcontroller-based interactive device featuring a Wemos D1 Mini, an OLED display, external EEPROM, and an I/O expander. It includes user input buttons and status LEDs, with potential MIDI interface capabilities.
lab
Image of lab: A project utilizing m5Stack ATOM Lite in a practical application
This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.
Spider Hand Controller
Image of Spider Hand Controller: A project utilizing m5Stack ATOM Lite in a practical application
This circuit is a sensor and display system powered by a 3.7V LiPo battery with a boost converter. It uses an ESP8266 NodeMCU to read data from an MPU-6050 accelerometer/gyroscope and display information on a 0.96" OLED screen, while also controlling an RGB LED.

Example Projects

Image of TILTPCB: A project utilizing m5Stack ATOM Lite in a practical application
TILTPCB
This circuit features an Mtiny Uno ATmega328P microcontroller as its central processing unit, interfacing with a variety of sensors and peripherals. It includes a 0.96" OLED display and an MPU6050 accelerometer/gyroscope for user interface and motion sensing, respectively. The circuit also integrates a TF LUNA LIDAR for distance measurement, a DHT11 sensor for temperature and humidity readings, and uses a 9V battery with a 7805 voltage regulator for power management. Communication with a computer for programming and data exchange is facilitated by an Adafruit FTDI Friend module.
Image of godmode: A project utilizing m5Stack ATOM Lite in a practical application
godmode
This is a microcontroller-based interactive device featuring a Wemos D1 Mini, an OLED display, external EEPROM, and an I/O expander. It includes user input buttons and status LEDs, with potential MIDI interface capabilities.
Image of lab: A project utilizing m5Stack ATOM Lite in a practical application
lab
This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.
Image of Spider Hand Controller: A project utilizing m5Stack ATOM Lite in a practical application
Spider Hand Controller
This circuit is a sensor and display system powered by a 3.7V LiPo battery with a boost converter. It uses an ESP8266 NodeMCU to read data from an MPU-6050 accelerometer/gyroscope and display information on a 0.96" OLED screen, while also controlling an RGB LED.