ADXL345 3-axis Acceleration Sensor sample
Dependencies: ADXL345_I2C mbed
Fork of ADXL345 by
About ADXL345
ADXL345 is a 3-axis acceleration sensor and can be controlled by using the I2C.
- Datasheet of ADXL345
http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf
About sample program
This program outputs the acceleration information of 3-axis to the terminal.
The 3-axis is as follows:
In the graph, the acceleration information of 3-axis showes.
About wiring
Sensor | GR-PEACH |
VDD | 3.3V |
GND | GND |
SCL | D15 |
SDA | D14 |
Diff: ADXL345_I2C.lib
- Revision:
- 0:75c7bfd01ea0
diff -r 000000000000 -r 75c7bfd01ea0 ADXL345_I2C.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ADXL345_I2C.lib Fri Mar 11 15:54:40 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/nimbusgb/code/ADXL345_I2C/#92fa975dab32