I ordered an MPU-6050 6-axis gyroscope/accelerometer the other day. Yesterday, I connected A4 to SDA and A5 to SCL [Wire - Arduino Reference], and used the code from Arduino Playground - MPU-6050.
I mistakenly connected VCC to the Arduino's 5-volt supply, while the operating voltage is actually from 2.375-3.46.
I have received at least one frame of data from the MPU:
accel x,y,z: 747, 512, 12545
temperature: 24.459 degrees Celsius
gyro x,y,z : 520, 5842, 396.
However, now, Wire.endTransmission(false) always returns an error code of 2: "Received NACK on transmit of address". I'm not sure exactly when it started doing this; although it was relatively soon after the first time I ran the code.
Any ideas on what's going on? Any help at all would be appreciated.
Thanks!