Skip to content
Kurt Kiefer edited this page May 14, 2016 · 9 revisions

LeptonModule wiki!

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