[vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Module introduce” tab_id=”1393984144-1-5″][vc_column_text]
This tiny breakout board features the ADMP401 MEMs microphone. One of the key advantages to this breakout and microphone is the bottom ported input. This means the microphone’s input can fit flush against the enclosure of your project. Plus you will not have to deal with trying to solder the microphone’s wacky footprint. Wootness!
The amplifier on the breakout has a gain of 67 and more than meets the bandwidth requirements of the mic. The amplifier’s AUD output will float at one half Vcc when no sound is being picked up. The amplifier produces a peak-to-peak output of about 200mV when the microphone is held at arms length and is being talked into at normal conversational volume levels. So the AUD output can easily be connected to the ADC of a micro.[/vc_column_text][/vc_tab][vc_tab title=”Wiring Diagram” tab_id=”1393984144-2-40″][vc_column_text]
VCC —> pcduino 3.3V
GND —>pcduino GND
Out signa —>pcduino A2
[/vc_column_text][/vc_tab][vc_tab title=”Test code” tab_id=”1394041787742-2-1″][vc_column_text]
#include <core.h> int adc_id = 2; int delay_us = 100000; int HistoryValue = 0; char buffer[100]; void setup() { memset(buffer,0,sizeof(buffer)); } void loop() { int value = analogRead(adc_id); // get adc value value = ((float)value/4096)*sizeof(buffer); if(((HistoryValue>=value) && ((HistoryValue - value) > 2)) || ((HistoryValue<value) && ((value - HistoryValue) > 2))) { memset(buffer,'*',value); buffer[value] = 0; printf("%sn",buffer); } HistoryValue = value; }
[/vc_column_text][/vc_tab][vc_tab title=”Test result” tab_id=”1394041865964-3-2″][vc_column_text]
You will see the change of the result when your hand slip past the module
The screen will output waveform figure which is just like spectrum but it is just backwards when the sound change .
[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.