Audio Sensor High Sensitivity Arduino Compatible
ARD2-3023
$3.95
QTY | Price |
---|---|
1 | $3.95 |
Description
This Arduino-Compatible High Sensitivity Audio Sensor is equipped with a highly sensitive microphone for sound detection. Offering both digital and analog outputs, the analog pin provides a real-time voltage signal corresponding to microphone input, while the digital pin delivers 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 (Digital Output)
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);
}
}
Test Code (Analog Output)
int sensorPin = A0; // select the input pin for the potentiometer
int ledPin = 13; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
void setup () {
pinMode (ledPin, OUTPUT);
Serial.begin (9600);
}
void loop () {
sensorValue = analogRead (sensorPin);
digitalWrite (ledPin, HIGH);
delay (sensorValue);
digitalWrite (ledPin, LOW);
delay (sensorValue);
Serial.println (sensorValue, DEC);
}
Features
- Detect sound intensity
- Pair with SD Card to create a simple audio recorder
- Digital & analog outputs
- Sensitivity threshold can be adjusted via potentiometer
Specifications
Sensitivity
Adjustable via trimpot
Operating Voltage
0-5.0VDC (analog)
Supply Voltage
5.0VDC
Additional Features
Digital Threshold Comparator
Colour
Red
Material
PCB
Dimensions
Length
43 mm
Width
16 mm
Height
13 mm
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.