Czujnik gazu

Top sellers

Specials

No special products at this time.

Viewed products

Ultrasonic Module HC-SR04 Distance Measuring Transducer Sensor HC SR04 View larger

Gas sensors FC-22 (MQ2)

AKCELE-565

New product

Gas Sensor Module

Sensitive for Methane, Butane, LPG, smoke.
This sensor is sensitive for flamable and combustible gasses.

More details

This product is no longer in stock

$2.82 tax incl.

More info

Gas SensorFC-22 (MQ2) module is useful for gas leakage detection (in home and industry). It is suitable for detecting H2, LPG, CH4, CO, Alcohol, Smoke or Propane. Due to its high sensitivity and fast response time, measurements can be taken as soon as possible. The sensitivity of the sensor can be adjusted by using the potentiometer.

 

Technical data:
- Supply voltage: 5V
- Current consumption: 150mA
- Dimensions: 38x21 mm

ARDUINO Sample Code:

 

/*
FC-22
*/

 

#include <Wire.h> // standardowa biblioteka Arduino
#include <LiquidCrystal_I2C.h> // dolaczenie pobranej biblioteki I2C dla LCD
LiquidCrystal_I2C lcd(0x3F, 20, 4); // Ustawienie adresu ukladu na 0x27
const int gasPin = A4;

 

void setup()
{
Serial.begin(9600);
lcd.begin(); // LCD start LCD 2x16
lcd.backlight(); // zalaczenie podwietlenia | Back light start
lcd.setCursor(0,0); // set cursor position . Ustawienie kursora w pozycji 0,0 (pierwszy wiersz, pierwsza kolumna)
lcd.print("Hello, world!");
delay(500);
lcd.setCursor(0,1); //set cursor second line and first character
lcd.print("tinycontrol.pl");
}

 

void loop()
{
lcd.setCursor (0,2);
lcd.print(analogRead((gasPin/1024)*5.0));
lcd.setCursor (0,3);
Serial.println(analogRead((gasPin/1024)*5.0)); // for Serial monitro View
delay (1000);
//lcd.setCursor (0,3);
// lcd.print (" ");
}

 

14 other products in the same category: