SparkFun_MLX90640_Arduino_Example icon indicating copy to clipboard operation
SparkFun_MLX90640_Arduino_Example copied to clipboard

"Parameter extraction failed" Error

Open RawanAlharbi opened this issue 5 years ago • 9 comments

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 avatar Nov 09 '19 02:11 RawanAlharbi

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

basically just replace:

  • MLX90640_API.cpp
  • MLX90640_API.h

RawanAlharbi avatar Nov 09 '19 02:11 RawanAlharbi

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.

mcnpower avatar Nov 21 '19 08:11 mcnpower

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

nunomiguelferreira avatar Jan 25 '20 01:01 nunomiguelferreira

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

ghost avatar Mar 17 '20 09:03 ghost

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.

mcnpower avatar Mar 17 '20 10:03 mcnpower

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

Googlesmagic avatar Jun 10 '20 22:06 Googlesmagic

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?

tomeroto avatar Jan 24 '21 07:01 tomeroto

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

sachinbs1995 avatar Aug 10 '21 12:08 sachinbs1995

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 ....

calvfoo avatar Aug 29 '21 12:08 calvfoo