top of page

NetThermal

Our tiny WiFi-enabled Thermal Camera

Finally, the search for a WiFi-streaming thermal camera is over. After looking far and wide, we developed NetThermal, a tiny, DIY, WiFi-enabled thermal camera, and what's best - you can build one too! Buy the kit and follow this tutorial to start streaming thermal imagery from your drone, use it as a wireless security camera around the house, or for any DIY project that requires a thermal video stream.

NetThermal - WiFi Thermal Camera Assembly

NetThermal - WiFi Thermal Camera Assembly

Play Video

Software Setup

Initial Setup & MJPG-Streamer

  1. Connect to your Onion's WiFi network. It will be named something like Omega-XXXX

  2. Complete the setup at http://192.168.3.1    (username: root, password: onioneer)

  3. Install the legacy console

  4. From the legacy console, install the Webcam module

  5. Go to the Terminal and type: vi /etc/config/mjpg-streamer

  6. Make sure the file looks like this:

      config mjpg-streamer 'core'

        option enabled '1'

        option input 'uvc'

        option output 'http'

        option device '/dev/video0'

        option resolution '160x120'

        option yuv '1'

        option quality '100'

        option fps '9'

        option led 'auto'

        option www '/www/webcam'

        option port '8080'

Save and exit (use :wq command to save and exit)

Type /etc/init.d/mjpg-streamer start in your Terminal to start streaming.

Navigate to http://192.168.3.1:8080 to see the first stream from your camera.

NOTE: The colors in this test image may not look as expected, as PT does not support MJPEG and MJPEG streamer does not support YUV. Follow the instructions below to use MOTION to solve this, and provide a true-color image from the FLIR sensor.

3.jpg

Motion

  1. /etc/init.d/mjpg-streamer stop

  2. Enable 'packages': vi /etc/opkg/distfeeds.conf

  3. opkg update

  4. opkg install motion

  5. cd ../

  6. cd etc/

  7. vi motion.conf

  8. Edit the following lines:

       framerate 9

       quality 100

       stream_quality 100

       stream_maxrate 9

       stream_localhost off

Start Motion: motion

Navigate to http://192.168.3.1/8081 to see the first stream from your camera.

You should now also notice still images being captured in your /etc folder whenever the camera detects motion!

Change color palettes using: v4l2-ctl -c lep_cid_vid_lut_select=1

References:

https://motion-project.github.io/motion_config.html

https://www.linux.com/learn/how-operate-linux-spycams-motion

https://motion-project.github.io/index.html

https://motion-project.github.io/motion_config.html#commandlineoptions

V4L Control

  1. Enable 'packages' and 'reboot_base': vi /etc/opkg/distfeeds.conf

  2. opkg update

  3. opkg install v4l-utils

  4. Use WinSCP to copy pt1.xml to Onion from https://github.com/groupgets/purethermal1-uvc-capture/blob/master/v4l2/uvcdynctrl/pt1.xml

  5. Import the dynamic controls: uvcdynctrl -v -d /dev/video0 -i pt1.xml

  6. Check that the controls were successfully imported: v4l2-ctl -l

  7. Change color palettes using: v4l2-ctl -c lep_cid_vid_lut_select=1

Case

Download the STL files for our handy 3D-printed case on Thingiverse!

Subscribe Form

bottom of page