DIY Homemade Sound Sensor using IC

 

What are Sensors?

A sensor is a device that detects and responds to some type of input from the physical environment. The specific input could be light, heat, motion, moisture, pressure, or any one of a great number of other environmental phenomena. The output is generally a signal that is converted to human-readable display at the sensor location or transmitted electronically over a network for reading or further processing.



Sensors and It's Types


All types of sensors can be basically classified into analog sensors and digital sensors. But, there are a few types of sensors such as temperature sensors, IR sensors, ultrasonic sensors, pressure sensors, proximity sensors, and touch sensors are frequently used in most electronics applications.


All types of sensors can be basically classified into analog sensors and digital sensors. But, there are a few types of sensors such as temperature sensors, IR sensors, ultrasonic sensors, pressure sensors, proximity sensors, and touch sensors are frequently used in most electronics applications.

  1. Temperature Sensor
  2. IR Sensor
  3. Ultrasonic Sensor
  4. Touch Sensor
  5. Proximity Sensors
  6. Pressure Sensor
  7. Level Sensors
  8. Smoke and Gas Sensors

Sound Sensor

These sensors are usually microphone devices that are used to know the sound and deliver the corresponding level of voltage based on the detected sound level. With the implementation of a sound sensor, a small robot can be manufactured to navigate depending on the level of the received sound.

When compared with light sensors, the design process of sound sensors is somewhat complicated. This is because sound sensors deliver very minimal voltage difference and this has to be amplified to provide measurable voltage variation.

I made a Sound Sensor at home.

The factory made sound sensors are very expensive so I have decided to buy components and make it at home.

 




This sound sensor I made at home works accurate.

You can use it in making a lot of projects like clap switch, room lights using sound sensor, VU light meter etc.

 

 


 

Visit the below Amazon India Affiliate links :-


Parts List:-

 
2. Potentiometer 100K : https://amzn.to/2TEYSrh
 
3. Resistor 100K : https://amzn.to/3wCgZwj
 
4. Resistor 10K : https://amzn.to/3iO0VUd
 
 
6. Condenser Mic : https://amzn.to/3iKKo3v
 
 
8. Resistor Pack ( 150 ohm & 330 ohm ) : https://amzn.to/3vtYw3S
 

Additional Components used :

1. Soldering Iron kit : https://amzn.to/3xlxexY
 
2. Hot Glue Gun : https://amzn.to/2UfTdbm


Circuit Diagram : 

 


💻Sound Sensor code 

 

//https://www.youtube.com/channel/UCaXI2PcsTlH5g0et67kdD6g //

// Sound sensor code //

// MOHD SOHAIL //


const int ledpin=13; // ledpin and soundpin are not changed throughout the process

const int soundpin=A2;

const int threshold=200; // sets threshold value for sound sensor

void setup() {

Serial.begin(9600);

pinMode(ledpin,OUTPUT);

pinMode(soundpin,INPUT);

}

void loop() {

int soundsens=analogRead(soundpin); // reads analog data from sound sensor

if (soundsens>=threshold) {

digitalWrite(ledpin,HIGH); //turns led on

delay(3000);

}

else{

digitalWrite(ledpin,LOW);

}

}

 

 
 

Post a Comment

0 Comments