how to record voice in pic 18f using sd card

Status
Not open for further replies.

myat thu

Newbie level 1
Joined
Oct 10, 2015
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
I don't understand how to store voice signal in sd card
and how to write code to store voicein sd card
Plz, help me
I want to make a recorder project
 

Hi,

voice signal --> amplify if needed --> analog filtering --> ADC conversion --> digital data stream --> read from ADC --> write to sdCard.

* you need to specify analog input voltage range (for ADC and amplifier, if needed)
* you need to specify analog frequency range (for analog filter and ADC sample rate)
* after each conversion you need to read the digital data and store it to sdCard (maybe you need a FIFO buffer here)

I recommend to read data from ADC and just transmit into FIFO within the ADC_conversion_finished_ISR.
Transmit data from FIFO into sdCard I´d do in main loop.

Klaus
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…