พร้อมส่ง-KY-037 High Sound Sensitivity Microphone Detection Module
พร้อมส่ง-ky-037-high-sound-sensitivity-microphone-detection-module
ข้อมูลสินค้า
ราคา
35.00 บาท
ขายแล้ว
40 ชิ้น
ร้านค้า
พร้อมส่ง-KY-037 High Sound Sensitivity Microphone Detection Module
***** รับประกันสินค้า 30 วัน *****

For the audio module two outputs:
1. AO, Analog, real-time output voltage microphone signal output.
2. DO, when the sound intensity reaches a certain threshold, the output is high and the signal is low.

Feature:
1. There is a screw fixing screw 3 mm.
2. Use a 5V DC power supply.
3. Analog & Digital Output
4. Flip output level threshold
5. High sensitivity microphone.
6. Indicator light
7. Output comparator light

1. Digital Output:
Int LED = 13; // define interface LED
int buttonpin = 3 // define D0 sensor interface
Int Val; // set the number variable Val

void setup () {
PinMode(LED, OUTPUT); // set LED as output
PinMode(buttonpin, input);// define D0 sensor output
}

void loop () {
val = digitalRead(buttonpin);// digital interface sets value3 read val
if (Val = =) { // When sensor detects A signal interrupt, LED flashes.
DigitalWrite(LED)
}
else
{
DigitalWrite(LED)
}
}

2. Analog Output:
Int sensorPin = A5; // select the input Pin for the potentiometer
int ledPin = 13; // select a 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);
}
คำที่เกี่ยวข้อง
037hgbf 037b11m-037ky-037พร้อมส่งแว่นตาพร้อมส่งnct พร้อมส่งเคสโทรศัพท์ พร้อมส่งฮั่นฝู พร้อมส่งสร้อยพร้อมส่ง

สินค้าใกล้เคียง