×

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.

ChTacklind

Member Since: August 7, 2007

Country: United States

  • It appears the schematic (and the example) have the Vdd miss wired. They show Vdd connected to the supply passing through a 1-µF capacitor in series. The data sheet says, "Vdd Supply input (2 to 5.2 V). A 1-µF capacitor is required." As is typical, said capacitor should not be in series, but it is a bypass capacitor to ground.

  • Whew! Found some very nice code at https://github.com/pololu/LSM303/tree/master/LSM303. The first example works well. They also have calibration routines.

  • Where is the latest updated example code for this board?

No public wish lists :(