I just purchased the GPIO version and am trying to get it to work on a Pi 5, without success.
I am trying to get their example working, as shown here: https://www.waveshare.com/wiki/Thermal_ ... berry_Pi_5
First, I had trouble to even run the example because I got errors about missing modules. I had used a fresh install of the 64 bit Bookworm Pi5 system. The waveshare instructions are clearly not working, or are missing steps. I eventually managed to force-install all the modules and was able to run the example - but it then failed to identify the camera module.
Here's the additional commands I had use to get the modules installed:
And this is the output once I was able to run the example:
Their support is of no help - first they asked me if I entered all the install commands (of course I did, as I had explained to them), then they send me a supposedly fitting custom Pi5 image, but that had lots of services disabled, including network and GUI, so that it was impossible to even download the software (the example was installed, but there was no venv set up, nor did it have the missing modules) or run the example which needs the GUI.
I can't even tell whether the module doesn't work because it's defective or because the software isn't working right.
I guess that if I had a Pi4b, for which the module was originally made, and where there's a ready-made demo image available, I'd be able to run the test to see if the module works. But with just the Pi5, it's tedious and I'm not ready to debug their mistakes.
So I'm returning the module and am getting the USB version instead, for which there's also software for Android and Windows - which hopefully makes it easier for me to verify that the module works and write software for it that pulls the data from the module.
I am trying to get their example working, as shown here: https://www.waveshare.com/wiki/Thermal_ ... berry_Pi_5
First, I had trouble to even run the example because I got errors about missing modules. I had used a fresh install of the 64 bit Bookworm Pi5 system. The waveshare instructions are clearly not working, or are missing steps. I eventually managed to force-install all the modules and was able to run the example - but it then failed to identify the camera module.
Here's the additional commands I had use to get the modules installed:
Code:
sudo apt-get install python3-opencvsudo apt-get install python3-crcmodsudo pip install cmapy --break-system-packages
Code:
pi@pi5:~ $ source env/bin/activate(env) pi@pi5:~ $ sudo python pysenxor-master/example/stream_spi.py Resetting the MI48...Done.DEBUG:root:MI48 Checking Control and Status Regs:DEBUG:root:MI48 Reading Control and Status Regs:WARNING:root:MI48 FRAME_MODE: 0x0 (expected 0x20)WARNING:root:MI48 STATUS: 0x4 (expected 0x0)WARNING:root:MI48 FRAME_RATE: 0x0 (expected 0x4)DEBUG:root:MI48 POWER_DOWN_1: 0DEBUG:root:MI48 POWER_DOWN_2: 2DEBUG:root:MI48 SENS_FACTOR: 100DEBUG:root:MI48 EMISSIVITY: 95DEBUG:root:MI48 OFFSET_CORR: 0DEBUG:root:MI48 FILTER_CTRL: 0DEBUG:root:MI48 FILTER_1_LSB: 50DEBUG:root:MI48 FILTER_1_MSB: 0DEBUG:root:MI48 FILTER_2: 4DEBUG:root:MI48 Bootup complete in 1 msDEBUG:root:MI48 Status: 0x0DEBUG:root:MI48 Mode : 0x0INFO:__main__:Camera info:INFO:__main__:{'NAME': 'MI48', 'CAMERA_TYPE': 0, 'MODULE_TYPE': 255, 'EVK_ID': 255, 'CAMERA_ID': '000000000000', 'CAMERA_MFG': '2000.0.0.000000', 'SN': 'SN000000000000', 'FW_VERSION': '3.3.1', 'MAX_FPS': 25.5, 'Current FPS': 25.5}DEBUG:root:MI48 FPS target 7, divisor 4, actual 6.375DEBUG:root:MI48 Enabling Filter 1 (0x32) Filter 2 (0x4)DEBUG:root:MI48 FILTER_CONTROL 0x5DEBUG:root:MI48 Setting temperature offset, [K]: 0.0, regvalue: 0DEBUG:root:MI48 Entering continuous capture mode.
I can't even tell whether the module doesn't work because it's defective or because the software isn't working right.
I guess that if I had a Pi4b, for which the module was originally made, and where there's a ready-made demo image available, I'd be able to run the test to see if the module works. But with just the Pi5, it's tedious and I'm not ready to debug their mistakes.
So I'm returning the module and am getting the USB version instead, for which there's also software for Android and Windows - which hopefully makes it easier for me to verify that the module works and write software for it that pulls the data from the module.
Statistics: Posted by tem_pi — Thu Jul 18, 2024 7:36 am