Re: Any recommendations for audio player microcontrollers?
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 10:26:01 +0200
Hoi Wong wrote:
I'm trying to build a small device that instantly plays one of many short
audio clips stored in memory on user's command.
Does anybody know any easy to program microcontroller that integrates all
the needs below?
This depends on how many seconds at which bit resolution you want to store.
1. GPIO (8 pins will be enough)
2. Built in memory (external is OK as long as it's easy to hook up)
3. Directly drives small loudspeakers (0.5W).
The audio quality doesn't have to be good. 22kHz audio will be more than
enough.
A cheaper solution than the VLSI chip could be to use a standard low-cost
microcontroller with sufficient flash. Most microcontrollers have a PWM
output. Add an external FET and lowpass filter for some cents, and you can
drive a loudspeaker with it.
The only drawback is that flash in microcontrollers is expensive. If you
use something like 16k flash, the sound memory would be less than a second,
if uncompressed. Would be interesting to see, if it is possible to
implement e.g. a decoder for the free Ogg Vorbis format (MP3 requires
license fee for each device, or a really big one-time fee) in a small and
slow microcontroller.
Another idea: just buy a 500k serial flash for less than $1 (in higher
quantities), which can store more than 20 seconds uncompressed 8 bit audio
data.
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=W25X40VSSIG-ND
--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.
- References:
- Any recommendations for audio player microcontrollers?
- From: Hoi Wong
- Any recommendations for audio player microcontrollers?
- Prev by Date: Re: Any recommendations for audio player microcontrollers?
- Next by Date: Re: Any recommendations for audio player microcontrollers?
- Previous by thread: Re: Any recommendations for audio player microcontrollers?
- Next by thread: Re: Any recommendations for audio player microcontrollers?
- Index(es):
Relevant Pages
|