can someone help me how to know the pin configuration of the adxl345 digital accelerometer. im searching in the net and i dont find the same pin on the others. because it has only 8pins, (CS, DI, DO, CLK, INT1, INT2, VDD, GND)

can someone help me how to know the pin configuration of the adxl345 digital accelerometer. im searching in the net and i dont find the same pin on the others. because it has only 8pins, (CS, DI, DO, CLK, INT1, INT2, VDD, GND)

i have 8pin from DX.com
Recommendations For You - DealeXtreme
and as per ADXL345 datasheet,
http://www.analog.com/static/imported-files/data_sheets/ADXL345.pdf
VD -> +5V
CS -> +5V
gnd -> gnd
DI & D0 -> SCL & SDA
you may have to switch SCL & SDA im not sure witch one is witch one, no good picture really of the board there.
and I've used http://bildr.org/2011/03/adxl345-arduino/
to get mine running.
and you can see it here: http://muziol.com/lcd_accel/
coupled with LCD display.
tnx for the info! ![]()