High-performance ESP-IDF driver for FLIR Lepton 3.5 thermal imaging cameras.
- Full support for Lepton 3.5 (160x120 resolution)
- VoSPI (Video over SPI) high-speed frame capture
- CCI (Command & Control Interface) via I2C
- AGC (Automatic Gain Control) support
- FFC (Flat Field Correction) control
- Radiometry support (temperature measurement)
- Multiple color palettes (Iron, Rainbow, Grayscale)
| Camera Model | Resolution | Status |
|---|---|---|
| Lepton 3.0 | 160x120 | |
| Lepton 3.5 | 160x120 | ✅ Tested |
| Lepton 2.x | 80x60 |
Tested ESP32 Platforms:
- ESP32-S3 (Recommended)
- ESP32 (Should work, not extensively tested)
- ESP-IDF: v5.1 or newer
- Hardware:
- ESP32 or ESP32-S3 module
- FLIR Lepton 3.x camera module
- SPI interface (3-wire or 4-wire)
- I2C interface for CCI
- Adequate power supply (≥150mA @ 3.3V for Lepton)
Add to your main/idf_component.yml:
dependencies:
esp32-lepton:
git: https://github.com/Kampi/ESP32-Lepton.git- Clone into your project's
componentsdirectory:
cd your_project/components
git clone https://github.com/Kampi/ESP32-Lepton.gitConfigure via idf.py menuconfig:
Component config → ESP32-LeptonBuilt-in palettes for thermal visualization:
| Palette | Description | Use Case |
|---|---|---|
| Iron | Black → Red → Yellow → White | General thermal imaging |
Typical Frame Rates:
- Lepton 3.5: ~8.6 Hz (native)
- ESP32-S3 @ 240 MHz: ~9 Hz capture + RGB conversion
See the examples/ directory:
- basic_init: Basic initialization of the Lepton camera
- basic_capture: Basic capture example
This project is licensed under the GNU General Public License v3.0.
See LICENSE for full text.
Daniel Kampert
📧 [email protected]
🌐 www.kampis-elektroecke.de
Contributions Welcome! Please open issues or pull requests on GitHub.