ESP32 Sound Detection System Using Microphone Sensor, LCD & LED
by mansiramteke139 in Circuits > Sensors
283 Views, 0 Favorites, 0 Comments
ESP32 Sound Detection System Using Microphone Sensor, LCD & LED
In this project, I build a sound detection system using ESP32 and sound sensor module. The sound sensor contains a small microphone that detects sound waves from the environment.
When a loud sound as a clap or noise is detected, the sensor sends a signal to the ESP32. The ESP32 then display a message on the 16*2 LCD Display and turns on an LED indicator. When there is no sound, the LCD shows that the area is quiet.
This project helps to learn about microphone sensors, signa; detection and microcontroller interfacing.
Supplies
Components lists:
- ESP32 DEV Module
- Sound Sensor Module
- 16*2 LCD Display
- I2C Module
- Breadboard
- Jumper wires
- USB Cable
About Sound Sensor
The Sound Sensor:
- A sound sensor is an electronics module that detects sound or noise levels. it works using a microphone that converts sound waves into electrical signals.
- The sensor processes these signals and sends a digital or analog output to the microcontroller depending on the sound intensity.
- Sound sensor are widely used in clap switches, noise monitoring system, security alarms, and smart home automation.
Connections
Sound Sensor Connections:
Sound Sensor - ESP32
VCC - 3.3V
GND - GND
DO - GPIO 25
LCD Connections:
LCD - ESP32
VCC - 5V
GND - GND
SDA - GPIO 13
SCL - GPIO 14
LED Connection:
LED(+) - GPIO 26
LED(-) - GND
Working
The sound sensor continuously listens to the surrounding environment using its built-in microphone. When sound waves such as a clap or loud noise the sensor, they are converted into electrical into electrical signals.
if the sound intensity crosses a certain threshold level, the sensor send high signal to the ESP32. The ESP32 display sound Detected on the LCD and turns on the LED.
If no sound is detected , the sensor sends a low signals, and the ESP32 display No Sound on the LCD while the LED remains off.
CODE
Output
Conclusion
The projects shows how to use a sound sensor with ESP32 to detect noise in the environment. By adding an LCD display and LED indicator, the system provides a simple and effective sound detection and alert mechanism.
(Move potentiometer for sensitivity)