mcauser / micropython-mlx90614

MicroPython driver for the MLX90614 IR temperature sensor
MIT License
33 stars 14 forks source link

OSError: 5 when i2c is reading from memory #6

Open KatiGithub opened 3 years ago

KatiGithub commented 3 years ago

_config1 = i2c.readfrom_mem(address, 0x25, 2) This line is giving me lots of headache, I've tried using the proposed solution of using machine.SoftI2C instead but the sensor just outputs -273.15 which means that it is reading 0 from the sensor itself. I did an i2cscan and it the sensor is fine.

Anything would be of great help, Thanks. Btw, I'm using the Raspberry Pi Pico

WilliColli commented 1 year ago

It's a bit late, but I was having the same problem and i found soldering the connections onto the temp sensor corrected it for me.