Skip to content

Pi1lot/Tiny-Thermal-Cam

Repository files navigation

Tiny Thermal Cam

Capture d'écran 2026-02-24 005450

Huge thanks to Jacob-Lundstrom for its repository. It was the only one that I could get working properly with my Lepton camera.

Parts

Pinout

Warning

Pinout schema doesn't include the potentiometer yet

Schéma
ESP32 Pin Lepton Pin Function
D17 Pin 5 SDA
D15 Pin 8 SCL
D22 Pin 10 CS
D16 Pin 7 SCK
D19 Pin 12 MISO
GND GND Ground
3V3 Power In Power
ESP32 Pin ST7735 Pin Function
3V3 VCC Power
GND GND Ground
D5 CS Chip Select
D2 RST Reset
D4 A0 Command/Data
D23 SDA Data (MOSI)
D18 SCK SPI Clock
3V3 LED Backlight

Code

Depending if you prefer accuracy over speed, you can choose different programs. Lepton_Grayscale_v6_completed.ino is the latest version with proper handling of Lepton syncing at boot and implement a scale potentiometer to adjust contrast if used in a wide range of temperature, but is focused on displaying images instead of measuring. For temperature accuracy, choose Lepton_Grayscale_v1.ino.

Improvements

Sometimes framerate drops because the sensor loses sync with the ESP32 over the SPI bus. Maybe there are more reliable methods for handling this, hardware or software. One could use the VSYNC pin to let the sensor tell the ESP32 to listen for incoming images, maybe that would be more reliable. Sadly, I didn't manage to get it to work.

Demo

lepton_scope_working

About

Lepton Flir based thermal camera running on ESP32 and ST7735 screen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors