Arduino HMC5883L magnetometer examples tutorial | tecno4 | Scoop.it
In this tutorial we will review the characteristics of the digital compass or magnetometer HMC5883L, we will explain the connection and we will make examples with Arduino. The HMC5883L is a 3-axis magnetometer, with this we can read the components of the magnetic field present, in this way knowing the direction of the earth's magnetic field we can calculate the orientation with respect to the magnetic north of the earth, this as long as our sensor does not is exposed to some external magnetic field or some metallic object that alters the Earth's magnetic field.