Well, tried hooking it up to 5V and got the same results. Then I put 10K resistors between each pin and the sensor and got odd results. The 6050 short example gave me readings of -1 for everything except temp and they didn’t change even when I moved the sensor. Then I ran the 6050 example from InvenSense (copied from the same page as the short example) and the error changed from 0 to 2. Also, the values will switch back and forth between high and low values. For example:
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 2137, 241, 2
temperature: 123.100 degrees Celsius
gyro x,y,z : 2048, 758, 228,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 22792, -3840, 512
temperature: 38.350 degrees Celsius
gyro x,y,z : 8, -2558, -7168,
MPU-6050
Read accel, temp and gyro, error = 2
accel x,y,z: 2137, 241, 2
temperature: 123.100 degrees Celsius
gyro x,y,z : 2048, 758, 228,
The Who am I and PWR_MGMT_1 error are also 2, instead of 0 like they used to be.
Removing the resistors made it go back to they way it was before, which was:
MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: -984, -112, 15436
temperature: 39.471 degrees Celsius
gyro x,y,z : 39, -55, 73,
MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: -944, -172, 15516
temperature: 39.659 degrees Celsius
gyro x,y,z : 29, -61, 88,
MPU-6050
Read accel, temp and gyro, error = 0
accel x,y,z: -944, -172, 15432
temperature: 39.518 degrees Celsius
gyro x,y,z : 36, -54, 44,
This readout is pretty much the same if I used 3.3 or 5 v.
As for the libraries. The 9250 ones are relatively new and the problem predates them, so they’re not the issue. I’m using wire.h, 6050.h, and I2Cdev.h, just like everybody else. I downloaded 6050 and 12Cdev.h from the links on the Arduino website. I don’t know if I have to reinstall everything, but could you provide me with links to libraries you know work? I could just replace those 3 and see what happens.
Edit: I installed them the same way I installed everything else (that works). I either used the .zip file installer or just copied the files to /libraries in their folder. There are some Arduino system files in the /library (a folder named Arduino15), but except for the .zip files in the staging/libraries subfolder, there’s nothing there that looks like a library file.