PiThermalCam
PiThermalCam copied to clipboard
Vertical Lines on a Raspberry Pi 5
I'm still a bit new to Python but I had the MLX90640 working great on a rPi 4. Seems plenty of things have changed with the rPi 5. Tried this library on a rPi 5 and it is working but I am getting vertical lines in my images. I am using OpenCV and Adafruit circuit playground as well as some other required libs. Not sure if this is a hardware issue or a code problem with the libraries. Some guidance would be appreciated. I did play around with different refresh rates as well as I2C timing but did not resolve the issue. Also, wondering if this could be an EEProm issue. I don't have another sensor to try yet to disprove that. Here is a link to an image from the rPi 5 showing the problem. It occurs in all the different interpolate settings. Also, temp reading are not stable as the sensor is pointed at a flat surface. Maybe a 10 to 20 degree F difference between some pixels. I can achieve up to 9 fps on the Rpi 5. 16Hz refresh is the max useable setting. My cabling has good connections and the cable for the sensor is maybe 4 inches in length.