qmetrics.net

Lua RTOS ESP32

Lua-based real-time OS for ESP32 boards

Internet of Things (IoT)No commits in 18+ monthsDesktop/CLI app

Lua RTOS ESP32 has had no code changes for over 18 months (last commit 3 years ago).

Lua RTOS is a small-footprint operating system for embedded 32-bit boards, with an ESP32 port that combines Lua 5.3, FreeRTOS, and hardware drivers for IoT projects.

Overview

Lua RTOS targets embedded systems with limited flash and RAM. On ESP32 it stacks a Lua 5.3 interpreter with modules for GPIO, ADC, I2C, RTC, threads, LoRaWAN, MQTT, and similar services, above a FreeRTOS micro-kernel and a board-specific hardware abstraction layer. The same upper layers can be retargeted by rewriting only the bottom HAL.

Boards are programmed from the Whitecat IDE using Lua or a blocks language that compiles to Lua, with the ability to switch between them in one environment. Firmware can be flashed with the Whitecat Console tool and prebuilt images, or built locally with the Espressif ESP32 toolchain, esp-idf, and project-specific environment scripts. Serial console access uses standard terminal settings at 115200 baud.

The ESP32 edition sits alongside ports for ESP8266 and PIC32MZ families described in the broader Lua RTOS family. Linux, Mac OS, and Windows host tooling support flashing and compilation, while GNU/Linux typically needs no USB serial drivers. Documentation and wiki material explain IDE workflow and board selection during flash.

Use cases align with classroom or product prototypes on Wi-Fi capable Espressif hardware where scripted Lua logic controls sensors, radios, and actuators under a real-time scheduler.

Key features

  • Lua 5.3 on device
  • FreeRTOS scheduling
  • Hardware abstraction layer
  • LoRaWAN and MQTT middleware
  • Block or Lua programming IDE
  • Whitecat Console flashing
  • ESP-IDF based builds
  • Serial VT100 console

Use cases

  • ESP32 IoT firmware
  • Educational embedded programming
  • LoRaWAN sensor nodes
  • Rapid Lua hardware prototypes

Tags

Similar software

RuView

WiFi CSI spatial sensing without cameras

RuView turns WiFi channel state into presence, motion, breathing, heart rate, and activity signals using low-cost ESP32 nodes. Processing can stay on edge hardware with optional visualization and smart-home bridges.

★ 105.3k⟳ 2 days agoMIT

Home Assistant

Local-first open home automation platform

Home Assistant connects smart home devices and services for local control and privacy. It suits Raspberry Pi or a server at home, with companion apps for phones and watches.

★ 92.6k⟳ todayApache-2.0
Open Source Alternative to:Google HomeHomey+3

openpilot

In-vehicle advanced driver assistance for supported cars

openpilot upgrades driver assistance on hundreds of supported vehicle models when paired with comma hardware and a car harness. It provides adaptive cruise and automated lane centering with driver monitoring.

★ 64.2k⟳ yesterdayMIT

XiaoZhi ESP32

ESP32 voice chatbot firmware using MCP

XiaoZhi AI is voice-interaction firmware for ESP32 boards. It uses large models such as Qwen or DeepSeek and controls devices through the MCP protocol.

★ 33.9k⟳ 2 days agoMIT

LibrePods

AirPods control and features on Linux and Android

LibrePods reimplements Apple’s AirPods control protocol so non-Apple devices can change listening modes, read batteries, and use accessibility-oriented options.

★ 31k⟳ 1 month agoGPL-3.0

LVGL

Embedded graphical UI library for MCUs and MPUs

LVGL is a portable C UI library for building screens on microcontrollers and application processors, with widgets, layouts, and optional GPU acceleration.

★ 25.3k⟳ todayMIT