Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » Decibel Meter using Sound Module & Arduino with LCD Display
Arduino Projects

Decibel Meter using Sound Module & Arduino with LCD Display

Mamtaz AlamBy Mamtaz AlamUpdated:July 10, 20238 Comments4 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Decibel Meter using Sound Module & Arduino
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Introduction:

Decibel Meter using Sound Module & Arduino with LCD Display has been designed specifically for detecting the level of sound produced from any source and its intensity as well. The LCD panel directly displays the information about the sound level in numbers. The sound is distinguished as low, medium, and high-level sound on the basis of number. LED by glowing gives the indication that noise is so high. The set up is absolutely self-contained and requires no other apparatus.


Components Required

  1. ATmega328 Microcontroller or Arduino Board
  2. Arduino Sound Module
  3. 16*2 LCD
  4. Resistors: R1=100E, R2=1M, R3=330E
  5. Ceramic Capacitors: C1=C2=22pF
  6. Electrolytic Capacitors: 10uF/63v
  7. 16 MHz Crystal Oscillator
  8. Tactile Switch
  9. +5V Power supply



Decibel Meter using Sound Module & Arduino

So here we will learn how to interface the Sound Module with Arduino. For the breadboard assembly of the project with Arduino, you can assemble like this.

Decibel Meter using Sound Module & Arduino
But if you want to reduce the cost and use it with an ATmega328 microcontroller you can use this circuit diagram. Here you will learn how to detect ambient sound and how to handle the signal generated by this module. This board along with the microphone, has a small built-in amplifier (integrated circuit LM393), because only the microphone would not be able to send data for Arduino. The connection scheme is very clean, composed of only 3 pins: Vcc, GND, and S (signal). In the middle of the plate, there is a potentiometer for sensitivity adjustment.

Decibel Meter using Sound Module & Arduino

The board works with 5V voltage, and the signal pin should be connected preferably to an analog port of Arduino, since the generated signal is variable, and thus we can see the different levels of noise picked up by the microphone. The circuit tests will consist of the module Sound Sensor , plus the display 16×2 LCD. The display at its top, will show the sound level (Low, Medium and High), and bottom , a bar that will follow in real time the sound level detected by the microphone will be shown:



Arduino Sound Module

Features
➡ Main chip: LM393, electret microphone
➡ Working voltage: DC 4 ~ 6V
➡ Has the signal output instructions
➡ Single signal output.
➡ Effective signal output for a low level.
➡ Output low level and the signal light will on when there has a voice.
➡ Can be used for the sonic lamp, with photosensitive sensors act as sound and light alarm, also can be used in the occasion of voice control and sound detection.
➡ Circuit boards output switch value.

Decibel Meter using Sound Module & Arduino

Specifications & Pin Details
The simple specifications of sound module from left to right first pins are as follows:
Pin 1 VCC :4V to 6V DC
Pin 2 GND :GND
Pin 3 D0 :Digital Out
Pin 4 A0 :Analog Out

Working
The sound detection sensor module for Arduino detects whether the sound has exceeded a threshold value. Sound is detected via a microphone and fed into an LM393 op-amp. The sound level setpoint is adjusted via an onboard potentiometer. When the sound level exceeds the setpoint, an LED on the module is illuminated and the output is sent low.

You can check Sound Sensor Datasheet for more details


About Programme & Code Uploading

The ATmega328 microcontroller is programmed using the Arduino language. The input-output pins are not selected on the behalf of Atmega328 pins but on the behalf of Arduino analog and digital pins. Either use Arduino Board for this project. Or simply assemble the circuit as shown in the figure. This is done to reduce costs. The program for both the circuit is the same.

For the above circuit, a fresh new ATmega328 microcontroller with a bootloader is inserted on Arduino Board, and code is uploaded. Remove the microcontroller from the board and insert it in the circuit given above.


Source Code/Program:

The source code for Decibel Meter using Sound Module & Arduino with LCD is given below.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#include <LiquidCrystal.h>
LiquidCrystal lcd(7,8,10,11,12,13);
 
int num_Measure = 128 ; // Set the number of measurements  
int pinSignal = A0; // pin connected to pin O module sound sensor  
int redLed = 5;
long Sound_signal;    // Store the value read Sound Sensor  
long sum = 0 ; // Store the total value of n measurements  
long level = 0 ; // Store the average value  
int soundlow = 40;
int soundmedium = 500;
void setup ()  
{  
  pinMode (pinSignal, INPUT); // Set the signal pin as input  
  Serial.begin (9600);
  lcd.begin(16,2);
}  
  
void loop ()  
{  
  // Performs 128 signal readings  
  for ( int i = 0 ; i <num_Measure; i ++)  
  {  
   Sound_signal = analogRead (pinSignal);  
    sum =sum + Sound_signal;  
  }  
  level = sum / num_Measure; // Calculate the average value  
  Serial.print("Sound Level: ");
  lcd.print("Sound Level= ");
  Serial.println (level-33);  
  lcd.print(level-33);
  if(level-33<soundlow)
  {
    lcd.setCursor(0,2);
    lcd.print("Intensity= Low");
     digitalWrite(redLed,LOW);
  }
  if(level-33>soundlow && level-33<soundmedium)
  {
    lcd.setCursor(0,2);
    lcd.print("Intensity=Medium");
     digitalWrite(redLed,LOW);
  }
  if(level-33>soundmedium)
  {
    lcd.setCursor(0,2);
    lcd.print("Intensity= High");  
    digitalWrite(redLed,HIGH);
  }
  sum = 0 ; // Reset the sum of the measurement values  
  delay(200);
  lcd.clear();
}


Video Preview
Sound Level and Intensity Meter using Sound Sensor & Arduino
Watch this video on YouTube.




Testing of the Circuit

The Circuit for Decibel Meter using Sound Module & Arduino should be tested as below:

  1. Switch on the power supply of the training board so that LCD will light up.
  2. Initially when everything is silent number 0 or 1 will be displayed on LCD indication LOW.
  3. Turn on the music player and bring the module near to the speaker source, you will observe the change in number and also level shifting from low to medium or high.
  4. Similarly, turn the volume up or down and check the level of sound. When extremely high volume is detected red led will glow indicating alert.

You can check the advance version of this project:
1. IoT Decibelmeter with Sound Sensor & ESP8266
2. IoT Sound Level Monitor with ESP8266 & Sound Module
3. Make an Accurate ESP32 Decibel Meter (SPL) with Data Logger

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleHeart Shaped LED Flasher Circuit using 555 Timer
Next Article IoT Live Weather Station Monitoring Using NodeMCU ESP8266

Related Posts

DC Energy Meter using Arduino

Build a DC Energy Meter using Arduino – 32V/5A

Updated:August 26, 20252K
Interfacing ADXL375 Accelerometer with Arduino

Interfacing ADXL375 Accelerometer with Arduino (±200g)

Updated:June 28, 2025
PZEM-004T Arduino Energy Meter

DIY AC Energy Meter using PZEM-004T & Arduino

Updated:March 6, 20258K
Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Updated:February 2, 20259K
Password Based Door Lock Security System Using Arduino & Keypad

Password Based Door Lock Security System Using Arduino & Keypad

Updated:February 2, 20252436K
Earthquake Detector Alarm with with Accelerometer & Arduino

Earthquake Detector Alarm with Accelerometer & Arduino

Updated:February 2, 2025661K
View 8 Comments

8 Comments

  1. kogyikyaw on August 19, 2019 10:16 PM

    how to join sound level meter and gsm sim900 ?
    please help me

    Reply
  2. garvtambi on November 4, 2019 8:15 PM

    what is the means of level – 33?

    Reply
    • Alex Newton on November 4, 2019 8:26 PM

      I have used -33 for calibration.
      You can remove that or either you can use your own factor for calibration

      Reply
  3. Sparrow on February 1, 2020 7:52 PM

    SIR CAN U MAKE ME A CODE BUT INSTEAD OF SOUND LEVEL: (MEASURED VALUE) IT SHOULD BE REPLACED AS REAL DECIBEL VALUE

    FOR EXAMPLE
    SOUND LEVEL: 120dB

    THANKS IN ADVANCE SIR!

    Reply
  4. Hilman on April 1, 2020 2:03 PM

    why the sound level on my lcd sceen keeps changing from -3 to 300 in rapid succession. although i didn’t change any of the code that you provide. PLEASE HELP

    Reply
  5. Sai khirod on May 2, 2020 9:46 PM

    Sir,where should i connect the led to indicate high noise when sound level increases

    Reply
  6. ram on June 4, 2021 3:23 PM

    excellent yaar
    plz tell me in detail how to calibrate the sensor to get such value i.e -33

    Reply
  7. Shamoon on October 5, 2021 1:12 PM

    Bro, can i use ATMEGA168p instead of Atmega328? Is there any change in code require?

    Reply

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • IoT Based Drinking Water Quality Monitoring with ESP32
    IoT Based Drinking Water Quality Monitoring with ESP32
  • LD2410 Sensor with ESP32 - Human Presence Detection
    LD2410 Sensor with ESP32 - Human Presence Detection
  • ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
    ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
  • DIY IoT Water pH Meter using pH Sensor & ESP32
    DIY IoT Water pH Meter using pH Sensor & ESP32
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • How to use Modbus RTU with ESP32 to read Sensor Data
    How to use Modbus RTU with ESP32 to read Sensor Data
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.