Currently, I have the Arduino Nano 3.0 wired to the GY-521 as follows:
Nano/GY-521
3.3V/VCC
GND/GND
A5/SCL
A4/SDA
After downloading and placing the appropriate libraries into the Arduino folder I was able to compile the sample code on the website fine (Arduino Playground - MPU-6050). Problem is that I am getting the following readings while it is staying still on my table, and even while I move everything.
InvenSense MPU-6050
June 2012
WHO_AM_I : 11, error = 2
PWR_MGMT_2 : 11, error = 2
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: -5374, 2, 305
temperature: 37.212 degrees Celsius
gyro x,y,z : 2050, -13039, -29695,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 747, 512, 12545
temperature: 24.459 degrees Celsius
gyro x,y,z : 520, 4557, 396,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: -5374, 2, 305
temperature: 37.212 degrees Celsius
gyro x,y,z : 2050, -13039, -29695,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 747, 512, 12545
temperature: 24.459 degrees Celsius
gyro x,y,z : 520, 4557, 396,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: -5374, 2, 305
temperature: 37.212 degrees Celsius
gyro x,y,z : 2050, -13039, -29695,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 747, 512, 12545
temperature: 24.459 degrees Celsius
gyro x,y,z : 520, 4557, 396,
What have I done wrong to get these readings?