The IDG500 is a 2 axis gyro that can measure rotations up to 500 degrees per second.
Data sheet: http://www.sparkfun.com/datasheets/Components/SMD/Datasheet_IDG500.pdf
Requires 2 ADC channels.
Note that the device requires a 3v supply.
The device operates in two modes:-
- FAST - can measure faster rotation speeds, up to 500 degrees per second, but with less accuracy, or
- SLOW - can measure rotation speeds up to 110 degrees per second with greater accuracy.
Note that this is not a 'software setting' and so this library cannot automatically choose the correct value. It actually depends on which pin on the device you use to connect to the ADC. The 'SLOW' option is referred to in the data sheet as the '4.5' output (coz its like the 'FAST' speed divided by 4.5).
To create the device use:-
IDG500 idg500 = MAKE_IDG500(ADC0, ADC1, slow);
Where slow is TRUE for the SLOW output, or FALSE for the FAST output.
Don't forget that you should initialise the device in appInitHardware:-
You can read the device by using:
and then the results are in:-