Step 2Electronics Pt 2: Sound
So far I have only found one easy to use and cheap sound player for the Arduinos - the wave shield from Adafruit industries. It only costs about $25, much cheaper than other sound playing development boards. Also the coding is fairly simple with the libraries provided by Adafruit.
The disadavanges do pile up, though. It can only play uncompressed WAV files - in mono. It needs 8 connections do the Arduino. It takes a minimum of 10kb of flash on the Arduino - leaving only about 4 or 5kb left on the Arduino for the rest of your code. However other MP3 player boards usually run for around $100, so I just stuck with the wave shield.
I changed the dac.h file in the wave shield library to use analog pins 2-5 instead of the digital pins. I wired up a speaker to the base of the turret.
| « Previous Step | Download PDFView All Steps | Next Step » |
1
comment
|
Add Comment
|
![]() |
Add Comment
|


















































