🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
Teaser Image
atomic14

MLX90640

Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
  Âˇ     Âˇ     Âˇ     Âˇ     Âˇ   Posts  Âˇ   Videos  Âˇ   Tags  Âˇ   Tools  Âˇ   Support

Turning an ESP32 into a Thermal USB Webcam

Last time I faked a webcam on an ESP32; this time I built a real one. The ESP32-S3’s native USB + UVC with MJPEG makes a normal camera dead simple—grab JPEG frames and stream. The fun bit is turning an MLX90640 (32×24 thermal) into a proper USB camera: read over I2C, color-map, scale up to 320×240 (nearest or bilinear), JPEG encode, and stream—works in any camera app, no drivers. Bonus lesson: if an I2C scan finds nothing, stop blaming software; mine was a bad 3.3 V regulator solder joint.
15 February 2026

When “Software Bugs” Are Actually Bad Soldering

A quick MLX90640 IR camera test turned into a dead-on-I2C mystery. I ran the usual checks—addresses, pull-ups, voltages, wiring—and even fixed my forgotten UART/I2C jumper, but still nothing. A peek under the microscope revealed sketchy solder on the 3V3 LDO; a quick reflow and the sensor sprang to life. Lesson relearned: don’t trust factory soldering, look early with a microscope, and stop blaming software when the hardware’s silent.
25 January 2026
Subscribe!
All content copyright Chris Greening © 2026 • All rights reserved.
Made with Jekyll

This website uses cookies to enhance your browsing experience and analyze site traffic.