Skip to main content

Menu

Audio Sensor Arduino Compatible

ARD2-2238
Arduino compatible Audio Sensor

$5.95

QTY Price
1 $5.95

Description

This Arduino-Compatible Audio Sensor is equipped with a microphone for sound detection. It offers both digital and analog outputs. The analog pin delivers a real-time voltage signal corresponding to the microphone's input. Meanwhile, the digital pin provides a high or low signal based on preset sound intensity thresholds. Users can adjust sensitivity thresholds using the sensor's built-in potentiometer.

Test Code

int Led = 13; // define LED Interface
int buttonpin = 3; // define D0 Sensor Interface
int val = 0; // define numeric variables val

void setup () {
pinMode (Led, OUTPUT); // define LED as output interface
pinMode (buttonpin, INPUT); // output interface D0 is defined sensor
}

void loop () {
val = digitalRead(buttonpin); //digital interface will be assigned a value of pin 3 to read val

// When the sound detection module detects a signal, LED flashes
if (val == HIGH) {
digitalWrite (Led, HIGH);
}
else {
digitalWrite (Led, LOW);
}
}

Features

  • Detect sound intensity
  • Digital & analog outputs
  • Sensitivity threshold can be adjusted via potentiometer

Specifications

Colour

Red

Material

PCB

Resources

You Might Also Like

All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.

We use cookies to ensure you have the best experience on our site. If you continue to use this site you consent to the use of these cookies. OK

Find out more in our Privacy Policy