Sound detection module interfacing with PIC Microcontroller

Introduction to Sound detection module Using Pic MicrocontrollerIn this tutorial, you will learn how to interface sound detection module with pic microcontroller and how to detect sound with pic microcontroller.  I will be using PIC16F877A microcontroller in this tutorial. Controlling of sound sensor module using pic microcontroller is a device which detects the surrounding atmosphere sound and then turn on or off the output things or components. So, first we will describe what is sound sensor module? Sound sensor module is a such type of module which is made up with the combination of microphone and processing circuitry.sound detection module interfacing with pic microcontroller

Introduction to sound sensor module

It detects the sound with the help of microphone and then fed this sound to processing circuitry which consists of an op amp LM 393.It also consist of potentiometer which is used for setting the sound level and by setting this sound level the output of this sound sensor module could be easily controlled. Similarly, the output of this sensor could be checked by connecting the LED or any other thing at output pins. An intelligent controller is required to operate this sound sensor module and different controller have been currently used such as microcontroller and Arduino board etc. Here we will control this sound sensor module with the help of microcontroller 18F452 which belongs to pic family and will turn on or off the led.

Pin Configuration of Sound Sensor Module

Sound sensor module consists of four pins Ao, Vcc, GND and Do. Ao pin is used of analogue output, Vcc pin is used for giving supply voltage to this sound sensor module which are normally 3.3V to 5V dc. Similarly, GND pin is used for giving ground to this sound sensor module and Do pin is used for digital output. The figure of this sound sensor module is shown in block diagram of controlling of sound sensor module using pic microcontroller.sound detection module

Block Diagram of Controlling of Sound Sensor Module Using Pic Microcontroller

Here is the block diagram of controlling of sound sensor module using pic microcontroller with all their essential components,sound detection module block diagram

Figure 1 Block Diagram of Controlling of Sound Sensor Module Using Pic Microcontroller

Working Principle of Controlling of Sound Sensor Module Using Pic Microcontroller

This controlling of sound sensor module using pic microcontroller device works on the principle of sound detecting. During the presence of sound, the sound sensor module senses this sound with the help of microphone and then gives the logic high signal to microcontroller. Microcontroller is the intelligent controller of this device, which is programmed in c language with the help of mikro/c software and is powered up with 5V dc. Because the sound sensor module consists of four pins therefore two pins Ao and Do are connected to microcontroller and remaining two pins such as Vcc and GND are connected to power supply.

Similarly, the microcontroller output is connected to led. When any sound which is produced by speaking or clapping of any body or fiction or motion of anything then this sound is sensed by the sound driver module then gives the logic high signal to microcontroller then microcontroller gives the logic high signal to LED after some processing then the LED is turned on. Similarly, the LED could be turned off after some time. Beside the LED light the user can connect the other things such as power light or motor etc. This device could be powered up with the help of any dc power bank or the user can easily make our own dc power bank with the help of transformer, bridge rectifier and voltage regulator which is shown in block diagram. If the user made his own dc power bank, then this device could be easily directly coupled to 220V ac power supply.

Interfacing sound detection module with pic16f877a microcontroller

Interfacing circuit diagram is shown below. sound detection module interfacing with PIC16F877A microcontroller

 

Applications and Advantages of Controlling of Sound Sensor Module Using Pic Microcontroller

  1. This sound detection module using pic microcontroller device could be used in shopping malls, universities, hospitals, mosques and cooling stores for controlling their lights and other electronic and electrical items such as security monitoring devices.
  2. This controlling of sound sensor module using pic microcontoller device is more reliable, more efficient, less costly and friendly to use.

5 thoughts on “Sound detection module interfacing with PIC Microcontroller”

  1. Can this sensor be used to detect car horns? If no can you name which one to use? and what is the name of this sensor

    Reply

Leave a Comment