Go Down

Topic: Playing music with Arduino Nano and ADXL345 (Read 995 times) previous topic - next topic

Mdonci

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?

PaulS

Quote
a WTV020 SD-card woice module

Does it sound like a wascally wabbit?

Links are better than words, to remove any ambiguity.

Quote
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.
The art of getting good answers lies in asking good questions.

nickgammon

Quote

I couldn't find anything for the accelerometer part


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

Code: [Select]
About 23,600 results (0.16 seconds)
Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up