I’ve purchased a SparkFun Sound Detector (SEN-12642) and have it hooked up on a breadboard connected to a Raspberry Pi, with an MCP3008 ADC in circuit. I’m not an electrical or acoustical engineer, and need some help understanding the outputs from the AUDIO and ENVELOPE pins. The Java code I’m running reacts to the GATE pin going high and then reads both the AUDIO and ENVELOPE pins once per second until GATE goes low. Actually, I’m reading CH0 and CH1 on the MCP3008, which are the analog-to-digital outputs from AUDIO and ENVELOPE.
What I’m having difficulty understanding is what these values mean in terms of decibels. For example, with a straw I blow air across the microphone on the SparkFun board, and I see a stream of values from GATE and ENVELOPE. These values look like AUDIO=819.0, ENVELOPE=71.0, or AUDIO=1023.0, ENVELOPE=496.0, and so on. Could you provide any guidance on how to interpret these voltage values, and convert them to decibels? What is the full range of these values?
Thanks