Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #13 on: March 07, 2013, 02:22:36 pm » |
Gentlemen
Today I tried out my GY-521 6DOF.
I ran the I2C code, and the adress was 0x68 [running the board on 5V]
I used Krodal's code to run the gyro, and I seem to be getting really unstable signals: Just look at the gyro feedback, this is just by tilting it...
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 12928, -6376, 6420 temperature: 22.341 degrees Celsius gyro x,y,z : -1201, -219, 814,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 8204, -10208, -8428 temperature: 22.388 degrees Celsius gyro x,y,z : -6531, -13742, 6892,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 12260, -10812, 2188 temperature: 22.388 degrees Celsius gyro x,y,z : -2779, -5582, 511,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 12616, -8236, 4216 temperature: 22.435 degrees Celsius gyro x,y,z : -5167, -951, 11285,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 17116, -8, -2696 temperature: 22.482 degrees Celsius gyro x,y,z : -138, -77, 63,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 17032, -36, -2756 temperature: 22.435 degrees Celsius gyro x,y,z : -123, -51, 111,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 17084, -24, -2648 temperature: 22.482 degrees Celsius gyro x,y,z : -125, -62, 104,
MPU-6050 Read accel, temp and gyro, error = 0 accel x,y,z: 17000, 0, -2616 temperature: 22.435 degrees Celsius gyro x,y,z : -151, -64, 74,
Am I misinterpreting the gyro signal? Is this degrees? Why is it so unstable?
I am running my arduino on USB power, is this the issue?
Kind regards
Martijn Decauter
|