I am testing the loudness sound sensor.
I have connected the grove loudness sensor to the A1 port.
Here is the code I am using:
int loudness;
void setup()
{
Serial.begin(9600);
}
void loop()
{
loudness = analogRead(1);
Serial.println(loudness);
delay(200);
}
But the sensor seems not sensitive enough. There was not big change when I played music.
I saw that this sensor is adjustable with its output gain. Does anyone know how to adjust it? I adjusted the potentiometer, but the output seems not change too much. I am not sure if the way I tested it was wrong. If anyone could provide information about the issue, that would be great!
Additional, what is the unit of the output? I can’t find document with that. If I wanna use dB as unit, how can I config it?
I do not know of any method other than adjusting the blue Potentiometer.
Hi there,
So here is the data sheet on the OP amp used , You may try a different powering method and perhaps adjust some of the input values, Also a bipolar power option is explorable. I would look to a 5 V supply first if using 3.3v look it over as there are ways to increase the sensitivity without increasing noise
HTH
GL PJ
make sure the caps are of a high ESR quality if doing this.
Hi Lin-Xiaowen,
With little information, not much good advice can be expected.
At the very least, please explain the following two points.
What kind of board are you using?
What exactly do you mean by “not sensitive enough”?
For example, “I was expecting a value of 1000 or more, but it is only about 50 and hardly changes at all”.