About

I build small things that learn.

Engineer at the boundary where machine learning meets real hardware. Mostly TinyML, embedded systems, and the tools that make them work together. Always small.

Based
Somewhere with good coffee and a soldering station
Currently
Working on tinymlr · Embedded audio ML
Available for
Selected consulting, talks, and reviews
Languages
Rust, C/C++, Python, TypeScript, Lua
Hardware
STM32 (H7/F4/G0), ESP32, RP2040, RPi
Reach me
hello@trentenwen.com
01 Bio

I'm trentenwen. I build at the boundary where machine learning meets real hardware — quantized models on microcontrollers, ML-driven robotics, and the tools that make them usable.

Most of my time is spent on TinyML: pushing models down to kilobytes and microseconds, then wiring them to motors, microphones, and sensors that have to survive in the real world. Sometimes that means a 200-line runtime in Rust. Sometimes it means a 4 KB audio pipeline in C. Sometimes it means redesigning the same Kalman filter for the fourth time because the IMU is on fire.

I prefer small, sharp tools over big frameworks. A focused 200-line runtime will outlive a 2 MB dependency every time. Most of what I publish on this site is in that spirit: notes from the trenches of putting intelligence on devices that don't have much.

Outside of work, I keep a small bench of STM32s and ESP32s that I treat like a menagerie. Some of them make sounds. Some of them turn motors. Some of them exist only because I wanted to see if a thing was possible.

02 Timeline
2025 →
Building tinymlr. An open-source ML runtime for ARM Cortex-M. Published v0.2 in May; v0.3 (QAT, INT4) in progress. Used in production by a small audio startup.
2024
Embedded audio inference. Shipped a 4 ms-latency keyword spotter on STM32H7 to a consumer device. Wrote the DMA pipeline, the model converter, and most of the bring-up.
2023
Started writing here. First public post on quantization. Realized I wanted a place to put notes that didn't fit on Twitter or in a conference talk.
2022
Went deep on TinyML. Built a small end-to-end pipeline (data → training → quantize → ship) for sensor-fusion models. Learned more about cache locality than I wanted to.
2018 → 2022
Generalist engineer. Firmware, ML, backend, the occasional PCB. Worked across the stack at small companies and once at a large one. Found the boundary interesting and stayed.
2018
First blinking LED. Soldered my first microcontroller. Bought the wrong chip. Did it again. Still doing it.
03 Contact

Have a hard problem where software and hardware need to meet?

I take on a few projects each year. Reach out with the rough shape of the problem, and I'll let you know if I'm the right person.