Price:
US$2.76
Free Shipping
3pcs KY-037 4pin Voice Sound Detection Sensor Module Microphone Transmitter Smart Robot Car for Arduino
Compatibility
To confirm that this part fits your vehicle, please enter your vehicle's details below.
-
Year:
Select
-
Make:
Select
-
Model:
Select
-
Submodel:
Select
-
Trim:
Select
-
Engine:
Select
- Clear All
This part is compatible with 0 vehicle(s).
Show all compatible vehicles
Show all compatible vehicles
This part is compatible with 1 vehicle(s) matching
This part is not compatible with
Recent searches
- Year
- Make
- Model
- Submodel
- Trim
- Engine
Features:
– For sound detection module has two outputs:
– There is a mounting screw hole 3mm
– The use 5v DC power supply
– With analog output
– High sensitive microphone and high sensitivity
– A power indicator light
– The comparator output is light
Specifications:
int Led=13;//define LED interface
int buttonpin=3 //Define D0 Sensor Interface
int val;//define numeric variables val
void setup()
{pinMode(Led,OUTPUT);// Define LED as output interface
pinMode(buttonpin,INPUT);//Define D0 Sensor as output Interface }
void loop()
{val=digitalRead(buttonpin);//digital interface will be assigned a value of 3 to read val
if(val==HIGH)//When the light sensor detects a signal is interrupted, LED flashes
{digitalWrite(Led,HIGH)}
else
{digital Write(Led,LOW)}}
int sensorPin = A5; // 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); }
Package Included:
3 x KY-037 Voice Sound Detection Sensor Module