LSM9DS0 [Errno 121] Remote I/O error

image

How to interface this i2C (LSM9DS0)

Traceback (most recent call last):
File “gyro1.py”, line 62, in
bus.write_byte_data(0x1E, 0x20, 0x67)
IOError: [Errno 121] Remote I/O error

Have you already enabled the I2C bus on your Raspberry Pi? This is required before you can use it. There are many documents online about using I2C on a Pi with Python.

Yes i2c interface is enabled; that’s how I am able to see the active bus/GPIO adress but I do not have a correct python interface to your sensor LSM9DS1 for reading them. Pointing me to sample code would be helpful. The video is outdated to the sensor.

Thanks

There is some python sample code for the LSM9DS0 here: