Tuesday, October 27, 2009

Basic Audio Playback with Arduino

This is one of the simplest way to play back a very short snipped of audio using an Arduino. This is only meant to be an example, nothing too serious.


Hardware
The hardware is very, very simple. The output is PORTD, with the following schematic (bits 0 - 7 refer to Arduino digital pins 0 - 7). This is a resistor ladder.

Arduino Code

Download here: http://milkcrate.com.au/_other/basic_audio.pde


Video

1 comments:

Ghost Wolf said...

I could not help my self so I built a four bit version, since I want to hear that sound. Also I found this: http://en.wikipedia.org/wiki/Covox_Speech_Thing witch is a old soundcard witch used the same idea.