The Qwiic Sound Trigger is based on the VM1010 from Vesper Technologies and the TI PCA9536 GPIO expander.
The VM1010 is a clever little device which can be placed into a very low power "Wake On Sound" mode. When it detects a sound, it wakes up and pulls its TRIG (DOUT) pin high. The VM1010 can then be placed into "Normal" mode by pulling the MODE pin low; it then functions as a regular microphone. The analog microphone signal is available on the AUDIO (VOUT) pin. All of this happens really quickly, within 50 microseconds (much faster than a capacitive MEMS microphone), so you don't miss the start of the audio signal.
The noise threshold required to wake the VM1010 can be programmed via the resistance between pins GA1 and GA2. By default, the 20K resistor on the breakout sets the noise threshold to close to the minimum (most sensitive) setting. You can increase the threshold to maximum (least sensitive) by cutting the THRESH jumper. You can set it mid-way by adding your own resistor between breakout pins GA1 and GA2.
If you are using the VM1010 purely as a sound trigger, you need to reset it after each event by: pushing the MODE button; pulling the MODE breakout pin low; or using the Qwiic bus to instruct the PCA9536 to pull the MODE signal low (the VM1010 MODE signal is connected to GPIO0).
You can use the TRIG (DOUT) breakout pin to generate an interrupt on your microcontroller. Or you can read (poll) its state via the PCA9536 (the TRIG (DOUT) signal is connected to GPIO1).
There are two LEDs: one to indicate if the breakout is powered; and a second to show when a sound trigger has taken place. You can disable either or both LEDs to save power by cutting the LED jumpers on the back of the breakout.
As usual, the breakout includes I2C pull-up resistors. You can disable those if you need to by cutting the I2C jumpers.
Our GitHub Repo contains two example sketches for the Arduino IDE:
The Repo also contains Python code, described in our tutorials, which you can use to calculate the location of a sound in 1D or 2D!
The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.
No reviews yet.