Playing music with Arduino Nano and ADXL345

Hello,

I am a new user here, but not totally a rookie at microcontrollers. I am working on a system that plays music. I have an Arduino Nano, a WTV020 SD-card woice module, a TDA2030A amplifier, 2 speakers, a pushbutton and an ADXL345 accelerometer. I'd like to do the following: the microcontroller plays an effect every time the accelerometer has a +2 G force, and another at -2G; and it can play a third effect when I push the button. Actually, I can't put these thinks together (I couldn't find anything for the accelerometer part). Can anybody help me with earlier projects, or links where I can find some samples?

a WTV020 SD-card woice module

Does it sound like a wascally wabbit?

Links are better than words, to remove any ambiguity.

Actually, I can't put these thinks together (I couldn't find anything for the accelerometer part)

That's nearly impossible to believe. That is such a common accelerometer.

I couldn't find anything for the accelerometer part

http://www.lmgtfy.com/?q=arduino+ADXL345+example

About 23,600 results (0.16 seconds)