Hi Sir,
I have a NRF 51822 board & MPU 9250 sensor. I want to read YAW,PITCH,ROLL,ACC_X,ACC_Y,ACC_Z,GX,GY,GZ,MX,MY,MZ values from MPU Sensor.
Could you please share a working code which i can able to read all above values.
Thanks in advance.
Hi Sir,
I have a NRF 51822 board & MPU 9250 sensor. I want to read YAW,PITCH,ROLL,ACC_X,ACC_Y,ACC_Z,GX,GY,GZ,MX,MY,MZ values from MPU Sensor.
Could you please share a working code which i can able to read all above values.
Thanks in advance.
Hi. We don't have any official ecamples, but you might be interested in this git repo. The examples show how to get ACC_X,ACC_Y,ACC_Z,GX,GY,GZ,MX,MY,MZ, but you will have to calculate yaw, pitch and roll yourself.
thank you sir, But from this code we are getting values in HEX format. how to convert them to decimal.one more thing I think we are getting only accelerometer sensor values.how to get the remaining sensor values
thank you sir, But from this code we are getting values in HEX format. how to convert them to decimal.one more thing I think we are getting only accelerometer sensor values.how to get the remaining sensor values