Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote I/O error - running example.py #16

Open
crossett opened this issue May 14, 2021 · 4 comments
Open

Remote I/O error - running example.py #16

crossett opened this issue May 14, 2021 · 4 comments

Comments

@crossett
Copy link

Hi,

I am trying to run example.py on a RPi4, but when I do, I get the following error:

Traceback (most recent call last):
  File "./example.py", line 13, in <module>
    if not sensor.init():
  File "/home/pi/ms5837-python/ms5837/ms5837.py", line 74, in init
    self._bus.write_byte(self._MS5837_ADDR, self._MS5837_RESET)
IOError: [Errno 121] Remote I/O error

It appears that the ms5837 is recognized when I run i2cdetect:

i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- 76 --

Any ideas why I'm getting this error? Any help would be greatly appreciated!

Thanks,
Jonathan

@msp4096
Copy link

msp4096 commented Jun 11, 2021

I am seeing the same exact error on my RPi4 setup. I sometimes don't see the device when doing i2cdetect as well. Is this an issue with the library? Or could this be a raspberry pi issue?

@akash-aeronuts
Copy link

Has there been any solution for this as I'm also facing the same issues

@akash-aeronuts
Copy link

@msp4096 @crossett have you resolved your problems or could you share any insights on the problem

@steven102814
Copy link

Having a similar issue while using Jetson Orin Nano any fix? I can test on a Raspberry Pi 4 if necessary but my main computer to use this sensor with for was expected to be the Nano.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants