KY-037 High Sensitivity Sound Microphone Sensor Detection

KY-037 High Sensitivity Sound Microphone Sensor Detection
KY-037 High Sensitivity Sound Microphone Sensor DetectionKY-037 High Sensitivity Sound Microphone Sensor Detection
รหัสสินค้า RB-0073
หมวดหมู่ เซ็นเซอร์เสียง (Sound)
ราคาปกติ 90.00 บาท
ลดเหลือ 50.00 บาท
สถานะสินค้า พร้อมส่ง
จำนวน
ชิ้น
หยิบลงตะกร้า
บัตรประชาชน
บุ๊คแบ๊งค์
คุ้มครองโดย LnwPay

KY-037 High Sensitivity Sound Microphone Sensor Detection Module For Arduino

  • 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



  • Digital Output:

    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
    {
    digitalWrite(Led,LOW);
    }
    }



  • 2.Analog Output:

    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); 
    }

 

ตัวอย่างการใช้งาน

 





โค้ด



const int ledpin = 13; // ledpin and soundpin are not changed throughout the process

const int soundpin = A2;

const int threshold = 200; // sets threshold value for sound sensor

void setup() {

  Serial.begin(9600);

  pinMode(ledpin, OUTPUT);

  pinMode(soundpin, INPUT);

}

void loop() {

  int soundsens = analogRead(soundpin); // reads analog data from sound sensor

  if (soundsens >= threshold) {

    digitalWrite(ledpin, HIGH); //turns led on

    delay(1000);

  }

  else {

    digitalWrite(ledpin, LOW);

  }

 

}

วิธีการชำระเงิน

ธนาคารไทยพาณิชย์ จำกัด (มหาชน) สาขาฟิวเจอร์ พาร์ค รังสิต 2 ออมทรัพย์
บมจ. ธนาคารกสิกรไทย สาขาฟิวเจอร์ พาร์ค รังสิต ออมทรัพย์

หมวดหมู่สินค้า

ระบบสมาชิก

สถิติร้านค้า

หน้าที่เข้าชม2,929,764 ครั้ง
ผู้ชมทั้งหมด1,507,981 ครั้ง
เปิดร้าน17 ก.ย. 2559
ร้านค้าอัพเดท11 ต.ค. 2568

ติดต่อเรา

รายการสั่งซื้อของฉัน
เข้าสู่ระบบด้วย
เข้าสู่ระบบ
สมัครสมาชิก

ยังไม่มีบัญชีเทพ สร้างบัญชีใหม่ ไม่มีค่าใช้จ่าย
สมัครสมาชิก (ฟรี)
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านโรบอทสยาม อุปกรณ์หุ่นยนต์ Arduino
โรบอทสยาม อุปกรณ์หุ่นยนต์ Arduino
จําหน่าย อุปกรณ์หุ่นยนต์ Arduino , ESP8266, ESP32 , STM32 , micro:bit , Paspberry Pi รับประกอบหุ่นยนต์ ชุดคิทหุ่นยนต์ ตัวอย่างโปรเจค IoT (Internet of Things) อินเทอร์เน็ตของสรรพสิ่ง
เบอร์โทร : 095-226-2116
อีเมล : robotsiam16@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม