Zephyr RTOS Development
Zephyr RTOS in production firmware
The full connected-device stack on Zephyr (BLE configuration, WiFi, LoRa, over-the-air updates, crash reporting, storage, displays and multi-year battery life), shipping today in the second-generation OGLAS firmware across nRF52840, ESP32 and STM32.
See it in OGLAS →Overview
Zephyr is my RTOS of choice for connected products. It is vendor-neutral, so
the same codebase runs on Nordic, Espressif and ST silicon. Devicetree and
Kconfig keep board differences out of application code, west manages builds
and dependencies, and Bluetooth, networking, power management, storage and
firmware update are maintained subsystems in the tree.
Every capability below is shipping in the second-generation OGLAS firmware, in hubs and sensors deployed to off-grid sites where a locked-up device cannot be fixed by driving out to it. So the devices have to configure themselves in the field, update themselves remotely, report their own crashes and run for years on a battery.
Capabilities
LoRa & long-range radio
Zephyr LoRa on SX126x-class radios (RAK4631 / nRF52840), the radio layer under the OGLAS sensor network. See the Mesh & LoRa and Gateway pages.
Displays
OLED, eInk and LCD panels under Zephyr’s display subsystem and LVGL, from always-on status screens to eInk that draws no power between refreshes. See Custom Displays.
Platforms
One application codebase with per-board devicetree overlays and Kconfig fragments. That is the point of Zephyr, and it is how the OGLAS v2 firmware is structured.
| Platform | Boards | Strengths |
|---|---|---|
| nRF52840 | RAK4631, SenseCAP T1000-E | BLE + SX1262 LoRa, exceptional sleep currents |
| ESP32 / ESP32-S3 | Heltec V3 and custom boards | WiFi + BLE, displays, plenty of headroom |
| STM32 | Custom and off-the-shelf boards | Wide part range, industrial peripherals, RTC |
In production in OGLAS v2
The second-generation OGLAS hub and sensor firmware is built on Zephyr and uses everything on this page in production: BLE-commissioned, LoRa-connected, OTA-updatable devices that log locally, report their own faults and run unattended for years. If your product needs the same, I can help.
Related work
- Off-Grid Monitoring (OGLAS): the product this firmware powers
- Mesh & LoRa Networking: the radio layer underneath
- LoRa Gateway: getting data off remote sites
- Custom Displays: OLED, eInk, and LCD work
- Embedded Dashboards: single-file web UIs for constrained devices