Datasheet
Application Ideas
Motion Sensor
Shock detector
Vibration sensor
Toy car
Robotics
Disk drive Shock Protection
Game Controller
Cautions
Notice: Before you got this sensor, we have tested it to ensure that the sensor is working right.
Sometimes there might be a small offset of the sensor, but it is within the acceptable error range. You can
set the offset register according to the chip's datasheet to regulate the sensor.
Warning: wrong operation can cause danger.
Schematic
Usage
The sensor communicates with the MCU via I
2
C interface. Connected the sensor to the I
2
C port via grove
4 pin wires if you are using the Grove Base Shield.
For the first use you should download the ADXL345 Driver for Arduino.zip and unpack into arduino-
1.0\libraries in your Arduino installation folder.
If you are using jumper wire to connect the sensor, make sure that the sensor's SDA pin is connect to the
analog port A4 and the SCL pin is connect to A5. This two pins are used as the I
2
C interface at your
Arduino.