PDA

View Full Version : Just a dual axis Accelerometer, or Accelerometer and gyro?



patterson7019
02-13-2010, 11:42 AM
I would like to have my robot know when it is moving, and know what direction it is facing. This will allow me to know if it is stalled and not moving, as well as being able to say turn 90 degrees.

The compass is not very accurate indoors it seems, and seems to drift, and is hard to keep a straight line. I was thinking the gyro would replace the compass.

But the Memsic 2125 Dual-axis Accelerometer (http://www.parallax.com/Store/Sensors/AccelerationTilt/tabid/172/CategoryID/47/List/0/Level/a/ProductID/93/Default.aspx?SortField=ProductName%2cProductName), would that work for both functions? Or is the gyro much more accurate, and I would want to use that instead regardless?

Thanks!

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://perfectaperture.com/robb

Franklin
02-13-2010, 11:55 AM
For what you want to do both are needed and a compass wouldn't hurt.

This is my favorite video of a inertial guided robot
www.geology.smu.edu/~dpa-www/robo/jbot/jbot_hatrick2_2.mpg (http://www.geology.smu.edu/~dpa-www/robo/jbot/jbot_hatrick2_2.mpg)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen

patterson7019
02-13-2010, 08:56 PM
Nice video. I'd love to play with a GPS once I make an outdoor robot. Maybe when the weather warms up :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://perfectaperture.com/robb