What is preheat time in gas sensor?
Let the sensor preheat for a good amount of time (48 hours according to the datasheet), so that the readings stabilize. The longer it preheats, the more accurate readings you will get.
How does MQ-135 sensor work?
MQ – 135 Air Quality Sensor The air quality sensor detects ammonia, nitrogen oxide, smoke, CO2, and other harmful gases. The air quality sensor has a small potentiometer that permits the adjustment of the load resistance of the sensor circuit. The 5V power supply is used for air quality sensor.
Where to use the MQ-2 gas sensor?
Where to use MQ-2 Gas sensor: The MQ-2 Gas sensor can detect or measure gasses like LPG, Alcohol, Propane, Hydrogen, CO and even methane. The module version of this sensor comes with a Digital Pin which makes this sensor to operate even without a microcontroller and that comes in handy when you are only trying to detect one particular gas.
What kind of gas can a gas sensor detect?
The MQ-2 Gas sensor can detect or measure gasses like LPG, Alcohol, Propane, Hydrogen, CO and even methane. The module version of this sensor comes with a Digital Pin which makes this sensor to operate even without a microcontroller and that comes in handy when you are only trying to detect one particular gas.
What happens to the pin on a gas sensor?
Now every time your sensor gets introduced to this gas at this particular concentration the digital pin will go high (5V) else will remain low (0V). You can also use the analog pin to achieve the same thing.
How does a gas sensor work on a microcontroller?
Read the analog values (0-5V) using a microcontroller, this value will be directly proportional to the concentration of the gas to which the sensor detects. You can experiment with this values and check how the sensor reacts to different concentration of gas and develop your program accordingly.