The problem
Noise levels matter in real places — study rooms, workshops, factories and hostels all have noise limits, yet checking them usually means holding up a phone app for a few seconds and writing the number down by hand. That gives no history, no proof of a pattern, and no automatic warning when a limit is crossed. This project builds a small IoT noise level monitor that works continuously on its own: an ESP32 dev board samples a MEMS microphone module, converts the RMS of one-second audio windows into an approximate dB SPL value, shows the live reading on an OLED display, and appends timestamped entries to a CSV log on an SD card. One or two dB thresholds can be configured (for example 85 dB, the common industrial action level); when the level stays above a threshold for a few seconds, the device sounds a buzzer, lights an alert LED and sends a Telegram message with the level and timestamp. A serial-menu calibration routine lets the buyer map raw readings to dB SPL against a reference source during setup, and all of this is wired as an honest breadboard prototype, not a product mockup.
I2S digital MEMS microphone streaming audio samples to the ESP32.
Follow the working sequence
How it works
- The INMP441 MEMS microphone streams digital audio samples to the ESP32 over I2S at approximately 16 kHz (an electret + MAX4466 preamp feeding the ADC is an alternative documented in the report).
- The firmware collects one second of samples, computes the RMS amplitude, and converts it to an approximate dB SPL value using the calibration offset set during setup.
- The current dB reading is drawn on the SSD1306 OLED about once per second, alongside a simple level bar and a flag showing whether any threshold is currently crossed.
- Each reading is appended to a CSV log on the microSD card with a timestamp from the DS3231 RTC or NTP, giving a continuous noise history for later analysis.
- If the reading stays above a configured threshold for the dwell time (default about 5 seconds, configurable), the buzzer sounds, the alert LED lights, and a Telegram message is sent with the level and timestamp.
- A serial-menu configuration mode lets the buyer set thresholds, Wi-Fi credentials, the Telegram bot token and chat ID, and re-run the dB calibration against a reference source.
Tech stack:
- ESP32 dev board, Arduino IDE (C++)
- INMP441 I2S digital MEMS microphone module
- SSD1306 0.96-inch OLED display (I2C)
- MicroSD card module (SPI) + DS3231 RTC
- Telegram Bot API for remote alerts
- Solderless breadboard build with jumper wires
| Parameter | Value |
|---|---|
| Microphone | INMP441 I2S digital MEMS; datasheet typical sensitivity −26 dBFS at 94 dB SPL, 1 kHz |
| Sampling | Approximately 16 kHz, RMS over ~1 s windows (design target) |
| Display | 0.96-inch SSD1306 OLED, refresh ~1 Hz (design target) |
| Logging | CSV to microSD with RTC/NTP timestamp (design target) |
| Alerts | Buzzer + LED + Telegram after ~5 s dwell above threshold (configurable) |
| Usable range | Approximately 30–120 dB SPL window (design target, calibration-dependent) |
| dB accuracy | Design target only; calibrated by the buyer against a reference — no measured accuracy claimed |
| Power | 5 V USB; approximately 150–250 mA active draw (expected) |
Project features
- [Live dB readout on OLED] A 0.96-inch SSD1306 display shows the current dB SPL level refreshed roughly every second, with a simple level bar and a flag indicating whether a threshold is currently crossed.
- [Timestamped dB logging] Every reading is appended to a CSV file on a microSD card with date and time from a DS3231 RTC (or NTP over Wi-Fi), suitable for building 24-hour noise profiles for analysis.
- [Threshold alerts] One or two dB thresholds can be set; if the level stays above a threshold for a configurable dwell time (default about 5 seconds), the buzzer sounds, the alert LED lights, and a Telegram message is sent with the level and timestamp.
- [MEMS microphone front-end] An INMP441 I2S digital MEMS module (datasheet typical sensitivity −26 dBFS at 94 dB SPL, 1 kHz) feeds clean digital samples to the ESP32; an electret + MAX4466 preamp alternative is documented in the report.
- [RMS-based dB computation] Firmware samples audio at roughly 16 kHz, computes the RMS amplitude over one-second windows, and converts it to an approximate dB value using the buyer-run calibration offset.
- [Buyer-run calibration routine] A serial-menu procedure maps the raw reading to dB SPL against a reference source, with step-by-step instructions in the report so the buyer can genuinely explain and reproduce it.
- [Telegram alerts over Wi-Fi] Alerts use the ESP32's Wi-Fi and the Telegram Bot API — no SIM card, SMS module or paid service is required.
What is included
- Assembled ESP32 + MEMS microphone + OLED + SD card prototype on breadboard (built to order)
- Firmware source code as an Arduino IDE project with serial configuration menu
- Sample CSV log files showing the log format
- Wiring diagram and step-by-step calibration procedure
- Project report PDF (background, dB/RMS theory, methodology, calibration procedure)
- PPT presentation for final review
- Viva Q&A preparation document (microphones, dB scale, RMS, I2S, ESP32 peripherals)
Limitations & prerequisites
- dB values are approximate: the buyer calibrates the device against a reference source during setup, and no measured accuracy figure is claimed.
- The MEMS module's frequency response is not laboratory-flat, so tone-heavy or ultrasonic content may read slightly off compared to a calibrated sound level meter.
- Firmware uses a simplified broadband RMS-to-dB conversion without a full A-weighting filter — readings approximate A-weighted SPL for typical broadband noise and this is stated honestly in the report.
- Telegram alerts need 2.4 GHz Wi-Fi at the install point; the buzzer and LED alerts work fully offline.
- Phone apps and low-cost handheld meters are themselves only ±2–3 dB at best, which sets the practical floor for the buyer's calibration reference.
- The breadboard prototype is a demonstration build, not an enclosure-rated field device — continuous deployment needs a case and a regulated supply.
Frequently Asked Questions
How is the dB value computed?
The firmware samples the microphone at roughly 16 kHz, computes the RMS amplitude over one-second windows, and converts it to an approximate dB SPL value using a calibration offset the buyer sets against a reference source. The formula and constants are documented in the report.
Which microphone is used?
An INMP441 I2S digital MEMS module, whose datasheet gives a typical sensitivity of −26 dBFS at 94 dB SPL (1 kHz). An electret + MAX4466 preamp version feeding the ESP32 ADC is documented as an alternative.
How accurate is the dB reading?
No measured accuracy is claimed — the device is calibrated by the buyer against a reference source, so the practical accuracy follows the reference used. It is an educational monitoring build, not a laboratory sound level meter.
Can it record noise for a whole day?
Yes — every reading is appended with a timestamp to a CSV file on the microSD card, so a full day or more of dB history can be analyzed on a computer afterwards.
What happens when the threshold is crossed?
The buzzer sounds and the alert LED lights immediately, and a Telegram message is sent with the measured level and timestamp. Thresholds and the dwell time are configurable through the serial menu.
Is this project suitable for a final-year project?
Yes — for Electronics, Electrical and IoT & Embedded programs. It covers microphones and signal sampling, dB/RMS theory, ESP32 peripherals (I2S, I2C, SPI), SD logging and IoT alerts, all demonstrable in a viva. Suitable for B.E./B.Tech final-year projects in Electronics, Electrical, and IoT & Embedded.
Components & software requirements
- ESP32 dev board, Arduino IDE (C++)
- INMP441 I2S digital MEMS microphone module
- SSD1306 0.96-inch OLED display (I2C)
- MicroSD card module (SPI) + DS3231 RTC
- Telegram Bot API for remote alerts
- Solderless breadboard build with jumper wires
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.