Sound Warning

Sound Warning

This project produces an audible warning with LED buzzer ISD1820 output when KY-037 input signal is over the limit.

  • 2,271 views
  • 1 comment
  • 4 respects

Components and supplies

Necessary tools and machines

Hy gluegun
Hot glue gun (generic)

Apps and online services

About this project

Sound Warning

This is Warning device When the sound exceeds the set level. The KY-037 is a voice receiver. And exported with ISD-1820 and BUZZER. The ISD-1820 is a voice recorder and plays if configured to match KY-037 and Set KY-037 to analog because analogue is a measurement that can measure the sound, which is different from the digital values ​​can be measured only 0 and 1.

Steps

  • Step 1

Let's check the sound value. If the sound turns on, the LED will turn on.

  • Step 2

Add the buzzer and check the sound value together. If the sound turns on

  • Step 3

Add the sound recorder with check the sound value. If the sound turns on,the buzzer and recorder will turn on.

  • Step 4

Type code.

  • Step 5

Add the LED SWITCH 3 PRONG

  • Step 6

Complete arranging the components.

Code

Sound warningC/C++
int sensorPin = A0;    
int sensorValue = 0;     
int song = 2;         
int SOUT = 11;
int PLAYE = 9;

void setup()
{
  pinMode (sensorValue,INPUT);    
  pinMode (song,OUTPUT);          
  pinMode (SOUT, INPUT);
  Serial.begin(9600);
}

void loop()
{
  sensorValue = analogRead(sensorPin);    
  Serial.println(sensorValue);
  delay(1000);    
  int ret = digitalRead(SOUT);

if (sensorValue > 500)   
  {
    tone(song,500,300);
    Serial.println("--------------> PIR");
    digitalWrite(PLAYE, 1);
    delay(5000);
    digitalWrite(PLAYE, 0);
    noTone(song);             
    delay(3000);
  }
}

Schematics

23548232_1480598355357638_254024518_n_HEznozJpQl.jpg
24138921 1492953787455428 536034396 o vezbm0ftzv

Comments

Similar projects you might like

Sound Sensor Activated LEDs with LCD for Sound Level Data!

Project tutorial by Heathen_Hacks-v2

  • 1,412 views
  • 2 comments
  • 8 respects

Automatizing Percussion with Solenoids: "The Sound Compass"

Project tutorial by touchmysound

  • 3,681 views
  • 4 comments
  • 13 respects

PWM Sound Synthesis

by 3 developers

  • 3,207 views
  • 3 comments
  • 7 respects

Network VU Sound Level Meter using C#, Arduino and ESP8266

Project tutorial by Fanatic Series

  • 657 views
  • 0 comments
  • 3 respects

Touch Sensor and Sound Sensor Controlling AC/DC Lights

Project showcase by Anbumachi

  • 1,161 views
  • 2 comments
  • 5 respects
Add projectSign up / Login