Hi,
I'm having troubles reading values from GY-521 to my Arduino Pro Mini.
I get the basic code from Arduino Playground http://playground.arduino.cc/Main/MPU-6050#short
And this Is that i get:
AcX = 254 | AcY = 0 | AcZ = 104 | Tmp = 35.02 | GyX = 7680 | GyY = 30 | GyZ = 0
AcX = 254 | AcY = 0 | AcZ = 104 | Tmp = 35.02 | GyX = 7680 | GyY = 30 | GyZ = 0
AcX = 254 | AcY = 0 | AcZ = 104 | Tmp = 35.02 | GyX = 7680 | GyY = 30 | GyZ = 0
AcX = 254 | AcY = 0 | AcZ = 104 | Tmp = 35.02 | GyX = 7680 | GyY = 30 | GyZ = 0
Always the same values.
MPU is connected by this way:
VCC => 5v
GND => GND
SDA / SCL => A4 / A5
INT = Digital Pin 2 (I tried 3 too)
(also i tried to change A4 for A5 and vice versa)
(and tried with 3.3V too)
And, if I try to use the library i2cdevlib/Arduino/MPU6050 at master · jrowberg/i2cdevlib · GitHub I always get the message that Connection Failed.
I tried to the I2CTester and it founds the IMU at 0x68 (as expected)
Any idea?
Thank you very much.