Due to the impacts of the coronavirus outbreak, we are experiencing longer than normal lead times on certain products. We encourage back-ordering out-of-stock items to receive them as soon as possible.

Member #359801

Member Since: September 9, 2012

Country: United States

  • I found that the gains in the library code were off by a factor of 0.1, i.e. 10% of their correct values. I changed them to the following to get approx 1g in the Z axis. So these numbers should give genuine g values for the accelerations.

    gains[0] = 0.0376390; gains[1] = 0.0376009; gains[2] = 0.0349265;

    These gains are located in SparkFun_ADXL345_Arduino_Library/src/SparkFun_ADXL345.cpp for anyone who needs to change them.

    This might help @Member #556651


No public wish lists :(