Author Topic: a newb gyro question  (Read 2420 times)

0 Members and 1 Guest are viewing this topic.

Offline SanglantTopic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
a newb gyro question
« on: April 03, 2008, 03:46:59 AM »
Sorry if this question was asked before, but what is the relationship between the gyro output and the 2.5v output for the ADXRS300 gyro?

From the datasheet, i thought the 2.5v output is the zero point of the gyro output; as in a gyro output voltage higher than the 2.5v output will equal to a positive angular velocity  while anything lower will equal to a negative angular velocity.   But looking at my 10bit ADC data, the 2.5v output stays pretty constant at 540 while the gyro output at equilibrium doesn't even approach that number (it jumps between 528-536 while having an average of 533 per 500 samples).

So can anyone tell me what's the relationship of those two sensors?

Also, don't suppose anyone can give me an equation to convert the ADC output to actual angular velocity for me to compare with the one I come up with

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: a newb gyro question
« Reply #1 on: April 06, 2008, 12:52:08 PM »
Quote
So can anyone tell me what's the relationship of those two sensors?
ummmm what other sensor? You only listed the ADXRS300 :P

Quote
Also, don't suppose anyone can give me an equation to convert the ADC output to actual angular velocity for me to compare with the one I come up with
The datasheet should tell you angular acceleration (not velocity) wrt output voltage.

Then using a power supply apply a few voltages to your ADC, and look at the ADC output. Just use excel to give you the voltage vs output equation, which you can then relate back to the datasheet.

Offline king28

  • Jr. Member
  • **
  • Posts: 7
  • Helpful? 0
Re: a newb gyro question
« Reply #2 on: February 01, 2009, 06:10:10 AM »
what is thedifferent between ADXRS 150 and 300?

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: a newb gyro question
« Reply #3 on: February 01, 2009, 08:36:16 AM »
You *did* open up the datasheet and read the first page, rrriiiggghhttt? ;)

Or even tried google? ;D

Second google result, right at the top:
http://www.sparkfun.com/commerce/categories.php?c=85

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: a newb gyro question
« Reply #4 on: February 01, 2009, 10:10:32 AM »
Hey!
A gyro is not for position.... What you are asking the gyro to do is to have a position with output...
NOP!!!
2V5 means no cyclic speed.... a below 2V5 means negative speed and positive speed means a above 2V5 signal...
Speed... means that the sensor must be in rotation to show something....

What's your problem after that...
You won't measure degrees only speed...


Best Regards,
Lefteris
For whom the interrupts toll...

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
    • Current projects
Re: a newb gyro question
« Reply #5 on: February 01, 2009, 10:31:12 AM »
Hey!
A gyro is not for position.... What you are asking the gyro to do is to have a position with output...
NOP!!!
2V5 means no cyclic speed.... a below 2V5 means negative speed and positive speed means a above 2V5 signal...
Speed... means that the sensor must be in rotation to show something....

What's your problem after that...
You won't measure degrees only speed...


Best Regards,
Lefteris

Unless I missed something, the op was talking about angular velocity, not position...

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: a newb gyro question
« Reply #6 on: February 01, 2009, 10:40:46 AM »
Hey!
A gyro is not for position.... What you are asking the gyro to do is to have a position with output...
NOP!!!
2V5 means no cyclic speed.... a below 2V5 means negative speed and positive speed means a above 2V5 signal...
Speed... means that the sensor must be in rotation to show something....

What's your problem after that...
You won't measure degrees only speed...


Best Regards,
Lefteris

Unless I missed something, the op was talking about angular velocity, not position...


I agree... But I have worked with these guys.... (If I remember right it was the 300)
And that is his problem
Here is only updating the value of the gyro...

In order to see a reading he must set a minimum / maximum routine....
Do a max min routine to see what happens???

I'm not drug or something... I just go clubbing sometimes..... ;D ;D ;D
But still I think my brain waves are good ::) ::) ::)
For whom the interrupts toll...