Modern Device
  • Home
  • Blog
  • Forums
  • Wiki
  • Shipping
  • Contact Us

    • Featured Products
    •  
    • Arduino/Freeduino
    • JeeLabs
    • Sensors
    • Music/Sound/Noise
    • Light Emitting Diodes
    • Displays
    • Components
    • Power Supplies
    • Breadboards & Wires
    • Merchandise
    • Closeouts
    • Promotions
    •  

    Your Cart

    Review Cart or
    Checkout Now

    Popular Products

    Freeduino USB Host Board
    Starts at $79.00
    Bare Bones Board (BBB) Kit
    Starts at $4.50
    JeeNode v6 Kit
    Starts at $7.50
    RBBB Kit
    Starts at $13.00
    Wind Sensor
    Starts at $17.00
    3-Axis Accelerometer Module
    Starts at $10.95
    TMP421 Temp Sensor
    Starts at $7.63
    Fluxamasynth Shield
    Starts at $39.95
    AMBI Light Sensor
    Starts at $4.47
    Arduino Uno Rev3
    Starts at $25.00
    Dual Axis Gyro Module
    Starts at $21.95
    SHT21 Humidity and Temp Sensor
    Starts at $4.00
    Pressure Sensor (MPXV)
    Starts at $4.95
    Theremin Merit Badge
    Starts at $4.50
    Relay Plug
    Starts at $4.00
    LEDs (Super-Bright)
    Starts at $2.50
    LCD Character Displays
    Starts at $7.00
    RGB LED
    Starts at $0.50
    Arduino Leonardo
    Starts at $25.00
    Arduino WiFi Shield
    Starts at $90.00
    Arduino Wireless SD Shield
    Starts at $30.00
    Arduino Mega 2560
    Starts at $55.00

    Recently Viewed

    Recent News & Updates

    • Maker Faire San Mateo 2012
    • New Fluxamasynth Library
    • PIR sensors and LEDs galore
    • HMC5883 3-Axis Compass launched.
    • 2 Second Arduino Bootloader
    Home / News / HMC5883 3-Axis Compass launched.

    HMC5883 3-Axis Compass launched.

     We haven't had a compass sensor since the chip on our last one went extinct (or at least was unavailable). We spun a board with a late model and very affordable Honeywell 3-Axis HMC5883 chip. It's a three axis chip but only the x & y axis are normally used for a normal compassing function - with the sensor held fairly level. For a tilt-free compass you need to add an accelerometer and then use the information from the Z channel (and some trig) to find the direction vector. The code is pretty simple.

     We used our analog accelerometer and were able to configure the compass within about +-7 degrees while tilting it up to 45 degrees up or down. This was without a lot of calibration of the accelerometer so with some trickier math it should be easy to make a compass that is tilt resistant within about 3 or 4 degrees I'm guessing. 

    We've got two great app notes up on the site and will have some more soon. In the meantime, I'm putting 15 sensors up on the site for free. Just use the code "compass" (all lower case) and the first ten people who check out with one in their cart will get one free. One to a customer please.

    Enter code:  compass     (lower case)

    Paul


    Written by Paul Badger on June 08, 2011

     

    Shipping Info Distributors Thanks for visiting Modern Device! Your questions and feedback are welcome: support@moderndevice.com

    © 2013 Modern Device.