Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

SimpleSDAudio

4 Byte entfernt, 01:33, 20. Jan. 2013
/* Quickstart guide */
* Copy the file /libraries/SimpleSDAudio/examples/EXAMPLE.AFM to root folder of a freshly formated SD card (don't use quick format!).
* Connect SD card to your Arduino board (using shield or whatever, SD card's chip select should go to pin 4, all other to SPI pins).
* Connect a speaker or headphone via 100 ohm resistor in series to audio output pin (pin 9 on Arduinos with ATmega168/328ATmega328, pin 44 on Arduinos with ATmega1280/2560). Connect other end of speaker to GND.
* Launch Arduino IDE and try example "BareMinimumWithDebug" first.
* You should hear the audio (plays just a few seconds). Activate serial monitor to find some information if it does not work. Maybe you have to adjust SD cards CS pin in sketch.
1.954
Bearbeitungen