user62799: Connecting MPU6050 with Arduino without using A0-A5 pins.

user42015: You could use a Software I2C library, like this one on github, which can be used on almost any pin of a board. But keep in mind, that doing such communication in software imposes some limits (for example the linked library can only be a master). Keeping it in hardware is often the better choice, depending on your requirements.

62799: <p>Connecting MPU6050 with Arduino without using A0-A5 pins.</p>
 42015: <p>You could use a Software I2C library, like <a href="https://github.com/felias-fogg/SoftI2CMaster" rel="nofollow noreferrer">this one on github</a>, which can be used on almost any pin of a board. But keep in mind, that doing such communication in software imposes some limits (for example the linked library can only be a master). Keeping it in hardware is often the better choice, depending on your requirements.</p>
