Jump to content
I2Cdevlib Forums

Understanding raw values of accelerometer and gyrometer


Recommended Posts

I got an answer from elsewhere and want to Share it. 

The problem is that the function getAccelXSelfTest is a basic function and written in C++. I am using Python for the rest of my Code. To use this function you would have to use an implementet function in C++. 

In Python you could Just read the register 0xD.

Pm does sb knows how to just read one Bit of the register?

What values die you get from which Register dir the gyro? Mine seem to be wrong.

 

Thanks

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi...i am a new user here. As per my knowledge the sensor is set on a scale range of +/-2g which means that the sensitivity of the accelerometer is of 16384 LSB/g. I know that to understand the raw datas I need to divide them with the sensitivity and get something near 0, 0, 0.98 even if there is an error.However with the values I am having it is no where near from what it should be.

hdi pcb

Link to comment
Share on other sites

  • 4 months later...
  • 5 years later...

Hola a todos, me gustaria preguntarles algo por si alguno de ustedes ya ha trabajado con esto, pero estoy haciendo un programa con el SensortTile.Box y estoy intentando analizar el RawData que he medido con el acelerometro, no comprendo como obtener los valores de los ejes con este RawData. Quiero aclarar que el RawData esta dado en formato hexadecimal, si alguien pudiera ayudarme lo agradeceria.

captura de pantalla 2023-07-28 112254.jpg

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...
×
×
  • Create New...