Dead-reckoning navigation with gyro and accelerometer
Moderators: adafruit_support_bill, adafruit

Dead-reckoning navigation with gyro and accelerometer

by ranger9 on Sun Jan 06, 2013 6:10 pm

I just ordered the new gyro breakout and accelerometer breakout, and hope to use them to make a "way finder" that will work indoors (so, no GPS or compass.)

It's for a game/activity involving guiding people around an art installation to perform various activities... so, only a "walking-around" level of accuracy is needed.


1) I'm pretty sure I can capture turning info from the gyro board. But high-school physics was a long time ago, and I don't think I remember the math for calculating distance and velocity info from the accelerometer data. Anyone got a pointer to some sample code or a library that might help with some of the heavy lifting?

2) Is an Arduino Micro going to be powerful enough to handle these calculations?

Thanks for any info...
Posts: 46
Joined: Tue Nov 23, 2010 8:05 pm

Re: Dead-reckoning navigation with gyro and accelerometer

by adafruit_support_bill on Mon Jan 07, 2013 7:25 am

Despite its size, the micro is a powerful little thing and should handle the calculations. The best resource for arduino-based inertial navigation would probably be DIYDrones. They specialize in aerial drones, but the calculations are basically the same as for your application. And they have a pretty active forum.

Posts: 37605
Joined: Sat Feb 07, 2009 10:11 am