Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

SimpleSDAudio

26 Byte entfernt, 19:14, 26. Jun. 2012
* Copy the file /libraries/SimpleSDAudio/examples/example.raw 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 or line-in via 100 ohm resistor in series to audio output pin (pin 9 on Arduinos with ATmega168/328, pin 44 on Arduinos with ATmega1280/2560). Connect other end of speaker/ground of line-in to GND.
* Launch Arduino IDE and try example "BareMinimumWithDebug" first
* You should hear some audio. Activate serial monitor to find some information if it does not work. Maybe you have to adjust SD cards CS pin in sketch.
Bueraucrat, Bürokrat, Administrator
2.088
Bearbeitungen