Low power thermal imaging for RPi Zero and Purethermal + Lepton 2.5/3.5
On Github at https://github.com/disasterarchy/thermalZero
Using the Lepton 2.5/3.5 and Purethermal2 board for thermal imaging on RPi Zero W
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Low power thermal imaging for RPi Zero and Purethermal + Lepton 2.5/3.5
On Github at https://github.com/disasterarchy/thermalZero
The goal here was to capture images intermittently and reduce power consumption. The following stats are all for a headless, HDMI disabled, RPi Zero W connected via SSH on Wifi. This is using a Purethermal 2 board and a Lepton 3.5 Here are the results:
Using exactly the same setup and a Lepton 2.5, the results are almost exactly the same, except it seems like the peak current is a little less ( ~0.23A) and duration of the higher current for running is also less.
I will do this on a headless Rpi Zero W.
First I am going to install a headless Raspian Stretech lite. Directions for this are here:
https://howtoraspberrypi.com/how-to-raspberry-pi-headless-setup/
Next I will setup the software for the Purethermal2 to work with the RPi. I will first install libusb and then the groupgets version of libuvc (https://github.com/groupgets/libuvc) and then I will try the uvc-radiometry.py script from (https://github.com/groupgets/purethermal1-uvc-capture).
Once I get the image capture to work, we will save power by periodically disconnecting from and turning off the Purethermal board which is a usb device. There are some forums that discuss generally how this is done:
https://www.raspberrypi.org/forums/viewtopic.php?t=134351
Another approach would be to work on doing a better job at stopping camera streaming when we are done.
https://int80k.com/libuvc/doc/group__streaming.html
General power saving tips are discussed here.
Once it boots, connect via SSH and execute commands to update software. Also to save power, if you're going headless you can turn off the HDMI. This is the only non-thermal imaging or image processing related power hack here.
sudo apt-get update
sudo apt-get upgrade
/usr/bin/tvservice -o
Run the following commands to install prerequisites:
sudo apt-get install libusb-1.0-0-dev cmake
sudo apt-get install python-opencv
sudo apt-get install git
git clone https://github.com/groupgets/libuvc.git
git clone https://github.com/groupgets/purethermal1-uvc-capture.git
git clone https://github.com/disasterarchy/thermalZero.git
The purethermal1-uvc-capture git is foundational and is added only for reference here. I will be using a customized slimmed version in my thermalZero git.
Create an account to leave a comment. Already have an account? Log In.
Hi disasterarchy, thanks for submitting to the Hot Camera Contest. Do you think you would have a chance to demonstrate putting the Lepton into a low-power/zero-power mode before the deadline? I ask because you're clearly the farthest submission so far, and I've had another request to extend the contest. best wishes
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
Are you continuing work on this project? This is really close to what I'm trying to accomplish, but don't have a lot of time to work on it right now and my knowledge base is pretty limited when it comes to the software/hardware interfacing issues I've run into. Will definitely follow this, thanks.