This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with not displaying negative values and converting sensor data. MPU6050 with NRF52832

Hello, 

After a long war trying to connect MPU6050/MPU9250 to NRF52 DK with nrf52832 on board, I finally succeeded and I am getting values through UART. 


But I have 3 problems/questions. 


1 Problem:

I am not getting negative values, instead of them I am getting zeros. How can I fix that?


2 Problem: 

How can I take sensor data from:

- accelerometer and convert into m/s^2, so that if sensor is laying flat on z axis I get about 9,8 ?

- gyroscope and convert intro rad/s or degrees/s ?


3 Problem:

How can I access a built in timer in nrf52832 which will return the number of milliseconds passed since the nrf52832 board began running the current program ?

_____________________________________________________________________________________________________________________________________


Thank you all for any help you'll give me upfront!

Take care Slight smile

Related