Skip to content

Commit 2e5cc60

Browse files
ADXL345 Library and Examples
1 parent a41a4e7 commit 2e5cc60

File tree

7 files changed

+1658
-1
lines changed

7 files changed

+1658
-1
lines changed

README.md

100644100755
Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,60 @@
1-
SparkFun_ADXL345_Arduino_Library
1+
# ADXL345
2+
Sparkfun's I2C/SPI Arduino Library for ADXL345
3+
4+
Using this Arduino Library, you have the option of using either SPI or I2C to communicate with the ADXL345.
5+
6+
It is farely reasonable to use and straight forward.
7+
8+
You will also be able to calibrate the ADXL345 whenever necessary as shown in the example.
9+
10+
SparkFun ADXL345 Arduino Library
11+
========================================
12+
13+
[![SparkFun ADXL345](https://cdn.sparkfun.com//assets/parts/3/9/0/2/09836-_01c.jpg)](https://www.sparkfun.com/products/9836)
14+
15+
[*SparkFun Triple Axis Accelerometer Breakout - ADXL345*](https://www.sparkfun.com/products/9836)
16+
17+
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.
18+
19+
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.
20+
21+
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.
22+
23+
Repository Contents
24+
-------------------
25+
26+
* **/examples** - Example sketches for the library (**SparkFun_ADXL345_Example.ino** and **SparkFun_ADXL345_Calibration.ino**). Run these from the Arduino IDE.
27+
* Source files for the library (**SparkFun_ADXL345.cpp** and **SparkFun_ADXL345.h**).
28+
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE.
29+
30+
Documentation
31+
--------------
32+
33+
* **[Installing an Arduino Library Guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library)** - Basic information on how to install an Arduino library.
34+
* **[Product Repository](https://github.com/sparkfun/ADXL345_Breakout)** - Main repository (including hardware files) for the SparkFun Triple Axis Accelerometer Breakout - ADXL345.
35+
* **[Hookup Guide](https://learn.sparkfun.com/tutorials/adxl345-hookup-guide)** - Basic hookup guide for the SparkFun Triple Axis Accelerometer Breakout - ADXL345.
36+
37+
Products that use this Library
38+
---------------------------------
39+
40+
* [SparkFun Triple Axis Accelerometer Breakout - ADXL345 - PRT-9836](https://www.sparkfun.com/products/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.
41+
42+
Version History
43+
---------------
44+
45+
* [1.0.0](https://github.com/sparkfun/SparkFun_ADXL345_Arduino_Library/releases/tag/V_1.0.0) - Initial release of the Triple Axis Accelerometer Breakout - ADXL345 SparkFun Library.
46+
47+
License Information
48+
-------------------
49+
50+
This product is _**open source**_!
51+
52+
Please review the LICENSE.md file for license information.
53+
54+
If you have any questions or concerns on licensing, please contact [email protected].
55+
56+
Distributed as-is; no warranty is given.
57+
58+
- Your friends at SparkFun.
59+
60+
_<COLLABORATION CREDIT>_

0 commit comments

Comments
 (0)