
Pure Engineering provides a SMT pad on the back of their breakout for the Lepton's GPIO3 pin. A few modifications are made to various boards. The button initially enables power and then the Teensy drives D7 to hold power. It's controlled using a soft-power switch. A LiPo charger/boost converter supplies 5V power to the various boards (the Teensy 3.3 volt regulator drives the 3.3v rail). The additional circuitry is for power management and control buttons.
Flir lepton 3 pdf#
Most connections between the Lepton module, LCD and Teensy are direct and documented in the image and included PDF schematic using the Arduino-style signal notation. I used an Arduino shield style breakout board to make it easy to connect the Teensy to the display and imaging module. Now it’s time for images and videos, that are always better than many words.The test platform hardware is pretty straightforward.

The code is self-explaining and fully commented, but you can write me an email if something is not clear. The application allows to “simulate fever” adding ☌ to the temperatures that are in the range of human temperature.
Flir lepton 3 how to#
The application is available in the Github repository and illustrates how to measure the person temperature and send visual alarms in case of possible fever. In this strange period of COVID19 an useful application for a thermal image is to measure the human temperature and alert in case it overcomes the “security value” of 37.5☌. The repository contains also a real world application that illustrates how to convert raw data values to real temperature values. The repository contains a sample demo that illustrates how to control the sensor features, how to acquire thermal images and how to display them using OpenCV.
Flir lepton 3 driver#
It is available on Thingiverse.Ī Github repository is available that contains a library driver to control the Lepton3 by I2C and to get thermal image by SPI. The Lepton3 breakout board is placed inside a protective 3D printed case that I designed 3 years ago. The I2C interface of the FLIR Lepton3 module should reply at address 0x2a 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: - 10: - 20: - 2a - 30: - 40: - 50: - 60: - 70:. To verify that the I2C cables are correctly connect you can use the command $ i2cdetect -y -r 0 If you correctly followed the configuration procedure, the output should be 20480. To be sure that the buffer size of the SPI has the correct value we can check the content of the file /sys/module/spidev/parameters/bufsiz using the command $ cat /sys/module/spidev/parameters/bufsiz

To permanently set the value of the SPI buffer you must create a configuration file for modeprobe $ sudo gedit /etc/modprobe.d/nf Then reload the module setting the required parameter $ sudo modprobe spidev bufsize=20480 The first is temporary and the default buffer size will be restored after the next reboot, the second is permanent.įirst of all remove the spidev module from the Kernel $ sudo rmmod spidev

To change the size of the SPI buffer we have two methods.
Flir lepton 3 full#
Lepton3 requires 20KB of buffer to retrieve a full segment of data that composes the thermal image. The default buffer size use for SPI communication is set to 4096 bytes by the spidev module. The operation is quite simple, there is a very good guide to follow and I will not replicate every step here, just go to visit the JetsonHacks blog and follow the guide of my friend kangalow about using the Jetson-IO tool to enable the SPI1 port available on the PINS 19, 21, 23, 24, 26 of the expansion header (J41) of the NVIDIA® Jetson™ Nano Developer Kit. The first operation to perform is enabling one SPI port on the Jetson™ Nano.

If you are curious about the rear single pin… it’s a GND test point, useful to connect the GND of the probe of the oscilloscope to analyze the status of each signal.
