Closed vishalkothari closed 5 years ago
maybe it will help you, with the ESP32 I can use all the sketches with almost no changes.
I put only #include
@tmsd2001 , Thank you. I switched to ESP32 and it seems to be ok. I am facing another problem that Pixel 22 always has value NaN. Tracing this further, it seems irData calculated in MLX90640_API.cpp has a large negative value like -6874.43. irData for other pixels is in -10 to -20 range. I will post another issue for this.
Hi,
I am trying to use MLX90640 with ESP8266 and run Example1_BasicReadings. But, I have not been able to get I2C communication to work.
Call to MLX90640_DumpEE > MLX90640_I2CRead > Wire.endTransmission(false) returns 2 or 3. Sometimes call to MLX90640_DumpEE hangs.
I am using frequency 100KHz. I have seen issue #2 and https://github.com/melexis/mlx90640-library/issues/13.
Below is the output I get.
I have also modified core_esp8266_si2c.cpp > twi_readFrom function to handle len=0
to
Please let me know if you have any pointers to solve this. @nburnett, I saw your comment that you were able to connect MLX90640 with ESP8266, can you please share more information about the same.
Thanks in advance.
Regards, Vishal Kothari