Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use FLIR Lepton 3.5: Examples, Pinouts, and Specs

Image of FLIR Lepton 3.5Design with FLIR Lepton 3.5 in Cirkit Designer

Introduction

The FLIR Lepton 3.5 is a compact thermal imaging camera module designed to deliver high-resolution thermal images in a small form factor. Manufactured by FLIR, this module is ideal for applications requiring precise thermal imaging, such as robotics, drones, building inspections, and industrial monitoring. Its advanced thermal sensing capabilities make it a popular choice for developers and engineers working on innovative thermal imaging solutions.

Explore Projects Built with FLIR Lepton 3.5

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of WiFi LoRa Environmental Monitoring System with INMP441 Mic and Multiple Sensors: A project utilizing FLIR Lepton 3.5 in a practical application
WiFi LoRa Environmental Monitoring System with INMP441 Mic and Multiple Sensors

This circuit is a solar-powered environmental monitoring system that uses a WiFi LoRa 32V3 microcontroller to collect data from various sensors, including a microphone, UV light sensor, air quality sensor, and temperature/humidity/pressure sensor. The collected data is processed and transmitted via LoRa communication, making it suitable for remote environmental data logging and monitoring applications.

Open Project in Cirkit Designer
Image of Raspberry Pi 5 and MLX90640 Thermal Camera Imaging System with Battery Backup: A project utilizing FLIR Lepton 3.5 in a practical application
Raspberry Pi 5 and MLX90640 Thermal Camera Imaging System with Battery Backup

This circuit features a Raspberry Pi 5 connected to an Adafruit MLX90640 Thermal Camera via I2C communication lines (GPIO 2 and GPIO 3 for SDA and SCL, respectively) and powered by a 24/12V buck converter. The buck converter steps down voltage from a 3S 10A Li-ion 18650 battery pack, which is managed by a charger protection board and charged through a lipo battery charger module. The Raspberry Pi runs code to capture and process thermal images from the camera.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

The FLIR Lepton 3.5 is a radiometric thermal imaging module with the following key specifications:

Key Technical Details

Parameter Specification
Manufacturer FLIR
Part ID Thermal
Resolution 160 × 120 pixels
Thermal Sensitivity < 50 mK
Spectral Range 8 – 14 µm
Frame Rate 8.7 Hz (radiometric)
Field of View (FOV) 57° × 42°
Operating Voltage 2.8 V (core), 1.2 V (I/O)
Power Consumption ~150 mW
Interface SPI
Dimensions 10.5 × 12.7 × 7.1 mm
Weight 0.9 g

Pin Configuration and Descriptions

The FLIR Lepton 3.5 module has a 20-pin interface. Below is the pinout and description:

Pin Number Name Description
1 GND Ground
2 VDD 2.8 V power supply for the core
3 VDDIO 1.2 V power supply for I/O
4 RESET_L Active-low reset
5 PWR_DWN_L Active-low power down
6 MCLK Master clock input
7 GND Ground
8 SCL I2C clock line
9 SDA I2C data line
10 GND Ground
11 SPI_CS SPI chip select
12 SPI_CLK SPI clock
13 SPI_MISO SPI master-in/slave-out
14 SPI_MOSI SPI master-out/slave-in
15 GND Ground
16 GPIO0 General-purpose I/O
17 GPIO1 General-purpose I/O
18 GPIO2 General-purpose I/O
19 GPIO3 General-purpose I/O
20 GND Ground

Usage Instructions

How to Use the FLIR Lepton 3.5 in a Circuit

  1. Power Supply: Provide a stable 2.8 V supply to the VDD pin and 1.2 V to the VDDIO pin. Ensure proper grounding by connecting all GND pins to the circuit ground.
  2. Clock Input: Supply a 25 MHz clock signal to the MCLK pin for proper operation.
  3. Communication Interface: Use the SPI interface for data transfer. Connect SPI_CS, SPI_CLK, SPI_MISO, and SPI_MOSI to the corresponding pins on your microcontroller or processor.
  4. I2C Configuration: Use the SCL and SDA pins for I2C communication to configure the module and retrieve status information.
  5. Reset and Power Down: Use the RESET_L and PWR_DWN_L pins to control the module's reset and power states.

Important Considerations

Example: Using FLIR Lepton 3.5 with Arduino UNO

Below is an example of interfacing the FLIR Lepton 3.5 with an Arduino UNO using the SPI interface:

#include <SPI.h>

// Define SPI pins for Arduino UNO
#define CS_PIN 10  // Chip Select
#define CLK_PIN 13 // SPI Clock
#define MOSI_PIN 11 // Master Out Slave In
#define MISO_PIN 12 // Master In Slave Out

void setup() {
  // Initialize SPI communication
  SPI.begin();
  pinMode(CS_PIN, OUTPUT);
  digitalWrite(CS_PIN, HIGH); // Set CS high to deselect the module

  Serial.begin(9600); // Initialize serial communication for debugging
  Serial.println("FLIR Lepton 3.5 Initialization...");
}

void loop() {
  // Example: Read data from the FLIR Lepton 3.5
  digitalWrite(CS_PIN, LOW); // Select the module
  byte response = SPI.transfer(0x00); // Send a dummy byte to receive data
  digitalWrite(CS_PIN, HIGH); // Deselect the module

  // Print the received data
  Serial.print("Received Data: ");
  Serial.println(response, HEX);

  delay(1000); // Wait for 1 second before the next read
}

Notes:

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Image Output:

    • Ensure the MCLK pin is receiving a 25 MHz clock signal.
    • Verify the power supply voltages (2.8 V for VDD and 1.2 V for VDDIO).
    • Check SPI connections and ensure proper timing.
  2. Blurry or Distorted Images:

    • Clean the lens with a soft, lint-free cloth.
    • Ensure the module is not overheating.
  3. Communication Errors:

    • Verify SPI and I2C connections.
    • Check for proper grounding and stable power supply.
  4. Module Not Responding:

    • Reset the module using the RESET_L pin.
    • Ensure the PWR_DWN_L pin is set to high (active-low power down is disabled).

FAQs

Q: Can the FLIR Lepton 3.5 detect human body temperature?
A: Yes, the module can detect human body temperature, but it is not a medical-grade device. For accurate temperature readings, ensure proper calibration and environmental conditions.

Q: Is the FLIR Lepton 3.5 compatible with Raspberry Pi?
A: Yes, the module can be interfaced with Raspberry Pi using the SPI interface. Libraries like pylepton can simplify integration.

Q: What is the maximum operating temperature for the module?
A: The FLIR Lepton 3.5 can operate in temperatures ranging from -10°C to 65°C.

Q: Can the module be used outdoors?
A: Yes, but ensure it is protected from direct exposure to water, dust, and extreme environmental conditions.