AVR based digital compass

AVR based digital compass

Make 608
Jheissjr has a good AVR – digital compass project…

I found that there was no example code anywhere on the internet for interfacing an AVR to the HMC6352 so I thought I would post mine for people in the same position. The code is based off the Atmel App. note AVR315. Simply hook up the SDA and SCL lines from the ATmega to the HMC6352 along with a 5k to 10k pull up on each line.

AVR based digital compass – Link.

2 thoughts on “AVR based digital compass

  1. japroach says:

    $90 from digikey, or $45 from sparkfun, ouch.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone


Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).