Audio Analyzer v2 SKU:DFR0126
Contents
1 Introduction
2 Technical Specifications
3 Connection Diagram
3.1 Sample code
Introduction
This module features the MSGEQ7 graphic equalizer display filter.It will give your arduino ears.
Sound is broken down into seven frequency bands and the peak level for each band can be read.
The seven frequencies measured are as follows: 63Hz, 160Hz, 400Hz, 1kHz, 2.5kHz, 6.25kHz and
16kHz.
This module can be used to create sound visualizers, detect patterns in music or add sound
activation to your microcontroller.
Technical Specifications
1. MSGEQ7 Data Sheet
2. Library and sample code
Connection Diagram
Wiring Diagram for Sound Sensor
Wiring Diagram for 3.5mm Jack
Sample code
Arduino IDE Sample code
#include
//Version 1.3 for Spectrum analyzer
//Please download the latest library from the Product page!
Analyzer Audio = Analyzer(4,5,5);//Strobe pin ->4
RST pin ->5 Analog Pin ->5
//Analyzer Audio = Analyzer();//Strobe->4 RST->5 Analog->5
int FreqVal[7];//
void setup()
{
Serial.begin(57600); //Init the baudrate
Audio.Init();//Init module
}
void loop()
{
Audio.ReadFreq(FreqVal);//return 7 value of 7 bands pass filiter
//Frequency(Hz):63
//FreqVal[]:
0
160
1
400
2
1K
2.5K
3
4
6.25K
5
16K
6
for(int i=0;i
很抱歉,暂时无法提供与“DFR0126”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格 香港价格
- 1+163.768001+20.29186