Mq2 Smoke Lpg Butane Hydrogen Gas Sensor
Rs. 72.00 Rs. 81.00
- Brand: https://www.winsen-sensor.com/sensors/combustible-sensor/mq2.htm
- Product Code: SEN-GAS
- SKU -
- Availability: In Stock
- Price in reward points: 1
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
The MQ-2 Smoke LPG Butane Hydrogen Gas Sensor Detector Module is useful for fuel leakage detection (home and enterprise). It is appropriate for detecting H2, LPG, CH4, CO, Alcohol, Smoke or Propane. Due to its high sensitivity and fast reaction time, measurement may be taken as soon as possible. The sensitivity of the sensor can be adjusted through the potentiometer.
SPECIFICATIONS | |
Operating Voltage(VDC) | 5 |
Analog Output Voltage | 0V to 5V |
Digital Output Voltage | 0V or 5V (TTL Logic) |
Preheat Duration(sec) | 20 |
OVERVIEW:
-Operating Voltage is +5V
-Can be used to Measure or detect LPG, Alcohol, Propane, Hydrogen, CO and even methane
-Can be used as a Digital or analog sensor
-The Sensitivity of Digital pin can be varied using the potentiometer
-Long life and low cost
-Simple drive circuit
PACKAGE INCLUDES:
1 PCS x Mq 2 Smoke Lpg Butane Hydrogen Gas Sensor
https://www.winsen-sensor.com/sensors/combustible-sensor/mq2.html
/*******
//SOURCE CODE TAKEN FROM BELOW LINK
//https://create.arduino.cc/projecthub/Aritro/smoke-detection-using-mq-2-gas-sensor-79c54a
All the resources for this project:
https://www.hackster.io/Aritro
*******/
int redLed = 12;
int greenLed = 11;
int buzzer = 10;
int smokeA0 = A5;
// Your threshold value
int sensorThres = 400;
void setup() {
pinMode(redLed, OUTPUT);
pinMode(greenLed, OUTPUT);
pinMode(buzzer, OUTPUT);
pinMode(smokeA0, INPUT);
Serial.begin(9600);
}
void loop() {
int analogSensor = analogRead(smokeA0);
Serial.print("Pin A0: ");
Serial.println(analogSensor);
// Checks if it has reached the threshold value
if (analogSensor > sensorThres)
{
digitalWrite(redLed, HIGH);
digitalWrite(greenLed, LOW);
tone(buzzer, 1000, 200);
}
else
{
digitalWrite(redLed, LOW);
digitalWrite(greenLed, HIGH);
noTone(buzzer);
}
delay(100);
}
15 days