เมนู
สินค้าในตระกร้า

ขาย โมดูล ตรวจจับเสียง จับระดับความดังของเสียง ราคา 40.00 บาท ในไทย

ขาย โมดูล ตรวจจับเสียง จับระดับความดังของเสียง ราคา 40.00 บาท ในไทย

รายละเอียด

โมดูล ตรวจจับเสียง จับระดับความดังของเสียง

โมดูลดักจับเสียง KY-037

รายละเอียด:

 

 

 

สำหรับโมดูลตรวจจับเสียงมีเอาท์พุท:

 

1. AO, เอาต์พุตอนาล็อก, เวลาสัญญาณแรงดันขาออกของไมโครโฟน

 

2. เมื่อความเข้มของเสียงถึงบางเกณฑ์เอาท์พุทสูงและสัญญาณต่ำ

 

 

 

โมดูลคุณสมบัติ:

 

1. มีสกรูยึดรู 3 มิลลิเมตร

 

2. 5 โวลต์แหล่งจ่ายไฟกระแสตรง

 

3. เอาต์พุตอะนาล็อก

 

4. มีเกณฑ์ระดับเอาต์พุต

 

5. ไมโครโฟนที่มีความไวสูงและมีความไวสูง

 

6. ไฟแสดงสถานะ

 

7. เอาท์พุทเครื่องเปรียบเทียบมีน้ำหนักเบา

 

ตัวอย่างโปรแกรม

 

1. กรณี ใช้ขา DO (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. กรณี ใช้ขา AO (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);

 

}

ขาย โมดูล ตรวจจับเสียง จับระดับความดังของเสียง ราคา 40.00 บาท ในไทย
40.00 บาท
  • จำนวนสินค้า: 30
  • รุ่น: Microphone Sensor KY-037
  • น้ำหนัก: 3.50g
  • SKU: 3233
Product Views: 7622

สินค้าที่เกี่ยวข้อง

Motor Smart Robot Car Chassis /Tracing car box Kit Speed Encoder for Arduino สามารถนำไปประยุกต์ได้หลายแบบ  เช่น เดินตามเส้น สามารถ ใส่ sp..
200.00 บาท
โมดูลส่งข้อความ SMS M590 DIY KIT GSM GPRS 900 1800 MHz Short Message Service SMS module for project for Arduino remote sensing alarm หมายเหตุ ..
120.00 บาท
IP Camera HD 1.0MP Wifi มีเสียง มี Wifi Hotspots ในตัว  มีเสารับ Wifi 2 เสาทำให้รับสัญญานได้ดีขึ้น มีความเสถียรมากขึ้น รุ่นนี้ สามารถ ต่อ..
950.00 บาท
โมดูล วัดความเข้มแสง Lux Sensor TSL2561 replique breitling The TSL2561 Luminosity Sensor Breakout is a sophisticated light sensor which has a flat..
150.00 บาท