M5Stack
M5Stack Atom Lite
Imported from Elementic Devices.xlsm on 2026-03-25.
Device information
- Controller
- ESP32-PICO
- Category
- Smart devices
- Pins
- 11
Controller details
ESP32-PICO
Espressif · ESP32 · Xtensa dual-core
4096 KB flash · 520 KB RAM · 34 GPIO
Starter Arduino code
Device specific// Elementic starter sketch
// Device: M5Stack Atom Lite
// Device Excel ID: 29
// Controller: ESP32-PICO
void setup()
{
Serial.begin(115200);
delay(500);
Serial.println("Elementic device booting...");
Serial.println("Device: M5Stack Atom Lite");
Serial.println("Excel ID: 29");
}
void loop()
{
// 1. Configure your Elementic pins here.
// 2. Add your connectivity setup.
// 3. Publish or react to device state changes.
delay(1000);
}
Pin summary
| GPIO | Name | Flags |
|---|---|---|
| 12 | GPIO12 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 19 | GPIO19 | Binary in, Digital out, Binary out, Interrupt |
| 21 | GPIO21 | Binary in, Digital out, Binary out, Interrupt |
| 22 | GPIO22 | Binary in, Digital out, Binary out, Interrupt |
| 23 | GPIO23 | Binary in, Digital out, Binary out, Interrupt |
| 25 | GPIO25 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 26 | GPIO26 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 27 | GPIO27 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 32 | GPIO32 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 33 | GPIO33 | Analog in, Binary in, Digital out, Binary out, Interrupt |
| 39 | GPIO39 | Analog in, Binary in, Interrupt |