I’m pretty new to this and I’m having problems reading the values of the microphone sound sensor module (WPSE309). I connect it to a Adafruit feather 32u4 BLE and when I try to read the values on a analog port, it only shows values like 26, 27, 28. Even when I play loud music with my phone next to it.
When I try to read the values on a digital port, it shows values like 1.
The Adafruit feather gives 3.3V.
I want to make a decibel meter to check how loudly my chickens are …
what am I doing wrong and how should I do it instead?
This is my first try-out with anything like this.
To make a decibel meter via WPSE309 module, you need to connect the Analog output A0 of WPSE309 to Analog input A0 of Adafruit feather microcontroller board.
To get more of better reading, you need to change the sensor sensitivity by rotating the potentiometer.
Then in the code you need to convert the ADC values to DB, via conversion formulla (function).
adc= analogRead(MIC); //Read the ADC value from amplifer
dB = (adc+83.2073) / 11.003; //Convert ADC value to dB using Regression values