OSError: [Errno 5] EIO when accessing sensor data #9201
-
Hi, Behavior: sometimes data is read for a few moments then the error is shown, most of the time I just get the error directly. Any help would be appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
EIO5 is communication error. Could be wiring, missing pull-up resistors, wrong address. |
Beta Was this translation helpful? Give feedback.
-
I don't see any pull-up resistors on either of those sensor breakouts. Try adding 10k resistors from both SDA and SCL to Vcc. |
Beta Was this translation helpful? Give feedback.
I don't see any pull-up resistors on either of those sensor breakouts. Try adding 10k resistors from both SDA and SCL to Vcc.