OSError:Failed to init the MLX90640!

I connected a MLX90640 (Pimoroni) to an OpenMV H7 camera and then run “MLX90640_overlay.py”.It did not work.Window alert message show “ OSError:Failed to init the MLX90640! ”

Please give me an advice.

Are your I2C wires hooked up correctly with Pull ups? Can you list how those are attached? Also, are you using the latest firmware?

Thank you Mr.Nyamekye

I attached P4 to SCL, P5 to SDA,GND to GND camera,V3.3 to V3.3 camera.

But I’m not sure That I using the latest firmware or not.
I’ll check it and let you know.

Hi Mr.Nyamekye
“are you using the latest firmware?”
Yes, I am.
My firmware version was 3.6.2 [latest]

Please help me.
Thanks

And do you have pull ups to 3.3v on SCL and SDA? You need them.

I hooked up the cables like this. Did I correct?

Yes, but, you need two pull up resistors (1K) from DA to 3.3v and SCL to 3.3v

Appreciate, It’s working. :slight_smile:

What if I would like to create the system that captures the image when the temperature is reach the limit and then it’ll put the captured images and captured temperature value into the database or the hard disk (PC) by connect the openMV camera via usb port.

Please give me the instructions.