I2C gives me the Error "OSError: [Errno 5] EIO" with GY-521 (MPU6050) #11070
-
Hello everybody, I am new to this forum, so please excuse if I am writing in the wrong area. I have been fighting to get a GY-521 accelerometer and gyroscope board running on a RP2040 Type C 16mb Chinese Clone, and also on a different clone. I am able to initialize a I2C object
I get the following output:
I have tested an other GY-521 board and a PCA9685 board with the same results. I have tested all of these boards with an arduino uno, and they worked fine (both with 3.3V and 5V) Does anybody know what I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Just search the forum for |
Beta Was this translation helpful? Give feedback.
Just search the forum for
i2c "errno 5"
.Most likely, your wiring misses pull-up resistors or you are using the wrong pins for i2c.