Ardunio Mega code to read MicroMag 3-Axis Magnetometer

We can calculate the UAV heading (flight directions) from multiple consecutive GPS readings if the UAV is moving. However, for a hovering, this method would not work and we may need a magnetic compass or a magnetometer (like MicroMag 3-Axis Magnetometer from SparkFun).

Is there any code out there for Ardunio Mega to read 3D magnetic vector using MicroMag 3-Axis Magnetometer ?

Views: 67

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.

A list of all T3 contests is here

 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service