Quote:
|
Originally Posted by BrianBSL
I would take a guess that it would work, but the units would be incorrect. The kit gyro has an output sensitivity of 12.5mV per degree, you will have to compre this to whatever gyro you are using, and scale it correctly.
For refrence, an Analog Devices ADXRS300 has an output of 5mV per degree. This means that you need to divide the number you get from easyC by 2.5 (12.5 mV / 5 mV) in order to get real degrees.
Brad would know for sure, but I think that is how it works.
|
Hmmm sort of sounds right, but wouldn't you have to multiply? For instance, say the robot moves 1 degree...with the 80 you would get 12.5 mV and with the 300 you would get 5 mV. If the gyro code is unchanged then it would return a value 2.5 less than the real value (12.5/5) which means you would have to multiply to achieve the correct heading. Or am I having a brain fart?