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

mpu6050 on Nrf51822

Hello

Is there any example or tutorial on how to use the mpu6050 library? I just started to program the nrf51822 and hope to find some helpful clues to get me going.

Any suggestion would be appreciated.

Nick

Update: I got the mpu-6050 working on keil, but without the mentioned examples. I did found some example on a chinese website. With some help of google translate i got to tweak it a little. For someone who is just a beginner most examples look difficult so i am already happy i got it working. And i can work forward from that base. For everyone who likes to use this very simple example. Here is my project; NRF51-MPU6050.rar

Parents
  • Hi,

    UPDATE 2016.03.30:

    I have uploaded some examples showing how you can use the MPU9150 and MPU9255 with the nRF51 here. The examples shows various features of the MPUs like free fall interrupts, data ready interrupts, and how to transmit MPU data over BLE.

    Further on, the MPU9150 and the MPU6050 are very similar and I'm quite sure that the example should work equally well, un-altered, on both sensors. However I have not tested it with the MPU6050. Feel free to try it out and give me some feedback if something is not working correctly.

    Note: The example is made for nRF51 3rd revision ICs and SDK 11.0.0 (Refer to the Compatibility Matrix. If you use older ICs it will not work. If you use a different SDK it might work, but I haven't tested it. If you use a different SDK and run into troubles please do your best to fix it yourself before you post any questions here.

    Finally, there are no good tutorials from Nordic for the MPUxxxx I'm afraid, but there are a bunch of more or less useful posts here on devzone.

  • Hi Martin - Just wanted to see if you have confirmed if this works with the magnetometer example? Can't get mine to work - all the others work great. Just trying to narrow down the problem. Thanks!

Reply Children
No Data
Related