MIKROE-2371

MIKROE-2371 Datasheet


From MikroElektonika Documentation

Part Datasheet
MIKROE-2371 MIKROE-2371 MIKROE-2371 (pdf)
PDF Datasheet Preview
Noise click

From MikroElektonika Documentation

Noise click is a mikroBUS add-on board with noise detecting circuitry. It enables you to set a noise detection threshold for alarm systems, environmental monitoring or data logging. When the volume of ambient sound reaches the set threshold, an interrupt is triggered.

Features and usage notes

Noise click

The most important parts of the circuit are the microphone, an RMS-to-DC converter, two dual rail-to-rail Input/Output 10 MHz operational amplifiers, and a 12bit digital-to-analog converter DAC .

Schematic also available in PDF
interrupt signal originates .

One operational amplifier processes the microphone signal. The amplified voltage passes through the RMS-to-DC converter. The signal then goes into the second operational amplifier which functions as a voltage comparator from which the

The 12-bit DAC provides the reference voltage the noise threshold for the comparator. You set the exact level through the SPI interface. The threshold should be configured through trial and error 4096 discrete values to select from .

To avoid triggering the interrupt hundreds of times per second as ambient noise oscillates near the threshold, a hysteresis circuit is also employed.

Alternatively, Noise click also enables you to directly monitor the voltage levels from the microphone through the AN pin.

Noise click

IC/Module MCP4901 MCP6021

LTC1966

Interface SPI, AN, EN

Power 3.3V supply

Website

The board works on a 3.3V power supply.

Programming

This snippet sets a threshold of 600 and begins displaying the ADC value from the Noise Click on the terminal. If the Interrupt pin is pulled high threshold exceeded , then the terminal will say "Interrupt!!!!!".
1 #include <stdint.h>
2 #include "noise_hw.h"
4 sbit NOISE_CS at GPIOD_ODR.B13;
5 sbit NOISE_INT at GPIOD_IDR.B10;
7 void system_setup void ;
9 void main
//Local Decalartions
uint8_t buffer[20] = 0
uint32_t value = 0;
uint16_t threshold = 600;
//Setup
system_setup ;
noise_set_threshold threshold ;
//Loop
while 1
value = ADC1_Read 4 ;

LongToStr value, buffer ;

UART1_Write_Text buffer ;

UART1_Write_Text ;

Delay_ms 20 ;
More datasheets: BSS126L6906HTSA1 | ANT-916-DBD-DA/W | ANT-859-DBD-DA/W | MDM-15PH005K | DAMC3W3SJA197 | DDMC-36C4S-J-A197 | ISL62884CHRTZ-T | ISL62884CIRTZ-T | ISL62884CHRTZ | ISL62884CIRTZ


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2371 Datasheet file may be downloaded here without warranties.

Datasheet ID: MIKROE-2371 649476