Skip to content
Matthew Navarro edited this page Jul 8, 2025 · 10 revisions

LeptonModule wiki!

Important Note

GroupGets does not provide coding, firmware, or software support of any kind and will not respond to related requests. All software and firmware provided by GroupGets are offered solely as examples or potential starting points. These repositories may be outdated and are not guaranteed to function as intended.

We do not accept returns or offer replacements due to issues related to software, firmware, or code compatibility.

The software is provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

raspberrypi_capture

This is for the raspberry pi you have to enable the spi and i2c ports for this code to work.

  1. sudo vi /etc/modules
  2. add # in front of spi-bcm2708 and ic2-dev
  3. to compile the code just run "gcc raspberry_pi_capture.c"
  4. to capture an image run "sudo ./a.out"
  5. an file called image.pgm will be created, you can use GIMP to view the image

To connect to the Raspberry pi board P1 is used. The following pins are wired

  • CS -> Pin 24, CE0 (note other examples use CE1)
  • MOSI -> Pin 19, MOSI
  • MISO -> Pin 21, MISO
  • CLK -> Pin 23, CLK
  • GND -> Pin 25, GND
  • VIN -> Pin 1, 3V3
  • SDA -> Pin 3, SDA
  • SCL -> Pin 5, SCL

For more information visit: https://groupgets.com/manufacturers/flir/products/flir-lepton

Here is a great set of step by step directions: https://groupgets.com/blog/posts/8-installation-guide-for-pure-breakout-board-on-raspberry-pi-2

There is a good writeup for using the video example posted up at sparkfun, check it out here https://learn.sparkfun.com/tutorials/flir-lepton-hookup-guide

Clone this wiki locally