Saturday, March 14, 2009

Digital Compass with AVR (Arduino)

Digital compass is a magnetic sensor which gives you the heading direction, which may be useful for your robotic projects. I have tried it with my HTC G1, which has the digital compass built-in, and working very well with Google map.

One common digital compass sensor available on the market is Honeywell's HMC6352 which is a fully integrated sensor, it is very easy to use. You can use I2C to connect to your microprocessor, by sending a simple character 'A' to the sensor, it will return you the heading information. Near Future Laboratory has an example on using arduino and HMC6352, source codes are also available. Please check it out on the links below!

Honeywell's HMC6352 2-Axis
Near Future Laboratory - Finding The Way - HMC6352 Digital Compass

No comments: