

| รหัสสินค้า | M723 |
| หมวดหมู่ | MIC Buzeer ลำโพง |
| ราคา | 25.00 บาท |
| น้ำหนัก | 10 กรัม |
| ลงสินค้า | 23 ก.ค. 2559 |
| อัพเดทล่าสุด | 18 ก.ย. 2567 |
High Sensitivity Sound Microphone Sensor Detection Module For AVR PIC KY-037
Description:
For sound detection module has two outputs:
1. AO, analog output, real-time output voltage signal of the microphone
2. DO, when the sound intensity reaches a certain threshold, the output high and low signal
Module features:
1. there is a mounting screw hole 3mm
2. the use 5v DC power supply
3. with analog output
4. there are threshold level output flip
5. high sensitive microphone and high sensitivity.
6. a power indicator light
7. the comparator output is light
/Henry's Bench //Arduino Sound Detection Sensor Module int soundDetectedPin = 10; // Use Pin 10 as our Input int soundDetectedVal = HIGH; // This is where we record our Sound Measurement boolean bAlarm = false; unsigned long lastSoundDetectTime; // Record the time that we measured a sound int soundAlarmTime = 500; // Number of milli seconds to keep the sound alarm high void setup () { Serial.begin(9600); pinMode (soundDetectedPin, INPUT) ; // input from the Sound Detection Module } void loop () { soundDetectedVal = digitalRead (soundDetectedPin) ; // read the sound alarm time if (soundDetectedVal == LOW) // If we hear a sound { lastSoundDetectTime = millis(); // record the time of the sound alarm // The following is so you don't scroll on the output screen if (!bAlarm){ Serial.println("LOUD, LOUD"); bAlarm = true; } } else { if( (millis()-lastSoundDetectTime) > soundAlarmTime && bAlarm){ Serial.println("quiet"); bAlarm = false; } } }
| หน้าที่เข้าชม | 5,184,012 ครั้ง |
| ผู้ชมทั้งหมด | 1,583,352 ครั้ง |
| ร้านค้าอัพเดท | 2 พ.ย. 2568 |