Hi all,
I am helping a friend with a project that involves the GY521 sensor board; however, am having trouble understanding it fully. I located the i2cDevLib software and a forum where I asked about it, but so far no responses. Hopefully someone here can help me out. I am copying and pasting the question in its entirety, making only edit of text that does not make sense for this forum Thanks all for your help!
Original post follows....
I am helping out a friend with a project where he needs to read acc & gyro data from two independent surfaces. For this I am using two GY521s, at their available addresses of x68 and x69. I have the hardware working and after tweaking Jeff's example to get raw data to accommodate both sensors I am getting data.
I also used the DMP6 example and got the three axis reading for the teapot demo (using Processing following this video:
https://www.youtube.com/watch?v=nlXqIe9-R7s
Not satisfied I started to do a little research which turned into massive confusion :-).
I am not sure if the raw data that I am getting is what he needs. He is working on software that will receive the data through an Arduino and send it over to the host PC running the application. The app needs to receive the six gyro and accelerometer data items, along with an indicator of time passed. The app will create a graph of the surface's movement.
My research yielded information about calibration and offsets. I am currently reading and trying to understand the raw data that I am getting and trying to determine whether I need the offsets or not. I found the following thread on [the i2cDevLib] site:
http://www.i2cdevlib...-and-gyrometer/
BTW: The link to the MPU 6050 datasheet is broken.
I will continue to research and read the thread referenced above and the datasheet; however, I wanted to ask here, hoping that perhaps someone can help me get my head around this versatile sensor.
My questions:
What does the raw data indicate? Why does it vary so much even though the GY521 is not moving?
What does the calibration do? Why is it important?
The calibration process yields offsets, what do these values mean?
Any helpful recommendations or clarifications are welcomed. I will follow up with this thread with whatever information I find. Thank you all for your time and assistance. SGarciaV