Welcome / Mauya / Siyalemukela

Welcome to my tech blog, where I explore practical engineering topics across data communications, embedded systems, IIoT, distributed technologies, and energy-aware system design. I focus on clear, grounded insights drawn from real experiments, open-source work, and ongoing research in high-performance connected devices.
A 2.8-inch display on a black pole showing PRESENT, 100% confidence, OCCUPIED and a small 8x8 heatmap

Part 3: Camera-Free Occupancy — The Model on the Chip, and a Screen That Glowed but Never Drew

Where Part 2 Left Off In Part 2 the dataset was frozen: 70 sessions over three days of a VL53L5CX time-of-flight sensor and an AMG8833 thermal array looking down at my desk chair, two 8×8 grids per frame, three classes (empty, seated, present) that separate by eye. Part 2 promised the part all of that was for: train a model, score it honestly, and get it onto the STM32U585. This post does that, then keeps going: the model running live on the board, the one posture it got wrong and how more data fixed it, and a small screen on the pole that shows what the device has decided. The screen took a whole Saturday of its own, and most of that day was spent on faults I’d seen before. ...

Nov 28, 2026 · 10 min
Per-class average 8x8 grids from a time-of-flight sensor and a thermal array across 70 sessions: empty, seated and present

Part 2: Camera-Free Occupancy — Doing It All Again, and the I2C Bus That Wouldn't Let Go

Where Part 1 Left Off In Part 1 I built the first half of a dataset for a room occupancy sensor that never sees a face: a VL53L5CX time-of-flight sensor and an AMG8833 thermal array, two 8×8 grids, read by Rust/Embassy firmware on an STM32U585 and pointed down at my desk chair at 49.9°. Getting that far took the bring-up before it — ST’s C driver linked over FFI, a header pinout that cost a full bench session, the mount angle measured by the board’s own accelerometer — and by the end of Part 1 I had 34 sessions across morning, afternoon and evening, three classes (empty, seated, present) that separated by eye, and a decision about what an invalid ToF zone means to a model. ...

Nov 24, 2026 · 9 min
Per-class average 8x8 grids from a time-of-flight sensor and a thermal array: empty, seated and present

Part 1: 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