<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>STM32U585 on Antony Mapfumo</title><link>https://mapfumo.github.io/tags/stm32u585/</link><description>Recent content in STM32U585 on Antony Mapfumo</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 23 Nov 2026 07:30:00 +1000</lastBuildDate><atom:link href="https://mapfumo.github.io/tags/stm32u585/index.xml" rel="self" type="application/rss+xml"/><item><title>Teaching a Camera-Free Sensor to Tell Empty from Seated — 34 Sessions, Three Dayparts, and a Zero That Lied</title><link>https://mapfumo.github.io/posts/2026/november/camera-free-occupancy-building-the-dataset/</link><pubDate>Mon, 23 Nov 2026 07:30:00 +1000</pubDate><guid>https://mapfumo.github.io/posts/2026/november/camera-free-occupancy-building-the-dataset/</guid><description>&lt;h2 id="the-setup">The Setup&lt;/h2>
&lt;p>I&amp;rsquo;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:&lt;/p>
&lt;ul>
&lt;li>a &lt;strong>VL53L5CX&lt;/strong> time-of-flight sensor, which measures distance in 64 zones;&lt;/li>
&lt;li>an &lt;strong>AMG8833 Grid-EYE&lt;/strong>, which measures radiated heat in 64 pixels.&lt;/li>
&lt;/ul>
&lt;p>Both sit on one I2C bus on a &lt;strong>B-U585I-IOT02A&lt;/strong> (STM32U585, Cortex-M33), running Rust firmware on Embassy. ST&amp;rsquo;s C driver for the ToF is linked in over FFI. The end goal is a small model running on the microcontroller that says &lt;em>empty&lt;/em>, &lt;em>seated&lt;/em> or &lt;em>present&lt;/em>, feeding the same BACnet/MQTT/Grafana pipeline as my earlier projects.&lt;/p></description></item></channel></rss>