5dof IMU board help
waterlogged
Posts: 12
I'm relatively new to the propeller, but I have completed the whole tutorial and done a couple of projects. I've started working with the sparkfun 5dof IMU with the code from the object exchange at
http://obex.parallax.com/objects/239/
and I keep getting nonsensical values. It seems like the gyro readings are fine (get_x_rate and get_y_rate), but every other reading just comes out as some random whole number between 0 and 30000, though it could be higher.
Anybody know what could be going on? I've been at this for a couple days now, but I can't seem to figure out what could be wrong.
Post Edited (waterlogged) : 2/28/2010 9:15:28 PM GMT
http://obex.parallax.com/objects/239/
and I keep getting nonsensical values. It seems like the gyro readings are fine (get_x_rate and get_y_rate), but every other reading just comes out as some random whole number between 0 and 30000, though it could be higher.
Anybody know what could be going on? I've been at this for a couple days now, but I can't seem to figure out what could be wrong.
Post Edited (waterlogged) : 2/28/2010 9:15:28 PM GMT
Comments
Graham
In the IMU library in the OBEX, there is a filed called MCP3208.spin that contains the method "Start." The last parameter in that method is the "Mode" which indicates which pins you want to listen to.
Bill
Graham, Sorry about the oversight, I thought I had. Next time, I will be sure to.
Thanks again for all your help.