Mlx90640 no ack

FYI, I got it to work with the M5Stack. It was a combination of a bug i2c driver in the Arduino implementation of
the esp32 which is fixed in the github version and a small change in the file MLX90640_I2C_Driver.cpp
of the Sparkfun MLX90640 arduino examples. You have to remove the check for ack in MLX90640_I2CRead
and just use a plain
Wire.endTransmission(false) ;
That seems to improve the timing in such a way that it suddenly works.

1 Like