An all-in-one module for easily sensing sound!
In stock, ships same business day if ordered before 2PM
Delivered by Tue, 18th of Mar
Quantity Discounts:
Featuring one analog and one digital threshold output this microphone breakout is really handy to have in your parts library.
The onboard potentiometer adjusts the threshold (note this is a 20-turn potentiometer, it can take a few turns to reach your desired sensitivity).
Pin function | Board silkscreen |
Microphone Analog output | AO |
Ground | G |
Power input |
+ |
Audio threshold | DO |
from machine import Pin, ADC from time import sleep # Initialization of ADC0 adc = ADC(0) #AO on the sound module to GPIO26
# Initialization of GPIO18 as input digital = Pin(18,Pin.IN, Pin.PULL_UP) #DO on the module to GPIO18 print("Sound Input Module test") # Endless loop for reading out the ADC while True: raw_value = adc.read_u16() # Conversion from analog value to voltage Volt = round(raw_value* 3.3 / 65536, 2) digital_value = digital.value() # Serial output of the analog value and the calculated voltage print("Analog voltage value: " + str(Volt) + " V\t Threshold value: ", end="") # Query whether the digital value has changed with serial output if digital_value == 1: print("reached") else: print("not reached") print("----------------------------------------") sleep(2)
Exact shipping can be calculated on the view cart page (no login required).
Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).
We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):
Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.
Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.
International Orders - the following rates are for New Zealand and will vary for other countries:
If you order lots of gear, the postage amount will increase based on the weight of your order.
Our physical address (here's a PDF which includes other key business details):
Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia
Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.
Have a product question? We're here to help!
Makers love reviews as much as you do, please follow this link to review the products you have purchased.
Product Comments