sparkfun / SparkFun_MLX90640_Arduino_Example

Controlling and reading from the MLX90640 IR array thermal imaging sensor
https://www.sparkfun.com/
Other
122 stars 35 forks source link

"Parameter extraction failed" Error #19

Open RawanAlharbi opened 4 years ago

RawanAlharbi commented 4 years ago

Hello,

I tried to upload the example to a Teensy 3.6 and it successfully uploads with no errors. However, in the serial monitor, I get "Parameter extraction failed":

MLX90640 IR Array Example MLX90640 online! Parameter extraction failed Pixel 0: nanC Pixel 1: nanC Pixel 2: nanC Pixel 3: nanC Pixel 4: nanC Pixel 5: nanC Pixel 6: nanC Pixel 7: nanC Pixel 8: nanC Pixel 9: nanC Pixel 0: nanC Pixel 1: nanC

Any ideas on the source of the issue?

RawanAlharbi commented 4 years ago

I fixed it. You have to update the MLX90640 library. The latest can be found here.

basically just replace:

mcnpower commented 4 years ago

Hi Rawan, I received the same error with teensy 3.5. When I changed the .cpp and .h files from your link, code not building for teensy 3.5. Do I need teensy 3.6? Is it important 3.5 or 3.6? Could you share full project files? Thanks.

nunomiguelferreira commented 4 years ago

I have the same issue when using a SAMD21 based system. But I always get a status of -4 with parameter extration, although I get values on the temperature. The same camera works fine with an ESP8266

ghost commented 4 years ago

I use ESP32 changed API and solve the problem. It looks like melexis change the storage offset of parameter and caused error.

mcnpower commented 4 years ago

I found the problem. Sparkfun breakout was problematic. The pins of the sensor are short-circuited. I heated up the solders and slid it up. Now the sensor is working. They wrote this on their forums. Some cards were produced incorrectly. I bought it from Digikey. Notice, this process is difficult and requires professionalism.

Googlesmagic commented 4 years ago

Hey, I seem to be running into the same issue, however, when I replace the files I get an error in Arduino where it cannot find the mbed.h file. After looking around I cant seem to find a way to get it and its not included with the new library

tomeroto commented 3 years ago

I found the problem. Sparkfun breakout was problematic. The pins of the sensor are short-circuited. I heated up the solders and slid it up. Now the sensor is working. They wrote this on their forums. Some cards were produced incorrectly. I bought it from Digikey. Notice, this process is difficult and requires professionalism.

can you give me youtube video how you fix it?

sachinbs1995 commented 3 years ago

facing the same issue in this API also the same error.

calvfoo commented 3 years ago

ok, got it working with codes from here https://github.com/Samox1/ESP_Thermal_Camera_WebServer

use Arduino IDE standard ESP32 board

MLX90640 board from here ....