SparkFun Electronics will be closed on November 26, 2020 and November 27, 2020 for the Thanksgiving holiday. We will begin normal operations at 9:00 AM Mountain Time on November 30, 2020.


Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

Member #120306

Member Since: February 13, 2010

Country: United States

  • Just some general hints on getting the ahrs code to work.
    1. The gryo is a different sensor and is now connected via i2c. you can use this http://code.google.com/p/itg-3200driver/ to interface with it and pull the correct data. Make sure you use the correct address (0x69 i think). The code above has it own offset calculation so use this instead. Essentially you will no longer use adc.pde .
    2. Examine the axes for all of the sensors, to me it appears that all of the axes are aligned together so you need to edit some of the i2c code(specifically the x and y of the acclerometer and magnetometer are switch) and SENSOR_SIGN in the main code.

No public wish lists :(