Using AM-GYRO-P (2axis angular rate plus module)
- Connecting the Hardware
Apply 3.3 V to VCC and GND and connect the output signal of X, Y to each ADC input. If only power is supplied to the angular velocity module without using digital controller pin, the angular velocity is output in the form of voltage. So this voltage is converted to digital form using ADC. In case of ATMega128, Port F is A / D converter.
- Operating the 2-axis Angular Velocity Sensor
If the sensor output is converted using ADC, the angular velocity applied to a particular axis can be known. On performing time integration on the Angular velocity, the cumulative angle at each axis can be known. But by using a GYRO alone it is not possible to determine the precise absolute angle. It is because of the cumulative errors caused by the power noise, data noise, ADC quantization noise, and other noises causes by the change in standard voltage etc.
The power noise entering the sensor can be reduced by designing as shown in below picture. The LDO attenuates the low-frequency noise.

The noise cased due to change is standard voltage is caused during manufacturing so it is really difficult to find the exact value while using it. In such case, there may be offset errors. Chip is made by cutting with laser so during production it is very accurate but slight errors may occur due to transportation, mechanical stress, temperature
For A / D converter related information, refer the AVR lecture courses and examples available in archives of NEWTC website.

Picture of operating GYRO sensor on AVR developing board(AB-M128Pro-A)
