jefmenegazzo / mpu-i2c-drivers-python

I2C Drivers for MPU-9250, MPU-9255, MPU-9150, MPU-6500, MPU-6555, and MPU-6050
https://jefmenegazzo.github.io/mpu-i2c-drivers-python/
Other
71 stars 23 forks source link

Getting Errno 121: remote I/O error #15

Closed pkoprov closed 1 year ago

pkoprov commented 2 years ago

I installed the library without smbus2 at first and it was running fake smbus correctly. After I installed smbus2 the example code stopped working. it gives an error 121. what should I do?

JAAdrian commented 2 years ago

+1
I have exactly the same issue. Can't really tell what's going wrong here.

pkoprov commented 2 years ago

I found out that I bought a fake sensor. A friend of mine gave me one that he used in his RC car a while ago and it works now. I think that Amazon sells some crappy stuff.

jdc-cunningham commented 2 years ago

Yeah sucks about the hit/miss of sensor quality. Especially when they're not really cheap at $14 ea.

JafetSalgado commented 1 year ago

I have exactly the same issue Screenshot 2022-11-13 014536 Screenshot 2022-11-13 014555

campagnani commented 1 year ago

@JafetSalgado the magnetometer address is 0x0C and don't appaers in the image of terminal you send here.

Maybe you burn it pluggin the sensor in 5v?

I did the same thing (plug the MPU9250 in 5v) and burn just the IC of magnetometer.