Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1164

HATs and other add-ons • WaveShare thermal camera HAT - Success!

$
0
0
I finally managed to get the software to work with the GPIO version.

The module didn't work before because the ribbon cable was apparently not correctly connected into its socket. After removing and re-inserting the cable, the example program showed window with the live image from the camera.

I have also ordered the USB version and assume that'll work as well.

Regarding the software install problems: It's much easier, on Debian 12 (bookworm) to remove the file that leads to forcing us to use venv. Sure, that's not "proper", but in this case it makes the use of the example easier. Here's how I managed to re-install the software on my Pi5:

Code:

# we should be in a normal user account, not root!cd ~# this prevents the annoying "externally-managed-environment" error:sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED# now install some modulespip install numpypip install smbuspip install crcmodpip install matplotlibpip install imutilspip install opencv_pythonpip install cmapy# install the examplewget https://www.waveshare.net/w/upload/d/d4/Pysenxor-master.zipunzip Pysenxor-master.zip cd pysenxor-master/sudo python3 setup.py install# enable SPI and i2c here, and also add "dtoverlay=spi0-0cs":sudo nano /boot/firmware/config.txt# perhaps also enable SPI and i2c here as well:sudo raspi-configsudo reboot# run the demo:cd ~python pysenxor-master/example/stream_spi.py 

Statistics: Posted by tem_pi — Fri Jul 19, 2024 5:28 pm



Viewing all articles
Browse latest Browse all 1164

Trending Articles