Skip to content

electronicsbyjulie/ircamebj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ircamebj

Software for ExJ infrared camera. *** WARNING: *** This repository is a work in progress. It is not yet ready and probably won't work with your hardware.

Camera Exterior

The 3D printable camera exterior can be found here: https://www.thingiverse.com/thing:4322005

Parts List

To make a functioning IR cam using this design, the following components are required:

Setup

If necessary, charge the battery (check it by pressing the button on top and peering through the battery-shaped hole in the front. Four lights = fully charged). Connect the HDMI port to an HDMI monitor, and the USB ports to a keyboard and mouse, and power the device on. If you have not done so yet, go through the Pi first run setup and set the locale, wifi settings, password, etc. Set the device name to something unique to your wifi network. Disable overscan, pixel doubling, and screen blanking. If you have not enabled the camera interface, do so now. Enable SSH, VNC, SPI, I2C, Serial port. Optionally you can set the desktop preferences: uncheck wastebasket and mounted disks, and increase system font to about 24 pixels. In File Manager settings, select Open files with single click, Don't ask options on launch exec, and Don't show available options for removable media. Open a terminal (Ctrl+Alt+T) and run the following commands:

cd ircamebj

sudo chmod +775 *.sh

Ensure that you have a working internet connection, and then run this command:

sudo rpi-update

Manually reboot the system. When it comes back up, open a terminal again and run:

sudo apt-get update

sudo apt-get install -y gedit rclone unclutter libgtk-3-dev libi2c-dev libjpeg-dev libpng-dev gpac

sudo apt-get install gstreamer1.0-plugins-ugly gstreamer1.0-tools gstreamer1.0-gl gstreamer1.0-gtk3

Once everything is finished, you can run ircaminstall.sh. It will compile the executables for the camera, then it will prompt you for the PiTFT display setup; this is your touchscreen. When propmted, select option 4, then option 3, then wait, then answer N, Y, wait again, and answer Y. The unit will then reboot into camera mode. Once the camera app comes up, first make sure that there is a NoIR image shown and a thermal image overlaid on it. You can wave your hand in front of the unit to check the thermal sensor. If anything is not working, your wiring might be incorrect. If everything works, press the Esc key and open a terminal with Ctrl+Alt+T. Place the thermal sensor against something with a uniform temperature like the side of an empty cardboard or plastic box. (Don't rely on a wall to be thermally uniform, as there may be conduits or pipes inside.) Run the following command and wait about 5 minutes for it to finish:

~/ctrlr thc

This stands for Thermal Calibrate. It takes one thousand consecutive thermal snapshots, averages them out, and generates a text file that represents the necessary corrections for variances in the thermal sensor. After this, your thermal images will be calibrated, although you may have to adjust its alignment to a known object such as a distant tree against the sky: press the W, A, S, Z keys until the optical and thermal images align in the viewscreen. Pressing the view area takes a photo.

You can then delete the installer shell script and move the desktop icons around. You can now either reboot into the camera app, or in the terminal type ./ctrlr and press enter. Disconnect the monitor and keyboard/mouse, and enjoy your new infrared camera!

The User Manual can be found here: https://docs.google.com/document/d/13N0HF1H3yCP-lyx0upOR_FPntTJiehe-wWmnJNSEhBQ/edit?usp=sharing

About

Software for ExJ infrared camera.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published