Skip to content

bobpetersen/thermal-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low Cost Thermal Camera

This repository includes Python code that can be run on a Raspberry PI to dispaly images from a SparkFun IR Array (MLX90640) on to a PiTFT screen.

PARTS

Note: We've currently only tested this on a Pi 3 B+. We plan to test this project on a Pi Zero W in the near future.

Setup

Raspberry PI

Our project uses the mlx90640-library. Download the above library on your Raspberry PI and run it with the following commands:

make clean
make I2C_MODE=RPI

By default, the c++ examples in this library only output to /dev/fb0 which is the HDMI frame buffer. To output to the PiTFT, you'll need to modify the /examples/lib/fb.c, switch to /dev/fb1 and re-make the project.

Download the /python/thermal-daemon.py file from this project on to your Raspberry PI. Optionally, download the helper .sh files in the python folder. **IMPORTANT: Make sure to run the thermal-daemon.py with sudo or you will get a segmentation fault.

Web Server

Fork and clone this repository then start it with the following commands:

npm install
npm run server
npm run client

NOTE: You'll need to update the thermal-daemon.py to point to your computers IP address or to the location you're hosting the web server.

Web Server Feature List

Header COMPONENT

  • Set up component

Gallery of thermal images COMPONENT

  • Add the component on app.js
  • GET axios request to display images on DOM
  • Append the images 3 per row with timestamps under the pics

Search Feature COMPONENT

  • Searchable by date/time
  • Add to the app.js with props for GET axios request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published