FLIR Lepton module usage on APF & OPOS

From ArmadeusWiki
Revision as of 11:01, 29 August 2017 by JulienB (Talk | contribs) (Software)

Jump to: navigation, search

Page under construction... Construction.png Informations on this page are not guaranteed !!

FLIR Lepton(tm) thermal camera have been tested on APF6 and OPOS6UL platforms. This page detail how to give it a quick try.

Hardware

  • you can use devt kit bought from sparkfun or digikey. Don't forget to buy breakout board AND the sensor ;-).
  • only 80x60 models have been tested yet

Connecting Lepton breakout board to your Dev

APF6Dev OPOS6ULDev
You can use SPI1 on J5 connector (+3V3 and GND) Apf6dev j5.jpeg
J5 Lepton(tm) breakout
+3V3 (pin 1) VIN
GND (pin 19) GND
SPI1_SCLK (pin 5) CLK
SPI1_SS0 (pin 9) CS
SPI1_MISO (pin 6) MISO
SPI1_MOSI (pin 10) GND
export BACK_IF=lcd_backlight

Software

  • Even if initially developped for platforms like RaspberryPi or BeagleBone, the following tools are able to run on APF/OPOS:

https://github.com/groupgets/LeptonModule

  • flirpi: it converts and shows Lepton data to framebuffer
  • raspberry_capture: it can capture Letpon frames and store it as images or raw file
  • v4l2lepton: it takes data from Lepton, converts them to RGB and send them to v4loopback device. This way Lepton is directly usable with V4L compatible applications like gstreamer.

All these software are using spidev interface to get data from Lepton, so before using them you have to:

# modprobe spidev

Links