Skip to content

Arduino library for the Honeywell HMC5983 Magnetic Sensor.

Notifications You must be signed in to change notification settings

giganticlab/Arduino-HMC5983

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arduino-HMC5983

The HMC5983 is a Magnetometer from Honeywell, with an update rate up to 220Hz in difference with HMC5883L which is only up to 75Hz. You have all the information about this device on the datasheet

This library is based on two libs

Heading calculation is done correctly by following the PDF, and it's corrected from original proof-of-concepto library.

About the Arduino-HMC5883L library I can only say, did all the job.

It works in countinous mode and normal, and has implemented the corresponding configuration rates and gain. You can setup an interrupt to DRDY by passing an argument to compass.begin(callback);

Here is an output of the burnt example

heading=26.5650560000, ms=4
heading=26.5650560000, ms=4
heading=26.5650560000, ms=4
heading=25.3879090000, ms=4
heading=26.1752890000, ms=4
heading=26.9657170000, ms=4
heading=25.7693330000, ms=4
heading=26.5650560000, ms=4
heading=25.7693330000, ms=4
heading=25.7693330000, ms=4
heading=25.7693330000, ms=4
heading=25.7693330000, ms=4

ms is the time between one value read and the next.

Have fun and good building!

About

Arduino library for the Honeywell HMC5983 Magnetic Sensor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.3%
  • Other 8.7%