- This topic has 3 replies, 4 voices, and was last updated 10 years, 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › How To Use PIC Microcontroller For Voice Input And Output
hi ..
i m trying to simulate audio signal interfacing code…. code include “timer.h” file bt not provided in source code…
any help …?
regards…
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.
Hi Qaisar,
The project code has been compiled with MPLAB version 7 and C18 compiler. The timer.h is there in the C18 include files folder. Hence there is no need for a seperate ‘timer.h’ file.
can any one plz give me the sourse code i need it. plzzzzzzzzzzzz