Thermal USB Camera (B)

From Waveshare Wiki
Jump to: navigation, search
Thermal USB Camera (B) 45°/90°
Thermal-45 Camera (B)

USB Type-C
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Introduction

This product is a mobile phone thermal imager with an aluminum alloy case. It adopts the hybrid technology of microbolometer and thermopile pixel with 80×62 pixel focus array, which can detect the infrared radiation energy distribution of the object in the field of view of the lens, and then obtain the surface temperature distribution of the object after quantitative processing and generate the thermal imaging map. It has a Type-C interface, which can be directly connected to mobile phone devices, plug and play. This product is available in 45° and 90° field of view versions for users to choose.

Features

  • Hybrid technology of microbolometer and thermopile with 80(H)×62(V) pixels
  • Continuous operation and thermal imaging video stream due to shutterless design
  • Noise Equivalent Temperature Difference (NETD) 125mK RMS@1Hz refresh rate
  • Up to 25FPS (Max) thermal imaging video stream output
  • Comprehensive supporting manuals (Raspberry Pi Python demos, host device and user manuals for Android/Windows, etc.)

Specifications

  • Operating voltage: 5V
  • Operating voltage: 20mA@5V
  • Wavelength range: 8~14μm
  • Field of View (FOV):
    • 56°(D) × 45°(H) × 34°(V) (Regular version)
    • 122°(D) × 90°(H) × 67°(V) (Wide-angle version)
  • Operating temperature: -40℃~85℃
  • Target Temperature: -40℃~400℃
  • Detection accuracy: ±2℃
  • Refresh Rate: 25 FPS(Max)
  • Dimensions:
    • Thermal Camera HAT (B): 65.0 × 30.5 (mm)
    • Thermal USB Camera (B): 32.0 × 18.5 (mm)
  • Noise Equivalent Temperature Difference (NETD): 125mK

Hardware description

  • Thermal USB Camera (B) connects to a Windows computer, embedded host or Android phone and uses the USB interface to send temperature data
    • If an abnormality occurs in the Thermal USB Camera (B), the hardware can be replugged and reset

Hardware connection

  • Thermal USB Camera (B) is connected to the Raspberry Pi series motherboard
    • The USB adapter cable supplied needs be connected to the USB port of the motherboard

Dimensions

800px-Thermal-45-USB-Camera-B-size.jpg

Temperature measurement principle

What is infrared temperature measurement? (Quoted from OPTRIS)
In the field of measurement, "temperature" is one of the most commonly used physical parameters after "time". Based on the principles of Planck's and Boltzmann's radiation laws, an infrared thermometer measures the temperature of an object by absorbing the infrared radiation emitted by the object. So, how does non-contact temperature measurement work?

Any object with a temperature above absolute zero (0 K or -273.15 °C) emits electromagnetic radiation from the surface, and the radiation is proportional to the object's inherent temperature. This radiation includes infrared radiation used to achieve temperature measurement. When this radiation penetrates the atmosphere, it can be concentrated on the detector with the help of a special lens. The detector then generates an electrical signal proportional to this radiation. This signal is amplified and converted into an output signal proportional to the temperature of the object by undergoing continuous digital signal processing. In this way, the measured value of the temperature will be displayed on the display, or output as a signal.

In the application of radiation for temperature measurement, the emissivity ε (Epsilon) plays a crucial role. It shows the relationship between the radiation values of actual objects and those of a black body. The emissivity of a black body is 1 (maximum value). However, there are not many objects that can meet the ideal condition of a black body. When calibrating the sensor, the contact surface of the radiator (including the recommended wavelength: 0.99) is generally used.

In terms of their wavelength, many objects usually have a constant emissivity, but their radiation capacity is much inferior to that of a black body, they are called gray bodies. If the emissivity of an object depends on its temperature and wavelength (e.g., metal), it is called a selective radiator. In both cases, the missing radiation part is explicitly supplemented by the radiation rate. When using selective radiators, it is important to keep in mind the wavelength being measured (for metals, short wavelengths are chosen).

In addition to the radiation emitted from the surface of the object, the infrared sensor can also receive reflected radiation from the surrounding environment and perhaps penetrating infrared radiation from the object being measured.

Measurement distance

  • Based on the 175cm mannequin and the test distance is about 12m, the contours of the human body will not be distinguished

Measurement accuracy

  • When the target object exceeds the FOV of the module by 25% or more, the relative humidity should be below 95%, and there should be no condensation vapor or moisture on the lens
Operating temperature °C Target temperature °C Maximum deviation °C
Full frame accuracy 30.0 32.0-40.0 ±1.0 (center 32x24), ±1.2 (entire)
30.0 10-32.0,40.0-70.0 ±1.5 (entire)
30.0 <10.0,>70.0 ±2.0 (entire FPA), or 5%
Single pixel 30.0 32.0-40.0 ±0.5 (center 32x24), ±0.7 (entire)
30.0 10-32.0,40.0-70.0 ±1.0 (entire)
30.0 32.0-40.0 ±2.5 (entire), or 5%
Temperature stability 30.0 32.0-40.0 -0.21℃/℃
Power stability 30.0 - ±1.0 ℃ / 100 mA

Main applications

  • Long-term non-contact object temperature online monitoring solution
  • IR thermal imaging devices, IR thermometers
  • Smart home, intelligent building, intelligent lighting
  • Industrial temperature control, security & safety, intrude/motion detection
  • Small target thermal analysis, heat trend analysis and solutions

Instructions for Use

Windows

400px-PC-software.png
  • Connect the Thermal USB Camera (B) to a PC via an adapter cable, some PCs have their own USB-C port and can be inserted directly into the device
  • Open SenXxorEvkViewer.exe software, click Refresh button in the interface, select Serial Port, and finally click Connect
  • After connection, a thermal image will be displayed in the SenXxorEvkViewer.exe software, click on a point in the thermal image, and the temperature value and coordinates of the specific point will be displayed in the Image Info Ttarget bar
  • The Color Plette Selection bar can select the rendering mode of different thermal images, the default is HEATED_IRON, and the frame rate can be adjusted by Down and Up in the FPS bar
  • The software, SenXxorEvkViewer.exe, has a recording mode located at the lower right corner. This mode allows the thermal image data to be saved as a TXT file. Each line in the file records the temperature value of every pixel in each frame of the image

Android

400px-Phone-software.jpg
  • Plug the module directly into the Android phone
  • Install APP on your Android phone and open it, the APP will automatically recognize and turn on the infrared thermal imaging camera, if it does not turn on automatically, please plug and unplug the Type-C cable again
  • When the Thermal USB Camera is connected, the thermal image is displayed in the APP software, and the corresponding temperature value can be displayed by clicking on the object in the field of view corresponding to the display in the thermal image

In the APP software, the triangular arrow located at the lower left of the thermal image allows you to select different rendering modes for thermal images. The default mode is HEATED_IRON. The up and down arrows in the FPS (Frames Per Second) section on the right can be used to adjust the frame rate or to utilize dynamic frame rate

  • SNAPSHOT and RECORD are for capturing thermal image screenshots and recording videos, AI FILTER is for filtering image noise, and FEVER DETECTION can estimate the distance between the person and the camera lens and detect body heat after facial recognition

Raspberry Pi 4B(buster&bullseys)

Note: The new version of the program has been updated to provide less noise and clearer images for infrared imaging

  • It is recommended to test the image of the installed library, please ignore the following environment installation and other operations for testing
  • Google cloud drive Raspberry Pi image, the image account and password are all test
  • If you want to download the library and install it by yourself, please install the library according to the prompts
    • Download demo and then unzip it, please install the library according to the prompts, the installation process takes a long time, the following information is for reference
 wget https://files.waveshare.com/wiki/Thermal-Camera-HAT/Thermal_camera_code.zip
 unzip Thermal_camera_code.zip
 cd pysenxor-master/
 sudo apt update
 sudo pip uninstall numpy (If the prompt indicates there is no library, proceed with the next step. If there is a library, uninstall the library: pip uninstall numpy)
 sudo pip install numpy
 sudo pip install smbus
 sudo pip install crcmod
 sudo pip install matplotlib
 sudo pip install imutils
 wget https://www.piwheels.org/simple/opencv-python/opencv_python-4.6.0.66-cp39-cp39-linux_armv7l.whl#sha256=c1360e46e5ebd47a92e00c1f75c7d293d6ffd00d7f9ff06666f9af05eff2094f
 pip install opencv_python-4.6.0.66-cp39-cp39-linux_armv7l.whl
 pip install cmapy 
 sudo python setup.py install 
    • If the installation is successful, running the program will start a window displaying a thermal image, as shown in the following figure
 cd pysenxor-master/example
 sudo python stream_usb.py

Thermal picture.png

Raspberry Pi Bookworm tutorial

Demo download

Pysenxor-master demo

wget https://files.waveshare.com/wiki/Thermal-Camera-HAT/Pysenxor-master.zip

Install dependencies

sudo apt install python3-numpy   
sudo apt install python3-smbus
sudo apt install python3-crcmod
sudo apt install python3-matplotlib
sudo apt install python3-opencv
wget https://files.pythonhosted.org/packages/25/47/f1d2c686253bea1454cc7db687a09ae912fbe4648a86ef7fcd9765f7639f/cmapy-0.6.6.tar.gz
tar -xzf cmapy-0.6.6.tar.gz
cd cmapy-0.6.6/
sudo python3 setup.py install

Unzip and install the demo

unzip Pysenxor-master.zip
cd pysenxor-master/
sudo python setup.py install 

After the installation is complete, the following prompt will appear:
Setup-capture.png

cd example 
sudo python stream_usb.py

Resources

Demo

Software

Datasheet

FAQ

Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)