HMC5883

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

kruftin
Pre-kindergarten
Pre-kindergarten
Posts: 9
Joined: Sun May 20, 2012 11:26 pm
Are you a staff member of seeedstudio?: no
Which products/projects are your favorite?: hmc5883

Re: HMC5883

Post by kruftin » Fri May 25, 2012 3:53 am

But work illegal. I don't understand formula for definition north direction. In datasheet i can'r find it.

kruftin
Pre-kindergarten
Pre-kindergarten
Posts: 9
Joined: Sun May 20, 2012 11:26 pm
Are you a staff member of seeedstudio?: no
Which products/projects are your favorite?: hmc5883

Re: HMC5883

Post by kruftin » Fri Jun 01, 2012 12:04 am

Now i get normal values for angle, when i rotate compass from 0 to 270 degrees. There are region in 90 degrees(270-360), where compass have non stable and wrong data.
When i rotate compass i get negative value from 0 to -135 and it value i (angle*2) and i think that i have right value, but all value from 0 to 270 degrees is negative, but i use atan2 function.

Post Reply