-
What if your sensor has dead pixels?
07/15/2023 at 14:21 • 0 commentsI don't have this problem in my thermal imager. But one of my subscribers has this problem.
It looks like this:
What to do if you have a problem with a dead pixel in the sensor?
Fortunately, Melexis has provided a special function MLX90640_BadPixelsCorrection for this case. A description of the functions of the library can be found here: https://github.com/melexis/mlx90640-library/blob/master/MLX90640%20driver.pdf
In the last commit of my project on github, I have already made the necessary changes.
I added a call to the temperature array correction function after calculating the thermogram temperatures:
MLX90640_BadPixelsCorrection(badPixels, pMlxData->ThermoImage, 1, ¶ms);
I added a dead pixel array declaration:
static uint16_t badPixels[] = { // 10, // Bad pixel number 1 // 201, // Bad pixel number 2 // 339, // Bad pixel number 3 0xFFFF };
The value 0xFFFF means the end of the array. As you can see, by default the array is empty. You can add 1 or several numbers of dead pixels to the array (from 0 to 767), after which the measured temperatures of these pixels will be ignored, and the averaged values of 2 neighboring not broken pixels will be used as the temperature.
-
Just another case for thermal imager
03/10/2023 at 05:30 • 0 commentsOne of readers Seve Len developed his own version of case for thermal imager in SolidWorks.
You just look at it. It's very cool in my opinion!
By the link you can download 2 variants of models (for different sensor models) and STL-files for printing:
https://drive.google.com/file/d/12SnZfnlpuB0AdvRXxPdH80jAlrPjJoZn/view?usp=sharing
-
Links to sources
03/04/2023 at 19:20 • 0 commentsV1.0 source code: https://github.com/rnadyrshin/mlx90640_thermoimager_v1.0
V1.1 source code: https://github.com/rnadyrshin/mlx90640_thermoimager_v1.1
V1.1 case model: https://drive.google.com/file/d/12SfV-pz2H4TvoQmje77vrf-qzWpLvgX0/view?usp=sharing