2. FLIR Lepton thermal camera software

When the installation of Raspbian is finished, it is time to install the FLIR Lepton thermal camera software. We are using Pure Engineering code to run the Lepton

  • Now, you need to open the LXTerminal, where you will type your commands. Click in the icon showed in the picture below:

  • When it is done, you need to enter the command below. It will open the configuration section for you.

sudo raspi-config
  • You will see this windows:

  • Go to “Advanced Options”.

  • You need to activate the "SPI". For this, follow the instructions below:

  • Select SPI

  • You need to enable the SPI interface: click "YES"

  • Click in "OK"

  • You need that your SPI Kernel Module to be loaded by default, therefore click "YES" .

  • Click in "OK"

  • After this, do the same to I2C.

  • Now, select finish and reboot the raspberry pi you will be asked if you want to reboot your Raspberry Pi. Do it.

  • Now, it is time to use the internet connection. You need to download the QT application( example codes from Pure Engineering). Therefore, make sure that you have a good internet connection.

  • For the next steps, enter the following command:

sudo apt-get install qt4-dev-tools
  • After this, you will be asked to enter with "y" or "n". Enter "y".

  • Now go to the internet icon and this website: https://github.com/PureEngineering/LeptonModule

  • When you open the website, click in “Download ZIP” (it is in the right side of your screen).

  • Move your downloaded folder to the pi directory.

  • Now unzip the zipped folder. Use the command:

unzip LeptonModule-master.zip 
  • Now change the current directory to the folder "raspberrypi_video" that is in the "LeptonModule-master" folder. Do that using the command:

cd /home/pi/LeptonModule-master/raspberrypi_video
  • Now, you need to cd into the “LeptonSDKEmb32PUB” directory and run "make":

cd /home/pi/LeptonModule-master/raspberrypi_video/leptonSDKEmb32PUB
make
  • After this, cd back to the “raspberrypi_video” directory:

cd /home/pi/LeptonModule-master/raspberrypi_video
  • Now, run:

qmake && make
  • Your thermal camera is ready for use! To get it to work, run:

sudo ./raspberrypi_video

Last updated

Was this helpful?