MQ135
can detect gases like Ammonia (NH3), sulfur (S), Benzene (C6H6), CO2, and other harmful gases and smoke

MQ5
H2, LPG, CH4, CO, Alcohol

MQ7
CO-gas concentrations anywhere from 10 to 500ppm

MQ6
LPG and Butane gas concentration in the air

Ühendada tuleb
VCC
GND
(Jätta tühjaks)
A0


const int gasPin = A0;

void setup() {
   Serial.begin(9600);
}

void loop() {
  Serial.println(analogRead(gasPin));
delay(1000);
  }