简体   繁体   中英

MPU6050 raw sensor data, zero

I am trying to get raw values of ACCEL_OUT from MPU6050 (GY-521 module) . I can read WHO_AM_I register and I can write to PWR_MGM_1 (0x6B) register and change it default value from 0x40 to 0x00 ( when I write to register, I can read 0x00 ). and interrupts are handled fair, I need to access raw data of sensors. but when I read ACCEL_OUT registers, for example ( ACCEL_ZOUT_L ) it just return 0x00 . I spend a whole night and a whole day on this problem and nothing good happened at all. Any advise would be great help. Thnx.

我解决了这个问题,这是I2C NACK和读取命令中的STOP。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM