Skip to content

Measure volume of noise using ESP32 and Adafruit I2S Microphone (SPH0645)

Notifications You must be signed in to change notification settings

RoSchmi/Esp32_I2S_SPH0645_Microphone_Volume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Esp32_I2S_SPH0645_Microphone_Volume

Note: There is a repository with a newer version of a sound volume dependant on/off switcher (see below)

ESP32 I2S VU Meter Example: 'Esp32_I2S_SPH0645_Microphone_Volume'

Used Board: Adafruit HUZZAH32 – ESP32 Feather Board (-https://www.adafruit.com/product/3405)

Gets the volume of surrounding noise using Adafruit I2S Microphone (SPH0645)

Gallery

This example is based on the code of: https://www.esp32.com/viewtopic.php?t=4997

the "VU Meter Demo" Example in the Adafruit I2S MEMS Breakout board tutorial (https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/arduino-wiring-and-test)

and https://github.com/maspetsberger/esp32-i2s-mems

Since I had some problems getting reasonable volume readings with the code of maspetsberger I included some tricks to make the SPH0645 work properly on the ESP32 which are explained in this link

https://www.esp32.com/viewtopic.php?t=4997

and this video

https://www.youtube.com/watch?v=3g7l5bm7fZ8

For the implementation of my sound volume dependant on/off switcher I integrated additional support for the INMP441 microphone and ended with this driver:

https://github.com/RoSchmi/Esp32_I2S_Microphone_Vol_Switcher

This driver should be used in future applications

About

Measure volume of noise using ESP32 and Adafruit I2S Microphone (SPH0645)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages