ELECTRONIC BRICK - MQ-2 GAS SENSOR BRICK

Dostępność:: brak towaru
Cena:: 13,55 zł 13.55
Cena netto: 11,02 zł
quantity szt.
dodaj do przechowalni
Ocena:: 0
Producent: IteadStudio
Kod produktu: IM120710024

Opis

Czujnik szkodliwych gazów, może być wykorzystywany do wykrywania: hydrogen, isobutane, liquefied petroleum gas, methane, carbon monoxide, alcohol, smoke, propane and other harmful gases.


The electronic brick of gas sensor can be used in fire protection systems to detect hydrogen, isobutane, liquefied petroleum gas, methane, carbon monoxide, alcohol, smoke, propane and other harmful gases.

Features

1. Plug and play, easy to use. Compatible with the mainstream 2.54 interfaces and 4-Pin Grove interfaces in the market.

2. With use of M4 standard fixed holes, compatible with M4-standard kits such as Lego and Makeblock.

Specifications

PCB size 33.0mm X 14.0mm X 1.6mm
Working voltage 5V DC
Operating voltage 5V DC
Compatible interfaces 2.54 3-pin interface and 4-pin Grove interface(1)

Note 1:  S for analog output port, V and G for voltage at the common collector and ground respectively

Electrical characteristics

Parameter Min. Typical Max. Unit
Working voltage 4.5 5 5.5 VDC
Analog output voltageVCC=5V 0 - 5 V
Working currentVCC=5V - 122 - mA

The sensitive characteristics of MQ-2 to various gases

DEMO

Connect S port of electronic brick of gas sensor to A0 port of Arduino board, and we will use the following program to read the analog value. When the analog value exceeds the threshold, LED lamp will flash.

1
2
3
4
5
6
7
8
9
10
11
12
const int ledPin =  13;      // the number of the LED pin
const int thresholdvalue=400//The threshold to turn the led on
void setup() {
     pinMode(ledPin, OUTPUT);
}
void loop() {
  int sensorValue = analogRead(A0); //use A0 to read the electrical signal
  if(sensorValue>thresholdvalue)
  digitalWrite(ledPin,HIGH); //if the value read from A0 is larger than 400,then light the LED
  delay(200);
  digitalWrite(ledPin,LOW);
}

Download


Opinie o produkcie (0)

do góry
Pokaż pełną wersję strony
Sklep internetowy Shoper.pl