:geek: Hi,
I'm using the mpu6050,I set the sample rate (1K/8=128hz),
now, the problem is when I place the MPU6050 in no motion, then read the two byte register GYRO_YOUT_H,GYRO_YOUT_L,
most of the data is 0xFFFF, 0X0000 ,they all means 0 (no motion in Y axis), but sometimes the data is 0xFF00 (-256),0x00FF(255)
This means the MPU6050 write the register (GYRO_YOUT_H,GYRO_YOUT_L) just after I read the High byte GYRO_YOUT_H,
so I read the wrong data 0xFF00 (-256) or 0x00FF(255) .
I try to set the PWR_MGMT_2(STBY_YG) to 0x07 ,so before read the data register puts the x,y,z axis gyroscope into standby mode, then restore after read the data register, but in standby mode the data register is always 0x0000 (MPU6050 not hold the data before standby ??). The mpu6050 can only control the data out frequency.
I hope you will help me to solve this problem without use the Buffer, thank you!
- Log in to post comments
phpbb Topic ID
14520