ADC reading from microphone

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello I am reading in a microphone into the PSOC 4200 BLE ADC for about a 1.5 secs using 15000 samples at 10000 SPS, 10 bit resolution and VDD = 3.3. Attaching a screenshot of my settings. I am having a hard time reading in the microphone as I am not seeing the same thing I'm seeing on my oscilloscope. 

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You do not wait for a conversion ready, use ADC_IsEndConversion()

   

Your ADC is 12 bits wide, you need to shift right by 4 to get an unsigned short int

   

The ADC averages 8 measures, thus reducing the frequency.

   

 

   

Bob

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Here you go- Thanks!

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You do not wait for a conversion ready, use ADC_IsEndConversion()

   

Your ADC is 12 bits wide, you need to shift right by 4 to get an unsigned short int

   

The ADC averages 8 measures, thus reducing the frequency.

   

 

   

Bob

0 Likes