Compas HMC5883L (GY-271)

Hi all,

I have a HMC5883L 3ax compas module Pic nr.1 and Pic nr.2.


Pic nr.1


Pic nr.2

I didn't tested the module yet because I don't have any kind of code so does anyone got a code for that module? Even if i don't have a code or data i may have a imagination how this module works and how exactly i wanna make it work. The way i wanna be the code is to be in angle degrees like :

North : 0 Deg.
East : 90 Deg.
South : 180 Deg.
West : 270 Deg.

So in this way to get a output data in angle deg and as text (N,E,S,W "or in between) but the main
point to be in deg. I'm not sure if there is already a example code in angle deg. but just saying what I want to be my code :smiley:

(Someone give me an example please :slight_smile: )
Thanks,
Domino60

Looks like when you search you find what you need :smiley:

Yup, seek and ye shall find. If - and only if - ye seek and find not shall ye post!

Everyone an' their mama be usin dem fity eight eighty threes