Hi,
I am searching over internet and this forum and I can't find how to adjust this sensor? I found only this KY-037 microphone sensitivity - Sensors - Arduino Forum but no any answer.
I only need to adjust sensor so it can detect claps over room (4-5 meters). I tried analog and digital and adjust on-board potentiometer - nothing. I must clap very load and very near sensor to detect, what is point of it?
Any help? Thank you!
The potentiometer only adjusts the level that the digital output comes on- it doesnt affect the sensitivity of the analog output. To adjust make a constant sound and gradually turn pot up or down until the digital output starts or stops being triggered.
Info at TkkrLab
The example they give for analog mode flashes the LED faster for loud sounds and slower for quiet sounds- otherwise you can print out the analog value and see if it changes when sound is present.
Thank you! But, I'm beginner, can you tell me how to connect that sensor to arduino and adjust? What code to use and how to connect each pin to arduino? Thanks!
The KY-038 PCB assy uses the LM393 dual comparitor IC. It is NOT a linear type circuit and quite frankly you are wasting your time trying to adjust the sensitivity. The only good thing is the price of this unit but then you get what you pay for. For a little bit more you can actually get something that works! I spent an hour drawing out the circuit and could not believe how bad it was. I guess they are using this same PCB for other switching type transducers and just stuck an electret microphone on to boost their sales. Conclusion, don't buy or use this for audio applications unless you want to just clap your hands to make something switch.