Connecting MPU6050 to Arduino Nano software I2C

Hello everyone. I have to connect an MPU6050 to a nano board, while HW I2C port is busy with analog inputs. I could not find any MPU6050 library based on software I2C communication. Can anybody help me to modify an existing MPU6050 library, based on "Wire.h" to work with a software I2C library?
Thanks mates, any help is welcome.

My recommendation would be don't do it. Keep A4 & A5 for i2c. Add extra analog inputs via i2c, for example ads1115, to replace the 2 lost analog inputs, or use an analog multiplexer.

Thanks for advice, Paul. I have changed the hardware, as you recommended.

1 Like

Thanks for the update. What solution did you go with for replacing the 2 lost analog inputs?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.