0

I recently took delivery of a pimoroni mlx90640 thermal camera.

I followed the tutorial

https://everythingsmarthome.co.uk/howto/building-a-raspberry-pi-thermal-imaging-camera-mlx90640-guide/

And it all went well, except..

The output I get always looks the same no matter what or where I point it. screen shot

So no matter what I point it at the image looks more or less like that. mostly red area flickers white some and always that blue dot in the top left corner.

It looks like others have had sucess with that tutorial and I had no prob getting it to run.

ps: I did not use a portable screen/battery like in the tutorial. just my desktop rpi4 8gb.

1
  • All went well with setting up the tutorial code and installing the required packages. The device is connected to the i2c and appears to be communicating with the tutorial code. And I believe that it is working code as others have reported success with it.
    – Taco Cat
    Commented Jan 9, 2022 at 16:47

1 Answer 1

0

I had the same problem - it was caused by a dead pixel which always returned a value of -273 degrees C. The software calculates the minimum and maximum temperatures returned from the array and plots the data based on these two values, but a Min value of -273 makes all the other pixels appear as the same colour. You can test whether this is the issue by finding the point in the code where the Min and Max are established and replacing the Min value with something more reasonable before plotting (e.g. 0 degrees?). I also found a bit of code to print all the pixel values - useful when I requested a replacement.

1
  • Makes sense. I have already been seeing if I can send it back for a replacement but I will try what you say as well when I get a chance in the next few days.
    – Taco Cat
    Commented Jan 25, 2022 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.