Favorited
Favorite
8
Introduction
Note: This tutorial was originally written for the FLiR Lepton [KIT-13233]. However, the FLiR Lepton 2.5 with Radiometry should function the same.
When our team found out that we’d be testing a Long Wave Infrared (LWIR) camera, there were two words that we couldn’t stop saying: Predator Vision. That’s right, we were finally going to be able to see the invisible world of heat, which would aid us greatly if we ever found ourselves hunting a team of special operatives in a remote jungle… or, you know, trying not to scald ourselves on a hot cup of tea.
As it happens, the FLIR Lepton is an excellent little module for the price and Pure Engineering has done a bang up job spinning the breakout board and documentation.
Retired
KIT-13233
The FLiR Dev Kit includes a breakout as well as a Lepton® longwave infrared (LWIR) imager. With this kit you will be able to…
27
Retired
Retired
KIT-14654
With the FLIR Radiometric Lepton Dev Kit you will be able to bring FLIR's thermal imaging reliability and power to your desir…
3
Retired
There are, however, a few minor “gotchas” in the setup process and so we figured it was best if we shared what we learned in playing with this thing. But first… A bit of theory...
Suggested Videos
Having a hard time seeing the videos? Try viewing the videos in full screen mode.
Required Materials
To follow along with this tutorial, you will need the following hardware and software. You may not need everything though depending on what you have and your setup. Add the hardware to your cart, read through the guide, and adjust the cart as necessary.
Hardware
Today we’ll be setting up the Raspberry Pi example code as provided by Pure Engineering and featured in our product videos. At a minimum, we’ll be needing a Raspberry Pi... and not much else, actually. Just a handful of jumper wires as well as a monitor, keyboard, accompanying cables for your Raspberry Pi, and the FLIR Lepton camera of your choice.
Below is a wishlist of the suggested parts:
Note: To reduce the number of components used, you could wire the thermal camera straight to the Pi using
F/F jumper wires. For a secure connection, you could also use
solder a custom Raspberry Pi hat using a prototyping board.
In stock
PRT-11367
An assortment of colored wires: you know it's a beautiful thing. Six different colors of solid core wire in a cardboard dispe…
38
In stock
PRT-11710
Jumper wires are awesome. Just a little bit of stranded core wire with a nice solid female connector on either end. They have…
7
In stock
PRT-14017
This 2x20 "tall" header has the same number and spacing of pins as a Raspberry Pi and provides your board with the ability to…
Out of stock
PRT-13268
Sometimes it's nice to have a protoboard that's super long and skinny, super small, or just a bunch of holes. The SparkFun Sn…
21
Heads up! If you are getting the PureThermal 2: FLIR Lepton Smart I/O Board, the board does
not include the FLIR Lepton camera module. However, this handles control of the camera and raw video data via USB. This is useful if you are attaching it to your computer and using it as a USB web camera.
In stock
CAB-10215
USB 2.0 type A to Micro-B 5-pin. This is a new, smaller connector for USB devices. Micro-B connectors are about half the heig…
15
Retired
DEV-14670
The PureThermal 2 Smart I/O Board is a hackable thermal USB webcam breakout for the FLIR Lepton® thermal imaging camera core…
6
Retired
For more information on setting up the smart I/O board with your computer, check out the following videos related to your setup to install the official Lepton app.
Software
The example code has been tested on a Raspberry Pi model B, but it should work fine on any model so long as you have Raspbian installed.
You will also need to install the QT dev tools and example. Check out the Software later in the tutorial for more information.
Suggested Reading
If you aren’t familiar with the following concepts, we recommend checking out these tutorials before continuing. This tutorial will assume you have a little bit of Raspberry Pi knowledge. If the Pi is new to you, have no fear. You can visit our Installing Raspbian and DOOM tutorial, if you need a primer. Also helpful is our Raspberry Pi GPIO tutorial. The Lepton uses SPI communication to send its video stream and it uses an I2C-like Communication protocol as the control interface. If you are unfamiliar with either of those communication methods, please visit the corresponding tutorials.
I2C
An introduction to I2C, one of the main embedded communications protocols in use today.
Setting up Raspbian (and DOOM!)
How to load a Raspberry Pi up with Raspbian -- the most popular Pi Linux distribution. Then download, compile, install and run the classic: Doom.
Raspberry gPIo
How to use either Python or C++ to drive the I/O lines on a Raspberry Pi.