Differently from what it has been said in an answer, the silence value is around 0 and not 512.
This means that a sinusoidal waveform (for example, a sinusoidal waveform of 1 kHz) has an average value of 0, which means that negative values are sampled as 0. This fact avoid me to compute the power of a signal.Hi! I connected this module with my arduino, but the serial-monitor deliveres at silence values like this: 4,16,11,58,107,0,4,33,38. Values at loud music are not very different. Tried to adjust the gain, but it didnÂ´t help... Any suggestions? thx
The sound circuit uses a LM386 amplifier. The amplifier biases the output to half the max output voltage which is 2.5 The sound circuit will always put out 2.5 volts during silence which is around 512 on the analog read. Check out the following link http://lowvoltage.wordpress.com/2011/04 ... amplifier/
Tuning the potentiometer only change the gain, but not the offset.
Is there any way to fix the problem?