Microcontroller › PIC › How To Use PIC Microcontroller For Voice Input And Output › If you want reproduce audio
If you want reproduce audio signal, yo can try this:
1º Get a Microcontoller power enough with at least one Analogic to Digital Converters (ADC), enough memory(10000), and with one Digital to Analogic Converter(DAC).
2º Connect the source of audio signal (like microphone + Amplifier, etc) to a ADC input.
3º In the Microcontroller program a software that reads ADC input every 20 microseconds and store the value in memory. The sample frecuency is 50 Khz that must be at least 10 times upper the frecuency to convert in this case 5Khz. For 2 seconds of record you need to sample 100000 values and stores it.
4ºOnce you have stored all the values you must convert digital values in Analogic with DAC.
Every 20 microseconds read a value from the memory and out by the DAC.
5º Do this with the 10000 values.
6º At the output of the DAC you need an Amplifier with filters.