Per-class average 8x8 grids from a time-of-flight sensor and a thermal array: empty, seated and present

Teaching a Camera-Free Sensor to Tell Empty from Seated — 34 Sessions, Three Dayparts, and a Zero That Lied

The Setup I’m building a room occupancy sensor that never sees a face. No camera, no images — just two 8×8 sensors pointed at a desk and a chair: a VL53L5CX time-of-flight sensor, which measures distance in 64 zones; an AMG8833 Grid-EYE, which measures radiated heat in 64 pixels. Both sit on one I2C bus on a B-U585I-IOT02A (STM32U585, Cortex-M33), running Rust firmware on Embassy. ST’s C driver for the ToF is linked in over FFI. The end goal is a small model running on the microcontroller that says empty, seated or present, feeding the same BACnet/MQTT/Grafana pipeline as my earlier projects. ...

Nov 23, 2026 · 9 min
Two STM32WL55JC1 NUCLEO boards in enclosures — lora-1 (sensor node) and lora-2 (range probe)

Building a LoRaWAN Sensor Network in Rust — STM32WL55, Embassy, and the Bugs That Taught Me the Most

From Sensor to Dashboard — Without a Line of C My previous projects used the STM32F446RE — a capable workhorse, but one that needs an external LoRa radio module wired up separately. When I decided to go deep on LoRaWAN, I wanted a chip where the radio was part of the silicon itself. The STM32WL55JC1 delivers exactly that: an ARM Cortex-M4 application processor and a sub-GHz radio coexisting on the same die, talking to each other over an internal SPI bus that never leaves the package. ...

Apr 28, 2026 · 9 min
Multi-Protocol Industrial IoT Gateway architecture diagram

Building a Multi-Protocol Industrial IoT Gateway: LoRaWAN, Modbus TCP, and BACnet/IP

When industrial facilities need to monitor equipment and environmental conditions, they often face a challenge: different systems speak different languages. A temperature sensor in one part of the building might use Modbus TCP, while the HVAC system uses BACnet/IP, and wireless sensors communicate via LoRaWAN. Getting all this data into one place typically requires expensive proprietary gateways or complex integration projects. I built a solution that brings these three protocols together on a single platform, using open-source tools and commodity hardware. ...

Feb 1, 2026 · 9 min