LISY300 Gyro Output
ajward
Posts: 1,130
Hi All...
I've been experimenting with the above mentioned gyro module using Beau's Gyro DEMOv1_A.spin code from this thread (http://forums.parallax.com/showthread.php/127868-Gyro-lisy300). The gyro is wired correctly and is outputting data to the debug window, but I'm just not sure what it is I'm seeing. When I first ran the program, with the gyro stationary, the display started with "Deg: 0" and increased by 1 every six seconds or so. Rotating the gyro about its Z-axis give predictable results... clockwise the values decrease and counterclockwise the values increase. Rotating about the X or Y axes shows no effect.
I realize the module will some bias, but I thought the calibration subroutine would factor that out, Also, I realize the "stationary" gyro will have some movement due to the earth's rotation, but the value I'm getting seems awfully high for that. As long as the module is not moving on my workbench, its orientation doesn't have any effect on the output.
If anyone has put together this setup, I'd love to hear about your experience. Thank you.
Amanda
I've been experimenting with the above mentioned gyro module using Beau's Gyro DEMOv1_A.spin code from this thread (http://forums.parallax.com/showthread.php/127868-Gyro-lisy300). The gyro is wired correctly and is outputting data to the debug window, but I'm just not sure what it is I'm seeing. When I first ran the program, with the gyro stationary, the display started with "Deg: 0" and increased by 1 every six seconds or so. Rotating the gyro about its Z-axis give predictable results... clockwise the values decrease and counterclockwise the values increase. Rotating about the X or Y axes shows no effect.
I realize the module will some bias, but I thought the calibration subroutine would factor that out, Also, I realize the "stationary" gyro will have some movement due to the earth's rotation, but the value I'm getting seems awfully high for that. As long as the module is not moving on my workbench, its orientation doesn't have any effect on the output.
If anyone has put together this setup, I'd love to hear about your experience. Thank you.
Amanda
Comments
My idea is to detect or, possibly, measure the Earth's rotation. Don't know if the Lisy is up to the task, but finding out is part of the fun of learning.
Amanda
Just keep in mind that reading these kind of sensors can be tricky and you can often find yourself in a circular reference puzzle.
Reference:
http://www.mouser.com/ds/2/321/27922-LISY300GyroscopeModuleV1.0-23580.pdf