
รหัสสินค้า | cm-0033 |
หมวดหมู่ | เซนเซอร์วัดสภาพแวดล้อม (Ambient sensor) |
ราคาปกติ | |
ลดเหลือ | 20.00 บาท |
สถานะสินค้า | พร้อมส่ง |
แก้ไขล่าสุด | 8 ก.พ. 2561 |
ความพึงพอใจ | ยังไม่มีความคิดเห็น |
จำนวน | ชิ้น |
IR Flame Detector Module (ตรวจจับเปลวไฟด้วย Infrared)
Sensor ตัวนี้ตรวจจับเปลวไฟโดยใช้ Sensor infrared แสดงผลการทำงานได้ทั้งในรูป Digital (ให้ค่า 0 หรือ 1 เพื่อแสดงค่าที่ตรวจจับได้) และ Analog (ให้ค่าสัญญาณเพื่อใช้ประมวลผลต่อ) การแสดงค่าเป็น Digital สามารถปรับค่า Threshold ได้โดยใช้ Potentiometer ที่มีให้บนบอร์ด
Features:
Product description
Purpose:
- Various flame, fire detection
Applications:
Flame sensor most sensitive to ordinary light is also a reaction, generally used as fire alarm and other purposes. a small panel output interface can be directly connected with the microcontroller IO port. The sensor and the flame must maintain a certain distance (distance 80cm), so as not to damage the sensor. Analog output mode and the AD conversion can be utilzed to get better accuracy.
วีดีโอแนะนำอุปกรณ์
โค้ดตัวอย่างการใช้โมดูล IR Flame detector module กับบอร์ด Arduino
// lowest and highest sensor readings:
const int sensorMin = 0; // sensor minimum
const int sensorMax = 1024; // sensor maximum
void setup() {
// initialize serial communication @ 9600 baud:
Serial.begin(9600);
}
void loop() {
// read the sensor on analog A0:
int sensorReading = analogRead(A0);
// map the sensor range (four options):
// ex: 'long int map(long int, long int, long int, long int, long int)'
int range = map(sensorReading, sensorMin, sensorMax, 0, 3);
// range value:
switch (range) {
case 0: // A fire closer than 1.5 feet away.
Serial.println("** Close Fire **");
break;
case 1: // A fire between 1-3 feet away.
Serial.println("** Distant Fire **");
break;
case 2: // No fire detected.
Serial.println("No Fire");
break;
}
delay(1); // delay between reads
}
หน้าที่เข้าชม | 167,929 ครั้ง |
ผู้ชมทั้งหมด | 80,523 ครั้ง |
เปิดร้าน | 2 ก.ย. 2559 |
ร้านค้าอัพเดท | 20 เม.ย. 2561 |