How to connect two MPU-6050's to Arduino?

Hello everyone,

I am trying to connect two MPU-6050's (MPU-6050) to an ardunio board. After reading the datasheet and multiple forum posts I have come to the realization that it is possible to by having two different i2c addresses, one for each device. From this post, (here) it seems that is this done by setting AD0 on one device to low, which would set the address to 0x68, and AD0 set to high on the other, which leads to 0x69. From there, I should be able to read from each device from the different addresses. My question is, How do I do this since there is no AD0 pin on the board like on another MPU6050 such as this one? (Different MPU-6050)

My current wiring setup is:
VDD <-> 3.3V
GND <-> GND
SDA <-> A4
SCL <-> A5
VIO <-> 3.3V

Both MPU-6050's are in parallel with each other with SDA and SCL. With this setup, an i2cscanner only reads a device connected to 0x68. Thanks in advance for the help!

That Sparkfun board appears to have an AD0 solder bridge, just change that.


Rob

I didn't even notice that AD0 section on the board before you pointed that out thanks. Unfortunately, when I put that to high, the i2cscanner just stops and fails to return anything. Any idea why?

I'm a frayed knot.

I know nothing about the scanner or the board, maybe ask on the Sparkfun forum.


Rob