sdk.pylotos.org · PEP 561 Typed · ESP-IDF v5.5.6 + MicroPython v1.29

Build Once in MicroPython, Run Across 30 ESP32 Boards.

pylotos-sdk gives you an adaptive 8-display HMI toolkit (pylotos.ui), zero-copy wireless & NDEF helpers (pylotos.wireless), complete IDE .pyi autocomplete for the pure-C HAL, and a pixel-accurate 30-board simulator (pylotos-sim).

8 Display Archetypes 8 Wireless C HAL Subsystems 30 Simulated Boards
PylotOS Winged Microchip Aviator Mascot
pylotos-sdk · simulator
# Install SDK + IDE stubs + 30-board simulator
$ pip install git+https://github.com/PylotOS/pylotos-sdk.git
$ pylotos-sim examples/lora_mesh_messenger.py --board lilygo_t_deck
# Dual-pane RGB565 LCD + Web Dashboard live at :8080
SDK Pillars

Everything Needed for Modern Embedded Python

Deterministic C drivers handle ISRs, DMA, bus mutexes, and EU868 duty-cycle limits on Core 0 while your Python code stays concise, typed, and portable.

pylotos.ui

Adaptive 8-Display HMI

Reactive State, 20+ widgets, runtime ThemeManager (dark/light/high_contrast), priority NotificationManager, RLE proportional fonts, and 20 semantic icons synced with Core 0 Web UI.

pylotos.wireless

Zero-Copy Wireless C HAL

Cooperative asyncio reception (recv_into, 0 B ISR GC!) across LoRa SX1262/CC1101, ESP-NOW, NimBLE Coded PHY, Wi-Fi 6 iTWT, NFC/NDEF, RMT IR, GNSS & 802.15.4.

PEP 561 .pyi Stubs

Full IDE & AI Agent Typing

Instant VS Code, Cursor & PyCharm autocomplete for hal, sys_ota, pylotos.events, services, overlays, DMA I2S audio, ULP, CAN/Modbus & MQTT-HA.

pylotos-sim

Browser Preview & Pytest

Preview physical displays alongside the responsive Web Dashboard on your laptop, and run sub-second install_sim() unit tests with RF/NFC/CAN loopback queues.

Ready-to-Run Code

18 Official MicroPython & Simulator Examples

Every example runs unmodified in pylotos-sim on your workstation and under /apps/ on real ESP32 hardware.

m5stack_dial

Smart Thermostat

Adaptive 8-display climate dashboard with reactive State, Gauge, Sparkline, Slider & @app.every.

Inspect Source → · Download .py

m5stack_core2

HMI Themes, Fonts & Alerts

Runtime ThemeManager (dark/light/high_contrast), priority NotificationManager, RLE fonts & 20 icons.

Inspect Source → · Download .py

m5stack_cardputer_adv

OS EventBus & Services

Typed pylotos.events PubSub bus, background services status, Asymmetric OTA & heap monitor.

Inspect Source → · Download .py

m5stack_atoms3

Background Service Daemon

Dual-mode /apps/services/ SERVICE_MANIFEST daemon + foreground live CO2/Lux telemetry preview.

Inspect Source → · Download .py

m5stack_core2

App Config, Policy & Quota

3-layer per-device app_config, runtime policy gate (ALLOW/ASK/DENY) & VFS storage quota check.

Inspect Source → · Download .py

m5stack_cardputer_adv

Asym-OTA & CoreDump Diag

Asymmetric Recovery-OTA (asym-v1) status, confirm_boot() & 0x13000 Flash ELF CoreDump inspector.

Inspect Source → · Download .py

m5stack_stickc_plus2

esp_pm Sleep & ULP Monitor

Dynamic Frequency Scaling, Tickless Light Sleep, smooth backlight dim & ULP shared RTC RAM.

Inspect Source → · Download .py

lilygo_t_deck

LoRa SX1262 Zero-Copy Mesh

hal.rf SX1262 + Cap LoRa attach, EU868 1% duty-cycle budget, replay-protected MIC framing & recv_into.

Inspect Source → · Download .py

lilygo_t_embed

Sub-GHz CC1101 & Overlays

Declarative hardware overlays (Cap LoRa-1262, Grove units) & pin-guarded CC1101 Sub-GHz transceiver.

Inspect Source → · Download .py

m5stack_nanoc6

ESP-NOW P2P Swarm Radar

Connectionless 2.4 GHz peer broadcast/unicast, zero-copy recv_into, binary telemetry & RSSI Sparkline.

Inspect Source → · Download .py

waveshare_esp32c6_lcd_147

C6 Wi-Fi 6 iTWT & 802.15.4

ESP32-C6 triple-radio 2.4 GHz esp_coex, Wi-Fi 6 iTWT, NimBLE Coded PHY (S=8) & raw IEEE 802.15.4.

Inspect Source → · Download .py

m5stack_dial

NFC / RFID & NDEF Scanner

M5Stack Dial WS1850S & Grove RFID2/PN532 UID scan, block 4 read & pure-Python NDEF URI/Text decoder.

Inspect Source → · Download .py

m5stack_cardputer_adv

RMT IR Remote & GNSS

38 kHz hardware-carrier ESP-IDF RMT v2 NEC remote paired with fixed-point C NMEA/UBX GNSS fix viewer.

Inspect Source → · Download .py

m5stack_cores3

Core 0 DMA Audio, ULP & CAN

16 kHz PCM sine synthesizer on Core 0 I2S DMA, ULP shared RTC memory & CAN 2.0B / TWAI loopback.

Inspect Source → · Download .py

m5stack_dial

MQTT + Home Assistant

Zero-dependency async MQTT 3.1.1 client with automatic Home Assistant sensor discovery from hal.describe().

Inspect Source → · Download .py

m5stack_core2

Modbus RTU/TCP & CAN PLC

Industrial Modbus RTU CRC-16 frame builder/verifier & 500 kbps CAN 2.0B / TWAI PDO gateway.

Inspect Source → · Download .py

m5stack_cores3

Ethernet Failover & USB-NCM

OS-owned hal.net W5500 SPI Ethernet + ESP32-S3 USB-NCM hot-plug failover, static IP & Bridge policy.

Inspect Source → · Download .py

m5stack_core2

RS-485 DE/RE, DMX512 & CAN OBD-II

Hardware DE/RE hal.rs485 Modbus RTU, ANSI E1.11 DMX512 break/MAB & filtered hal.can OBD-II decoder.

Inspect Source → · Download .py

Simulator Matrix

All 30 Simulated Board Presets

Pass any --board ID below to pylotos-sim or install_sim(board_id):

Board ID Hardware Name SoC Simulated Display Simulated Inputs CLI Command
adafruit_feather_esp32s3_tftAdafruit Feather ESP32-S3 TFTESP32-S3240×135 (rgb565)buttonspylotos-sim app.py --board adafruit_feather_esp32s3_tft
cyd_esp32_2432s028Sunton CYD 2.8" (ESP32-2432S028)ESP32320×240 (rgb565)touch, buttonspylotos-sim app.py --board cyd_esp32_2432s028
generic_esp32Generic ESP32 (4 MiB)ESP32Headless (Web UI)buttonspylotos-sim app.py --board generic_esp32
generic_esp32c3Generic ESP32-C3 (4 MiB)ESP32-C3Headless (Web UI)buttonspylotos-sim app.py --board generic_esp32c3
generic_esp32c3_oled_042Generic ESP32-C3 0.42" OLEDESP32-C372×40 (mono)buttonspylotos-sim app.py --board generic_esp32c3_oled_042
generic_esp32c6Generic ESP32-C6 (4 MiB)ESP32-C6Headless (Web UI)buttonspylotos-sim app.py --board generic_esp32c6
generic_esp32s3Generic ESP32-S3 (8 MiB+)ESP32-S3Headless (Web UI)buttonspylotos-sim app.py --board generic_esp32s3
heltec_wifi_lora_32_v3Heltec WiFi LoRa 32 V3ESP32-S3128×64 (mono)buttonspylotos-sim app.py --board heltec_wifi_lora_32_v3
lilygo_t_deckLilyGO T-Deck / T-Deck PlusESP32-S3320×240 (rgb565)touchpylotos-sim app.py --board lilygo_t_deck
lilygo_t_embedLilyGO T-EmbedESP32-S3320×170 (rgb565)encoder, buttonspylotos-sim app.py --board lilygo_t_embed
m5stack_atom_liteM5Stack Atom Lite / MatrixESP32Headless (Web UI)buttonspylotos-sim app.py --board m5stack_atom_lite
m5stack_atoms3M5Stack AtomS3ESP32-S3128×128 (rgb565)buttonspylotos-sim app.py --board m5stack_atoms3
m5stack_atoms3rM5Stack AtomS3RESP32-S3128×128 (rgb565)buttonspylotos-sim app.py --board m5stack_atoms3r
m5stack_cardputerM5Stack Cardputer (v1.0 / v1.1)ESP32-S3240×135 (rgb565)buttonspylotos-sim app.py --board m5stack_cardputer
m5stack_cardputer_advM5Stack Cardputer ADVESP32-S3240×135 (rgb565)buttonspylotos-sim app.py --board m5stack_cardputer_adv
m5stack_core2M5Stack Core2 (v1.0 & v1.1)ESP32320×240 (rgb565)touchpylotos-sim app.py --board m5stack_core2
m5stack_core_basicM5Stack Core Basic (v2.6 / v2.7)ESP32320×240 (rgb565)buttonspylotos-sim app.py --board m5stack_core_basic
m5stack_cores3M5Stack CoreS3 / CoreS3 SEESP32-S3320×240 (rgb565)touchpylotos-sim app.py --board m5stack_cores3
m5stack_dialM5Stack DialESP32-S3240×240 (rgb565)touch, encoder, buttonspylotos-sim app.py --board m5stack_dial
m5stack_fireM5Stack Fire (v2.6 / v2.7)ESP32320×240 (rgb565)buttonspylotos-sim app.py --board m5stack_fire
m5stack_nanoc6M5Stack NanoC6ESP32-C6Headless (Web UI)buttonspylotos-sim app.py --board m5stack_nanoc6
m5stack_stamp_c3M5Stack Stamp C3 / C3UESP32-C3Headless (Web UI)buttonspylotos-sim app.py --board m5stack_stamp_c3
m5stack_stickc_plus2M5Stack StickC Plus2ESP32135×240 (rgb565)buttonspylotos-sim app.py --board m5stack_stickc_plus2
seeed_xiao_esp32c3Seeed Studio XIAO ESP32C3ESP32-C3Headless (Web UI)buttonspylotos-sim app.py --board seeed_xiao_esp32c3
seeed_xiao_esp32c6Seeed Studio XIAO ESP32C6ESP32-C6Headless (Web UI)buttonspylotos-sim app.py --board seeed_xiao_esp32c6
seeed_xiao_esp32s3Seeed Studio XIAO ESP32S3ESP32-S3Headless (Web UI)buttonspylotos-sim app.py --board seeed_xiao_esp32s3
waveshare_esp32c6_lcd_147Waveshare ESP32-C6-LCD-1.47ESP32-C6320×172 (rgb565)buttonspylotos-sim app.py --board waveshare_esp32c6_lcd_147
waveshare_esp32c6_zeroWaveshare ESP32-C6-ZeroESP32-C6Headless (Web UI)buttonspylotos-sim app.py --board waveshare_esp32c6_zero
waveshare_esp32s3_touch_lcd_2Waveshare ESP32-S3-Touch-LCD-2ESP32-S3320×240 (rgb565)touch, buttonspylotos-sim app.py --board waveshare_esp32s3_touch_lcd_2
waveshare_esp32s3_zeroWaveshare ESP32-S3-ZeroESP32-S3Headless (Web UI)buttonspylotos-sim app.py --board waveshare_esp32s3_zero