Latest firmware release for DIY-Thermocam V1 (Teensy 3.1 / 3.2) and DIY-Thermocam V2 (Teensy 3.6).
Have a DIY-Thermocam V3 or V4 (Teensy 4.1)? Use DIY-Thermocam 4.0.0 instead. This 2.4.9 release is for V1 and V2 hardware only.
Downloads
| Hardware | File |
|---|---|
| DIY-Thermocam V1 (Teensy 3.1 / 3.2, includes USB Mass Storage) | Firmware_V1.hex
|
| DIY-Thermocam V2 (Teensy 3.6) | Firmware_V2.hex
|
All files bundled (Firmware_V1.hex, Firmware_V2.hex, Changelog.txt)
| DIYThermocam_2.49.zip
|
Flash the .hex file for your board with PJRC Teensy Loader or the legacy Firmware Updater. SHA256SUMS.txt lists a checksum for every file.
What's fixed
- Runaway temperatures (such as ±28,743 °C/°F): Fixed the calibration compensation loop in Fahrenheit and Celsius (
compensateCalib()now adjusts additively in Celsius and clamps within ±80 °C), and ranlimitValues()before compensation so startup frames never feed uninitialized limits into calibration. - White/black screen after boot and corrupt presets: Validated stored calibration slope and temperature-limit presets loaded from EEPROM. Upgrading from firmware earlier than 2.4.9 automatically clears corrupt preset slots and restores
AUTOmode. - Multi-second freezes and jitter: Fixed the
MLX90614I2C retry bug that stalled for 1 second per call after a single bus glitch, cached ambient temperature once per frame, kept a 25 ms I2C timeout at runtime, and added 250 ms bounds to all Lepton CCI busy-waits. - FLIR Lepton 2.5 and 3.5 detection: Fixed the constant collision where both
leptonVersion_2_5_shutterandleptonVersion_3_5_shutterwere defined as3(which caused Lepton 2.5 freezes and wrong PC Live Viewer resolution on Lepton 3.5). Added support for newer Lepton 3.5 (05-070850) modules and fixed Lepton CCI 16-bit word-count handling. - V1 USB Mass Storage reboot: Exported
startup_late_hook()asextern "C"so Teensy 3.1/3.2 actually jumps to the embeddedMassStorage.heximage at0x38880instead of rebooting back into the main firmware. - Rendering speed and display fixes (ported from Firmware 4.0): Added VoSPI CCITT CRC-16 packet checking (with automatic fallback), symmetric integer 3×3 Gaussian/Box filters, a precomputed RGB565 colormap table, fixed-point bilinear upscaling on V2, single-transaction SPI refresh on V1, divide-by-zero guards, right-aligned colorbar labels, and
-0.50negative formatting fixes.
Source code is on branch v2.4.x. .DAT captures remain compatible across V1, V2, V3, and V4 cameras and DIY-Thermocam Studio.