Browse categories

Sound Detection Sensor Board FC-04 for Arduino

Sound Detection Sensor Board FC-04 for Arduino
Asking price: €4
Make an offer:
Seller:
EstMX
Feedback:
Location:
323 more ads from this seller
Entered/Renewed:
3 years ago
Ad Views:
5,592
Viewing 1 of 1
Sound Detection Sensor Board FC-04 for Arduino

Description

Condition: New

Sound detection sensor FC-04
Condition: brand NEW
Size: approx. 32mm x 16mm
Working voltage: DC 4-6V
Signal output indication
Single channel signal output
Main chip: LM393
Can be used for Acoustic control light


Code:
/*
This is the code to make a LED blink with the music.
You have to set the threshold so it' sensible enough to make the led blink.
You connect an LED to PIN13 and the Sound Sensor to Analog Pin 0
*/
int led = 13;
int threshold = 500; //Change This
int volume;

void setup() {
Serial.begin(9600); // For debugging
pinMode(led, OUTPUT);
}

void loop() {
volume = analogRead(A0); // Reads the value from the Analog PIN A0
/*
//Debug mode
Serial.println(volume);
delay(100);
*/
if(volume>=threshold){
digitalWrite(led, HIGH); //Turn ON Led
}
else{
digitalWrite(led, LOW); // Turn OFF Led
}

}

Shipping: CollectionPost/Courier
Payment: CashPaypalBank transfer
From sellers around the web:
Comments & Offers
horizon2011 5 months ago
How do you accept payment

More Similar Ads

€3.00
€6.00
€5.00
€5.00
€2.00
€4.00
€2.00
€3.00
€5.00
€5.00
€3.00
€2.00
€6.00
€4.00
€5.00
€2.00
€2.00

See more in our Other Electronics category available today

€110.00
€130.00
€5.00
€60.00
€5.00
€2.00
€20.00
€3.00
€10.00
€15.00
€300.00
€6.00
€50.00
€3.00
€2.00
€5.00
€5.00