Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
This product is a far-infrared thermal imaging sensor that uses a hybrid technology of microbolometer and thermopile pixels. It has an 80 × 62 pixel focal array and can detect the infrared radiation energy distribution of objects in the lens field of view. After quantization processing, the surface temperature distribution of objects in this field of view can be obtained, and a thermal imaging map can be generated, which is convenient for integration into various industrial or intelligent control applications. Compared to Thermal Camera HAT, this product has optimized internal filter and image processing algorithm, reduced the lens size to 9mm × 9mm, and changed the connector wiring method to FPC wire. Both 45° and 90° field of view models are available for selection.
Configure the camera registers on Thermal Camera HAT via I2C and send temperature data using SPI.
PI-4B | Thermal Camera HAT |
5V | 5V |
GND | GND |
D2(BCM) | SDA |
D3(BCM) | SCL |
D10(BCM) | MOSI |
D9(BCM) | MISO |
D11(BCM) | CLK |
D23(BCM) | nRESET |
D24(BCM) | D_READY |
D7(BCM) | SS |
What is infrared temperature measurement? (Quoted from OPTRIS)
In the field of measurement, "temperature" is one of the commonly used physical parameters, second only to "time". Based on the principles of Planck's and Boltzmann's radiation laws, infrared thermometers determine the temperature of objects by absorbing the infrared radiation emitted by the object being measured. So, how is non-contact temperature measurement achieved?
Any object with a temperature above absolute zero (0 K or -273.15°C) emits electromagnetic radiation from its surface, and this radiation is proportional to the object's intrinsic temperature. In this radiation, there is infrared radiation used for temperature measurement. After this radiation passes through the atmosphere, it can be focused on a detector using a specialized 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 through continuous digital signal processing. As a result, the measured temperature value is displayed on the monitor or output in signal form.
In the use of radiation for temperature measurement, emissivity ε (Epsilon) plays a crucial role. It indicates the relationship between the actual object and the radiation of a black body. The emissivity of a black body is 1 (the maximum value). However, there are not many objects that can meet this ideal condition of a black body. When calibrating sensors, the emissivity of the radiation surface is typically considered (including the recommended wavelength: 0.99).
In terms of wavelength, many objects usually have constant emissivity, but their radiation ability is far from that of a black body, and they are referred to as gray bodies. If an object's emissivity depends on its temperature and wavelength (such as metals), it is called a selective emitter. In both of these cases, the missing radiation portion is compensated for by the emissivity. When using selective emitters, it is important to consider the wavelength being measured (for metals, a short wavelength is chosen).
In addition to radiation emitted from the surface of an object, infrared sensors can also receive reflected radiation from the surrounding environment, and sometimes there may be infrared radiation penetrating the object being measured.
Using Temperature (℃) | Target Temperature (℃) | Maximum Deviation (℃) | |
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 |
Note: The new version of the demo has been updated to have less noise and a clearer picture in infrared imaging.
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 you are prompted that there is no library, proceed to the next step, and if there is one, 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
cd pysenxor-master/example sudo python stream_spi.py
wget https://files.waveshare.com/wiki/Thermal-Camera-HAT/Pysenxor-master.zip
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 Pysenxor-master.zip cd pysenxor-master/ sudo python setup.py install
After the installation is complete, you will be prompted with the following:
Execute the command to enable SPI
sudo raspi-config
Select Interface Options, then SPI, click Yes and press Enter key
Then select Interface Options, then I2C, click Yes and press Enter key, press Enter again and click Finish
sudo nano /boot/firmware/config.txt
Add dtoverlay=spi0-0cs statement below the dtparam=spi=on statement, save and exit
cd example sudo python stream_spi.py
cd example sudo python stream_usb.py
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Mobile: +86 13434470212
Email: services01@spotpear.com