Jump to content
I2Cdevlib Forums

Newbie help with raw data (mpu6050 with CC2541 and BLE)


Recommended Posts

Hello, i have bought this one http://www.aliexpress.com/snapshot/6275887994.htmlto start experiment with accelerometer/gyroscope

 

althought i am able to measure temperature and air pressure BMP180 (as article suggest) - BIG endian 4 bytes for temp 4 bytes for air pressure.

 

I have problem on understanding the values from mpu6050. While article is talking about BIG endian of 14 bytes

the characteristic return 20 bytes from mp6050

 

Experiment : I left sensor still and then I tried to move it left and right (probably on angle so ax and ay will have changes)

my raw data is 

ax ay and az must be correct ?(Z measured the gravity 2042 points /2048 -> 0.99g)

high value of ax and ay  like 64769 is negative (-65536 ) = -767

 

Dont know if my speculations are correct, but anyway i cant figure out which bytes are gyroscope (i tried another expirement with only rotation around z axis and ...)

 

Anyone could help? thank you very much

 

Bluetooth read :64 00 6D 00 FA 07 FF FF 00 00 00 00 EA 2B 1D 00 E6 FD 7E D1   

ax  ay  az  aTemp  gx  gy  gz  sensor is still                                      

100 109 2042 0 29 64998 53630

 

65 00 6C 00 FB 07 00 00 FF FF 00 00 EB 2B 1A 00 D8 FD 7F D1  

ax ay az aTemp gx gy gz   sensor is still                                      

101 108 2043 0 26 64984 53631

71 03 01 FD 6B 08 CD FF E3 FF 33 00 70 2C 3C FF 3A 00 F3 D1

ax ay az aTemp gx gy gz  sensor move left right                                

881 64769 2155 0 65340 58 53747

E8 01 D4 FC 98 07 C9 FF CC FF B6 FF CC 2D 21 EA 0E 0B 9C DA

ax ay az aTemp gx gy gz                                          

488 64724 1944 0 59937 2830 55964

58 FE EF FE 4E 06 1F 00 FF FF D3 FF 97 26 D3 F6 FE 03 EF CD

ax ay az aTemp gx gy gz                                          

65112 65263 1614 0 63187 1022 52719

CD FE 90 FE 00 08 04 00 0F 00 F8 FF 48 23 01 F9 1E 03 28 CB

ax ay az aTemp gx gy gz                                          

65229 65168 2048 0 63745 798 52008

AD 00 85 00 F0 07 00 00 00 00 00 00 86 2A 8E FF C6 FC 47 D0  

ax ay az aTemp gx gy gz   sensor is still                                      

173 133 2032 133 65422 64710 53319

AE 00 86 00 F1 07 00 00 00 00 00 00 87 2A 91 FF C7 FC 48 D0  

ax ay az aTemp gx gy gz                                          

174 134 2033 134 65425 64711 53320

AE 00 85 00 F3 07 00 00 00 00 00 00 88 2A 93 FF C7 FC 49 D0  

ax ay az aTemp gx gy gz                                          

174 133 2035 135 65427 64711 53321

myfile.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...