Hello all,
I'm working on a DIY 3D headset with AHRS. I am using a Pro Mini (5V) and and a GY80 10DoF sensor. I have made the following connections:
A5 - SCL
A4 - SDA
VCC - VCC_IN
GND - GND
Being new to Arduino this is the point I am stuck at. I have had partial success: I can read values from the accelerometer independently, but when I try getting readings from all the sensors it stops after a few seconds.
The datasheets are available here:
http://www.forkrobotics.com/2013/06/using-the-gy80-10dof-module-with-arduino/
The code I have been using is available here:
That board has level shifters for I2C and a voltage regulator, so you may connect it to a 5V Arduino board.
Can you inspect the resistors ? The 4 resistors that are close to each other. Are they "222" or "472" ?
If they are "222" they are 2k2, and combined before and after the level shifter plus internal resistors of the Arduino, the total is about 1k.
That is below the specification for the I2C bus. I think the Arduino has 3mA as maximum, and with 1k it needs 5mA pull-down current on the I2C bus.
I don't know if that code is okay.
Are you willing to test a completely different library? Have a look at i2cdevlib and Adafruit. Perhaps they support all the sensors.
http://www.i2cdevlib.com/
Do you use long wires for the I2C bus ?