Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

MLX90640 via MCP2221A error past 2Hz refresh
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MLX90640 via MCP2221A error past 2Hz refresh

by jaziz on Sat Aug 01, 2020 10:51 pm

Setup configured as documented: https://learn.adafruit.com/jupyter-on-a ... mal-camera with a Windows 10 machine.

Increasing the refresh rate either in the Jupyter notebook here, or in these examples https://github.com/adafruit/Adafruit_Ci ... r/examples past 2Hz results in this error:

File "C:\ProgramData\Anaconda3\lib\site-packages\adafruit_mlx90640.py", line 172, in _GetFrameData
raise RuntimeError("Too many retries")
RuntimeError: Too many retries

Any guidance would be much appreciated.

jaziz
 
Posts: 3
Joined: Mon Apr 01, 2013 8:04 pm

Re: MLX90640 via MCP2221A error past 2Hz refresh

by siddacious on Fri Aug 28, 2020 2:19 pm

That error occurs when the library was not able to successfully read the available data from the sensor after 4 tries. I suspect that this is due to the library not being able to keep up with the sensor, though I'm not certain. The MCP2221 does not have a particularly fast I2C interface, so it's likely the bottleneck.

siddacious
 
Posts: 319
Joined: Fri Apr 21, 2017 3:09 pm

Please be positive and constructive with your questions and comments.