ADXL345_Sparkfun_Particle (community library)

Summary

Name Value
Name ADXL345_Sparkfun_Particle
Version 1.0.2
Installs 4123
Author Rob Parke
URL https://github.com/reparke/SparkFun_ADXL345_Particle_Library
Repository https://github.com/reparke/SparkFun_ADXL345_Particle_Library.git
Download .tar.gz
All Versions 1.0.2, 1.0.1, 1.0.0

Particle library for the Sparkfun ADXL345 Accelerometer Particle library for the Sparkfun ADXL345 Accelerometer based on the Sparkfun library for Arduino

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

ADXL345_Sparkfun_Particle

This library for Particle devices is based on Sparkfun's I2C/SPI Arduino Library for ADXL345

Using this Library, you have the option of using either SPI or I2C to communicate with the ADXL345.

It is fairly reasonable to use and straight forward.

You will also be able to calibrate the ADXL345 whenever necessary as shown in the example.

SparkFun ADXL345 Arduino Library

SparkFun ADXL345

SparkFun Triple Axis Accelerometer Breakout - ADXL345

The ADXL345 is a small, thin, low power, 3-axis MEMS accelerometer with high resolution (13-bit) measurement at up to +-16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface.

The ADXL345 is well suited to measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (4 mg/LSB) enables measurement of inclination changes less than 1.0 degrees.

This Arduino library allows for both SPI or I2C communication. It also gives the user the ability to explore the following customizable features: tap/double tap detection, acvitivty/inactivity monitoring, and free fall detection.

Repository Contents

  • /examples - Example sketches for the library (SparkFun_ADXL345_Example.ino and SparkFun_ADXL345_Calibration.ino). Run these from the Arduino IDE.
  • Source files for the library (SparkFun_ADXL345.cpp and SparkFun_ADXL345.h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.

Documentation

Products that use this Library

  • SparkFun Triple Axis Accelerometer Breakout - ADXL345 - PRT-9836- The ADXL345 is a small, thin, low power, 3-axis MEMS accelerometer with high resolution (13-bit) measurement at up to +-16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface.

Version History

  • 1.0.0 - Initial release of the Triple Axis Accelerometer Breakout - ADXL345 SparkFun Library.

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

Browse Library Files