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

MLX90640 not detected after couple of minutes #3

Closed sebmorales closed 5 years ago

sebmorales commented 6 years ago

Hi, Not sure what is going on, or if this is a problem with the library. I tied the code and connected to the processing sketch and it worked great for a couple of minutes. Then it gave me an error saying no ack read. After reseting the error change to:"MLX90640 not detected at default I2C addres. Please check wiring. Freezing."

The sensor started working again after a couple minutes but the same thing happened then. This repeated for a handful of times. Works for a couple of minutes then I2C freezes.

Now the sensor won't start at all.

I am using Qwiic IR Array MLX90640 with a teensy 3.5. Nothing else just sample code.

Any ideas of what I might try? Thanks

nseidle commented 6 years ago

Oiy. I'm not sure what that could be. I'm going to lean towards sensor failure and not lib failure.

One way to check: do some low level I2C reads of the sensor. Or just run the I2C scanner to see if the sensor even responds to I2C queries.

sebmorales commented 6 years ago

I tied it again yesterday and it was working with no problems... Not sure if something was causing too much noise for the i2c communication...

nseidle commented 6 years ago

Hmm, finicky hardware issue. Double check the solder connections on our board. If they look solid (they should) then I have to begin to point at the MLX90640 sensor itself. I have not experience this before. Please check back in and let us know what you find!

sebmorales commented 6 years ago

The solders looked good and I reflowed them just to make sure. I still have the same problem. Sometimes it works well, then will stop for a while then start working again, stopping suddenly.

"MLX90640 not detected at default I2C addres. Please check wiring. Freezing."

nseidle commented 6 years ago

I assume you're powering it at 3.3V?

sebmorales commented 6 years ago

Yes, I am connecting to the following pins: teensy3 5pins

nseidle commented 6 years ago

That's our setup as well. It's sounding like a bad sensor. Please contact SparkFun tech support and reference this discussion. They should be able to get you a replacement sensor. We may need the defective sensor back so that we can work with Melexis to figure out what's going on.

tsb4 commented 4 years ago

I had the same problem here, with an ESP32. Did you get solved the problem?