The ADXL345 Chip from Analog Devices is a 3-Axis Accelerometer that measures static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock.
Remember to connect the Vcc line of the Accelerometer to 3.3V of your Micro controller. Anything above 3.6V will burn the IC.
The Board supports SPI (3- or 4-wire) or I2C (2-wire) digital interface.
The 10K pull-up resistors help you to connect the SDA and SCL lines to 5V tolerant Micro controller pins like an Arduino Uno (running at 5V). This may shorten the life span of your ADXL345 hence, it is suggested to use a Logic Level Converter between the (5V) Microcontroller and the (3.3V) ADXL345.
Just connect this Board as shown in the pictures and enjoy creating advanced applications such as a pedometer like your cell phone does. [Video at the end].