Hello everyone. I am pretty new to Arduino and electronics in general, so I hope you can help me out with my problem.
I am trying to amplify the analog signal coming from the KY-038 sound sensor which currently ranges from 138 bits (complete silence) to 172 (music at a proper volume for my project). Producing louder sounds would make it go up to around 250 but for my project I would not need loud sounds but just normal music playing at an acceptable level.
To amplify the dynamic range I thought of using and LM324AM amplifier in a non-inverting configuration with a gain of 11 (feedback resistance of 10KOhm and grounding resistance of 1KOhm). I am pretty sure I have wired the connections correctly by checking the datasheet, but when I use the OpAmp my output gets to 757 and it oscillates randomly sometimes to 756 and 758 but whatever sound I play or make it does not change more than that. So I would say it remains stable.
Any guess on why this could be happening?
Could it be that the LM324AM is a quadruple OpAmp and I am using only one without wiring any of the other pins that I don't need? If so, how should I connect those pins so that they do not interfere with my signal?
Thank you for your help.