
I was just thinking the other day, how to take a micro connected to a microphone, and make it record audio data. There are some serial flash eeproms available that you could use as memory. You could take the incoming data, and convert it to a digital number, and then store that number on an eeprom. You would want to try to sample at around 8khz, to get even marginal sound. You could then run the eeprom back through the micro, or different micro, and you could connect it to a speaker in one of two different ways. First, you could pulse width modulate the signal. You would output the address to the eeprom, and then the input level would determine how long your signal is turned on. You would then have the output pin connected with a capacitor to ground, which would then be connected to a small speaker. You may need some sort of LM386 audio amplifier to amplify the signal. The second possibility is that you could use 8 output pins, if your pic was large enough, and you could have an 8-bit D/A converter driving the speaker. I actually thought that you could use this to make a digital amplifier of a small signal. I am not sure if it would work very well, but would be fun to program.
Anyway, I was searching on the internet and ran accross this hardware based eeprom sound player. This is a little different than my idea because first, I would replace all of this circuitry with a simple micro, and secondly, his data comes from RAW data from a computer. [Link]
One Response to “Eprom Sound Player”
Leave a Reply



Hi,
I would like to know how to digitize an audio from a cassette or cd and convert it and program a eeprom or eprom or mcu. Actually i would like to know in what format an mcu understands the audio.
Thanks in advance
Vasan