Go Down

Topic: 9 DOF Razor help (Read 1 time) previous topic - next topic


Hi, I'm a newbie and am a little stuck. I have just purchased a 9 DOF Razor IMU (SEN-09623) and a 3.3v FDTI breakout  (DEV-08772) which I'm powering via usb.

I'm trying to convert the gyro reading to angles but am doing something wrong. If i turn the board 90 degrees my conversion will only give me readings of around 30 degrees.

Here is my algorithm

sensitivity = 0.83 // as per datasheet
zeroLevel = 1.23 // as per datasheet

degPerSecond = (gyroXvalue * 3.3/1024 - zeroLevel)/sensitivity

angle = degPerSecond * elapsedTime + previousAngle

I'm using the values of 3.3 because its a 3.3V power supply and 1024 because its a 10 bit ADC

What am i doing wrong? Do i have the sensitivity and zero level correct? I would like post the datasheet, but not allowed.

Any guidance would be really appreciated.



Now you've made one post you'll be allowed to post a link to the data sheet.



The 9DOF razor
has two gyro's. A LY530AL (single-axis gyro) and a LPR530AL (dual-axis gyro).

Here are the links to the datasheets




What is your analogue reference voltage?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


Not too sure. How do i find out the analogue reference voltage? It's powered via USB if thats any help.

Sorry, im new to this


hi, i'd purchased the same type of 9 dof as you are and connected it to my pc via Ftdi basic . Could u give me the code in adruino software, to display the value of gyroscope, accelerometer and magnetometer? thank you an advance.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131