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.
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 |
Powering the Device:
Programming the Device:
Connecting to Wi-Fi:
Interfacing with Sensors and Actuators:
#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
}
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.