imliubo / MLX90640-With-STM32

MLX90640 is a fully calibrated 32x24 pixels thermal IR array sensor.
Apache License 2.0
20 stars 10 forks source link

Half pixels are dead #2

Closed hashtala closed 4 years ago

hashtala commented 4 years ago

received_633131857534943

I have no idea what the problem could be, any suggestions ?

imliubo commented 4 years ago

It seems that you only read subpage 1 of data. In chess mode, two pages of data should be merged into one page of data. You can refer to page 15 of the datasheet. Which fream rate did you set?And the I2C clock frequency is?

hashtala commented 4 years ago

thanks for the response.

I for the evaluation I just copied your main code.Yes I am i chess mode, I changed frame rate to 4Hz and I believe I2C clock is 100khz. should I go for 400khz ?

hashtala commented 4 years ago

Okay I solved it

Turns out you have to do: int status = MLX90640_GetFrameData(MLX90640_address, mlx90640Frame); 2 times before getting Vdd or doing calculations

cheers