Electret Microphone Amplifier - MAX4466 Not working

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

I finally got around to working with the 4466. I soldered the pins on and connected to Uno. VCC to +5, GND to GND, OUT to A0.

basic Sketch:

int sensorPin = 0;

void setup() {
Serial.begin(9600);
}

void loop() {

Serial.println(analogRead(sensorPin));

}

No matter what the noise level is the value doesn't change much stays around 520. I have also adjusted the gain. I have 3 of these and they all seem to be doing the same thing. Any help would be appreciated.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by adafruit_support_bill »

Please post photos showing your soldering and connections to the amplifier.

User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

Here are the pics. Thank you
Attachments
FullSizeRender.jpg
FullSizeRender.jpg (593.12 KiB) Viewed 1089 times
FullSizeRender 2.jpg
FullSizeRender 2.jpg (385.19 KiB) Viewed 1089 times

User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

A little better picture. It must be something simple. Thank you.
Attachments
FullSizeRender 3.jpg
FullSizeRender 3.jpg (415.8 KiB) Viewed 1087 times

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by adafruit_support_bill »

Can you post a sample of the serial output? The values should always be centered around about 512 (VCC/2) but you should see some higher and lower values when there is sound.

User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

Here is data when its quiet:

529
518
520
423
523
413
521
433
516
499
522
536
516
540
523
525
520
530
514
534
519
531
514


Here is data when I am playing music into the mic:

535
407
494
471
510
537
507
560
489
543
525
536
491
545
510
519
518
538
503
522
520
518
449


here is data from me playing a 1K Hz tone into the mic:

316
433
644
709
476
329
448
670
669
462
316
467
668
678
439
319
484
688
559
424
315
490
Attachments
screen capture of app playing 1K Hz tone.
screen capture of app playing 1K Hz tone.
IMG_6587.PNG (1006.66 KiB) Viewed 1054 times

User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

The output doesn't make sense to me. Thank you.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by adafruit_support_bill »

That looks perfectly normal. The 1KHz tone data shows a range of 316 to 709. Translated into voltage that is a range of approximately 1.5v to 3.5v, or 2v peak-to-peak. That is more than enough to overload the input of most power amps. If you plot the data, i looks like this:
Attachments
Capture.PNG
Capture.PNG (9.44 KiB) Viewed 1045 times

User avatar
mtashiro
 
Posts: 7
Joined: Thu Dec 31, 2015 3:42 pm

Re: Electret Microphone Amplifier - MAX4466 Not working

Post by mtashiro »

Ok. I must be interpreting the data incorrectly on my other project. Thank you.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”