I have just bought an HMC1052L board and I am trying to work out how to get compass headings with it. I am testing it at the moment with an Atmega16 using the on chip 10bit ADC. I plan on using a 16 bit ADC later on to improve accuracy. I am not sure where to start.
Firstly I am not sure what to do with the set pin.
Secondly … I wanted to post a bit more here but I keep getting some error about using incorrect words.
Sorry, I didn’t see your reply till now. I did manage to get it working but the resolution was very poor using a 10bit ADC. I pulled the Set pin high then low before I took a reading. Seemed to work OK.
Chris_P, the Application Notes do suggest using a 12 to 16-bit ADC. I hope it’s better resolution with 16. How often did you need to high/low the Set pin for readings? I’m looking to get 10-15Hz readings.