SGCO08 เซนเซอร์ก๊าซ ควัน แก๊สมีเทน Gas Sensors LPG, Smoke, CO Gas Sensor MQ-2 Smoke sensor

฿55.00

มีสินค้า

รหัสสินค้า: SGCO08 หมวดหมู่: , ป้ายกำกับ: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

คำอธิบาย

เซนเซอร์ก๊าซ ควัน แก๊สมีเทน Gas Sensors LPG, Smoke, CO Gas Sensor MQ-2

  • Sensor Type Semiconductor
  • Standard Encapsulation Bakelite (Black Bakelite)
  • Detection Gas Combustible gas and smoke
  • Concentration 300 – 10000ppm ( Combustible gas)

Sensitivity Characteristics, Influence of Temperature/Humidity

PinOut

  1. VCC positive power supply (5V)
  2. GND power supply is negative
  3. DO TTL switching signal output
  4. DO output TTL digital 0 and 1 ( 0.1 – 5V)
  5. AO Analog signal output  AO output 0.1 – 0.3 V ( relative to pollution ) , the maximum concentration of a voltage of about 4V

Application

  • Domestic gas leakage detector
  • Industrial Combustible gas detector
  • Portable gas detector

Special note

  • หลังจากจ่ายไฟเข้าเซนเซอร์แล้ว ต้องอุ่นเครื่องประมาณ 20 วินาที ข้อมูลที่วัดได้จึงจะมีเสถียรภาพ เซนเซอร์มีความร้อนเป็นปรากฏการณ์ปกติ เนื่องจากลวดความร้อนภายใน ถ้าไม่ร้อนจึงจะถือว่าไม่ปกติ
  • เซ็นเซอร์ควัน MQ-2 เป็นเซ็นเซอร์ที่ใช้กันทั่วไปและราคาไม่แพงสำหรับการตรวจจับควันและก๊าซที่ติดไฟได้ด้วย Arduino คุณสมบัติ
  • การใช้พลังงาน: 150mW
  • ความไว: 300ppm ถึง 10,000ppm (ช่วงความเข้มข้นของควันที่เซ็นเซอร์ตรวจจับได้)
  • Response time: <30s
  • Recovery time: <30s

ตัวอย่าง: แปลงการอ่านแบบอะนาล็อกเป็น ppm Example: Convert analog reading to PPM (this is just a hypothetical formula)

int sensorPin = A0; // Analog pin connected to the sensor

void setup() {
  Serial.begin(9600);
  pinMode(sensorPin, INPUT);
}

void loop() {
  int analogValue = analogRead(sensorPin);

  Serial.print("Analog Value: ");
  Serial.println(analogValue);

  // Example: Convert analog reading to PPM (this is just a hypothetical formula)
  float ppm = map(analogValue, 0, 1023, 300, 10000); // Adjust the mapping based on your calibration

  Serial.print("Smoke_ppm: ");
  Serial.println(ppm);

  delay(1000); // Delay for readability
}

Arduino Example Code

int MQ2GasSensor = A0;
int LED = 13;
int sensor_Threshold = 512;

void setup() {
  Serial.begin(9600);
  pinMode(17,OUTPUT);    // (VCC) setting D17 (A3) pin
  digitalWrite(17,HIGH);
  
  pinMode(16,OUTPUT);    // (GND) setting D16 (A2) pin
  digitalWrite(16,LOW);
  
  pinMode(LED, OUTPUT);
  pinMode(MQ2GasSensor, INPUT);
}

void loop() {
  int analogSensor = analogRead(MQ2GasSensor);
  Serial.print("ADC: ");
  Serial.println(analogSensor);

  if (analogSensor > sensor_Threshold){
    digitalWrite(LED, HIGH);
  }
  else{
    digitalWrite(LED, LOW);
  }
  delay(100);
}

 

Wiring

 

รีวิว

ยังไม่มีบทวิจารณ์

เฉพาะลูกค้าที่เข้าสู่ระบบ และเคยซื้อสินค้าชิ้นนี้แล้วเท่านั้น ที่เขียนบทวิจารณ์ได้