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 |
mbed.bld@1:c835cfa8b41c, 2016-04-28 (annotated)
- Committer:
- 1050186
- Date:
- Thu Apr 28 11:23:58 2016 +0000
- Revision:
- 1:c835cfa8b41c
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
1050186 | 1:c835cfa8b41c | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/aae6fcc7d9bb |