Breakout Board for Electret Microphone  HELP

Hi,

I recently bought this item :

I am trying to make it work with arduino but I dont seem to be getting it.

Im using this basic code:

Thank you in advance,
you guys are great :smiley:
Adrian

what part are you "not getting" hardware, software, fuzzy kittens?

(ya im being a bit of a wise acre but, honestly "not getting it" does not leave a bunch to go on, and we are pretty dumb when it comes to mind reading)

I should say, there is nothing that could go wrong, with this most simple device and three line code example.....

Try tapping the microphone with your finger and see if you get a response. The signal output is very low from that board and will not pick up general sounds if just fed into an arduino analogue input.

The signal output is very low from that board

I dont thik so

There is a x100 amplifyer for volt-level signals..

Hi,

Yeah sorry about that.

I did connect it and the reading I get are wrong.
Meaning, the value at abalog input 0 (my mic) acts the same as the one at 1 thru 5. When I yell , play music or what ever , the values dont reflect any kind of noise.

You have connected all three wires?
-> 5V
->analog in
-> ground?

I did connect it and the reading I get are wrong

So I think you mean they are not what you expect. What are you expecting?
You will NOT get a reading that is proportional to the volume of the microphone because you are reading in the instantaneous signal of the sound not the envelope of the peak of that waveform.
If you want to measure the sound level you have to take lots of readings and only make a note of the peak reading. The biggest one you find over a period of say quarter of a second will be proportional to the loudness. That will be a linear indication where as loudness is proportional to the log of this value.

The amplifier on the board is wired to give a 2.5 volts signal when there is no sound. When there is some sound the exact shape of the signal will show in voltage variations around 2.5 volts = 512. The variations will be fast....
When you print numbers @9600 baud to the monitor window you are sampling around 7 ms, which means you will hardly notice any signal faster than 20 Herz. The mike might not even hear that...

So e.g. change the bitrate to 110k or so and sing with your deepest voice.. Then you might read something like a slow sine :slight_smile:

HEy guys

I finally understood I think .

I read values from 0 to 1023.
1023 peek . So I guess the louder the highest , not more then 1023 reading .
I am going to do more tests based on what you guys wrote ..
Helpfull so far :d