RuntimeError: Too many retries #14
johncliffton
started this conversation in
General
Replies: 1 comment 1 reply
-
That's generally the error you get if the baudrate hasn't been increased. Check the documentation about that for instructions.
Am Sa., Juli 24, 2021 at 15:29 schrieb ***@***.***>:
Hi,
I am struggling getting this to run on an RPi Zero W / PiOS 10, ending up with errors like:
RuntimeError: Too many retries
Thermal sensor is connect:
***@***.***:~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- 33 -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Then follwing the guide:
***@***.***:~ $ python3
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>> import pithermalcam as ptc
>>
>> ptc.test_camera()
Camera didn't seem to work properly. Returned the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.local/lib/python3.7/site-packages/pithermalcam/__init__.py", line 25, in test_camera
raise(e)
File "/home/pi/.local/lib/python3.7/site-packages/pithermalcam/__init__.py", line 11, in test_camera
thermcam = pithermalcam() # Instantiate class
File "/home/pi/.local/lib/python3.7/site-packages/pithermalcam/pi_therm_cam.py", line 50, in __init__
self.update_image_frame()
File "/home/pi/.local/lib/python3.7/site-packages/pithermalcam/pi_therm_cam.py", line 227, in update_image_frame
self._pull_raw_image()
File "/home/pi/.local/lib/python3.7/site-packages/pithermalcam/pi_therm_cam.py", line 88, in _pull_raw_image
self.mlx.getFrame(self._raw_image) # read mlx90640
File "/home/pi/.local/lib/python3.7/site-packages/adafruit_mlx90640.py", line 126, in getFrame
status = self._GetFrameData(mlx90640Frame)
File "/home/pi/.local/lib/python3.7/site-packages/adafruit_mlx90640.py", line 155, in _GetFrameData
raise RuntimeError("Too many retries")
RuntimeError: Too many retries
>>
Not sure if this is somhow me doing it wrong or hardware issue.
I think I can rule out the last part, since I tried this on an RPi3 and even with a second thermal sensor.
Would appreciate any suggestions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am struggling getting this to run on an RPi Zero W / PiOS 10 x32, ending up with errors like:
RuntimeError: Too many retries
Thermal sensor is connected:
Then follwing the guide:
Not sure if this is somhow me doing it wrong or an hardware issue.
I think I can rule out the last part, since I tried this on an RPi3 and even with a second thermal sensor and different wiring.
Would appreciate any suggestions
Beta Was this translation helpful? Give feedback.
All reactions