ESP32 D Bmeter With MQTT
An ESP32 display project involving Microphone.
Parts and sourceBefore you start
Check the exact Microphone configuration against the upstream wiring or parts list.
Upstream README
ESP32-dBmeter-with-MQTT
This dB level meter sends the result by MQTT
Thanks to Ivan Kostoski for the base of this project##
https://github.com/ikostoski/esp32-i2s-slm
Parts used in this project
Board: DOIT ESP32 DEVKIT V1 Available at Banggood
Microphone: MH-ET LIVE Omnidirectional Microphone Module I2S Interface INMP441 MEMS High Precision Low Power Ultra small volume for ESP32 Available at Aliexpress
Wiring
| From | To |
|---|---|
| ESP Module | INMP441 |
| 3V3 | -> VDD |
| GND | -> GND |
| D18 | -> WS |
| D19 | -> SD |
| D23 | -> SCK |
| GND | -> L/R |
How to start
- Use Visual Basic Studio
- add PlatformIO
- start a new project
- Choose a name
- Platform DOIT ESP32 DEVKIT 1
- When project is made copy files to src folder
- Copy the platformio.ini file to \ (to have proper libraries installed)
- Changes lines 20 to 25 in main.cpp according your network and MQTT
- Compile and upload.
Project Photo
Display type: The set up



MIT License
Copyright (c) 2020 SpoturDeal | Charley
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.