Big Sound Detection Module (KY-037) [S052]



https://www.youtube.com/watch?v=jjT-qJG5OhY


* Specs

For sound detection module has two outputs: 

1. AO, analog output, real-time output voltage signal of the microphone 

2. DO, when the sound intensity reaches a certain threshold, the output high and low signal 


Module features: 

1. there is a mounting screw hole 3mm 

2. the use 5v DC power supply 

3. with analog output 

4. there are threshold level output flip 

5. high sensitive microphone and high sensitivity. 

6. a power indicator light 

7. the comparator output is light


* Contents

- Connect

A0 ----- A0

G ----- GND

+ ----- 5V

D0 ----- X 


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>

 

LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

 

int threshold = 600; 

 

int led1 = 2;

int led2 = 3;

int led3 = 4;

int led4 = 5;

int led5 = 6;

 

int pin = A0;

 

void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");

 

  pinMode(pin,INPUT);

 

  pinMode(led1,OUTPUT);

  pinMode(led2,OUTPUT);

  pinMode(led3,OUTPUT);

  pinMode(led4,OUTPUT);

  pinMode(led5,OUTPUT);

 

  delay(1000);

 

  lcd.clear();

}

 

void loop()

{

 

  lcd.setCursor(0,0);

  lcd.print("S052:SoundDetect");

 

  int val = analogRead(pin);

 

  lcd.setCursor(0,1);

  lcd.print("val=" + (String)val + "  ");

 

  if(val <= threshold)

  { 

    lcd.setCursor(0,2);

    lcd.print("                  ");

  }

  else

  {

    lcd.setCursor(0,2);

    lcd.print("Big Sound Detected");

    delay(100);  

  }

 

  digitalWrite(led1, LOW); 

  digitalWrite(led2, LOW); 

  digitalWrite(led3, LOW); 

  digitalWrite(led4, LOW); 

  digitalWrite(led5, LOW); 

 

  if(val > 600) { digitalWrite(led1, HIGH); }

  if(val > 605) { digitalWrite(led2, HIGH); }

  if(val > 610) { digitalWrite(led3, HIGH); }

  if(val > 615) { digitalWrite(led4, HIGH); }

  if(val > 620) { digitalWrite(led5, HIGH); }

 

  delay(50);

 

}

Posted by RDIoT
|

FM Radio Receiver Module 87-108MHz with Serial Control [S222]



https://www.youtube.com/watch?v=CpoA0x5llbk


* Specs

Features

-adopt the advanced technology of DSP and FM modulation PLL to make sound more realistic, more stable performance,

long working hours without frequency offset.

-LCD display more intuitive and accurate, with very low power consumption and minimal noise interference.

-30 range digital volume adjustment, can be easily operated with keystrokes.

-Automatic memory data before the power failure.

-Automatically switched speaker and reciver output

-Adopt quartz crystal frequency stabilization, the temperature change is no longer receiving frequency drift.

-The professional audio DSP audio signal analysis and processing, automatic mute

no signal or weak when FM signal noise, get rid of traditional FM radio in the absence

of signal or weak signal when annoying rustling.

-Adopt digital incremental rotary encoder to adjust the volume and frequency, well handfelt,

precise positioning, stable and durable, 360°rotation without dead ends.

Support for serial communication control, able to use computer or MCU module device can control all functionality.


Specifications

Output power: 500mW (actuate reciver), 3Wx2 (actuate speaker)

Frequency range: 50Hz-18KHz

Receiving frequency range:

Close the campus radio 87.0MHz-108.0MHz

Open the campus radio 76.0MHz-108.0MHz

Equivalent noise: ≥30dB

Supply voltage: 3.0V-5.0V

Channel: Stereo

Supply Current: maximum volume 1000mA, minimum volume under 60mA (for reference only)


* Contents

- Connect

VCC ----- 3.3V (3~5V)

GND ----- GND

ANT ----- Line 

Audio ----- Speaker

'2) Sensor > Radio' 카테고리의 다른 글

TEA5767 FM Stereo Radio Module (TEA5767) [S109]  (0) 2016.09.17
Posted by RDIoT
|

TEA5767 FM Stereo Radio Module (TEA5767) [S109]



https://www.youtube.com/watch?v=_AvpYDnShgg


*GitHubhttps://github.com/rdiot/rdiot-s109.git


* Specs

power supply: 5V

Frequency range: 76-108MHZ

PCB size: 31*30mm

With reverse polarity protection diode

With power output filtering sensor

Directly plug antenna interface

I2C bus communication

Multi capacitor combined filter

Blue LED power indicator

FM chip module TEA5767

Onboard 3.5mm audio interface

If connects with singlechip, only connect the Power Ground and two I2C communication cable

Features:

LC harmonic oscillator use low cost fixed chip

No need to adjust Intermediate frequency

High sensitivity(low noise RF input amplifier)

High power auto gain control AGC circuit

Soft mute



* Contents

- Library : http://playground.arduino.cc/Main/TEA5767Radio


- Connect

VCC ----- 5V

SDA ----- SDA / A5

SCL ----- SCL / A4

GND ----- GND


- Key Code

#include <Wire.h>

#include <TEA5767Radio.h>

 

TEA5767Radio radio = TEA5767Radio();

 

void setup()

{

  Wire.begin();

  radio.setFrequency(89.1); // pick your own frequency

}



'2) Sensor > Radio' 카테고리의 다른 글

FM Radio Receiver Module 87-108MHz with Serial Control [S222]  (0) 2016.09.17
Posted by RDIoT
|