Skip to main content

Menu

Audio Sensor Arduino Compatible

ARD2-2238
Arduino compatible Audio Sensor

$4.95

QTYPrice
1 $4.95

Description

This sensor features a microphone for detecting sound. It features both a digital and an analog output. The analog pin outputs a real-time voltage signal of the microphone. The digital pin gives either a high or low signal indicating when sound intensity has reached a certain threshold. The sensitivity threshold can be adjusted via the potentiometer on the sensor.

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.

Audio Sensor Arduino Compatible

ARD2-2238

$4.95

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