Solar Connector-C4BIntroduction: Anti-aging Material: PPO / PC...
Connection cable for solar systems with cross section of 4 mm2 double...
Connection cable for solar systems with cross section of 6 mm2 double...
Microwave motion sensor and dusk to be used in luminaires made of...
LAN controller is a simple, but innovative device which has long been...
Temperature sensor with cable and RJ11 connector for network...
Microwave motion sensor and dusk to be used in luminaires made of...
Viewed products
Gas Sensor Module Sensitive for...
AKCELE-565
New product
Gas Sensor Module
Sensitive for Methane, Butane, LPG, smoke.
This sensor is sensitive for flamable and combustible gasses.
0 Item Items
This product is no longer in stock
Warning: Last items in stock!
Availability date:
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 (" ");
}