3-Axis Compass module, I2C based QMC5883 digital compass. This ASIC is equipped with high resolution magneto-resistive sensors and a 16-bit ADC. It provides compass heading accuracy up to 1° to 2°. Signal conditioning like amplification, automatic degaussing strap drivers and offset cancellation are inbuilt. User can connect any 3.3V to 5V DC power supply.
Below is a register map that might help you understand what you can get from this module. There are totally 14 registers provided by QMC5883L. Two Control Registers decide the working mode of the device, they come with address “09H” and “0AH”. Most of the remaining registers are read only data output registers, status register and identification registers.
In this example we will make the module output the heading angle between South and this module.
DownLoad Url osoyoo.com
You must be logged in to post a comment.
Hi
I tried this and i get
isHMC_= 0
isQMC_= 0
Could not find a valid QMC5883 sensor, check wiring!
Forgot to mention
I2C Scanner reports 0x0C as address.
Is this right?