๐งช Introduction to MQ3 Sensor
The MQ3 Gas Sensor is a chemical gas detection sensor mainly used to detect:
-
Alcohol vapor
-
Ethanol
-
Smoke
-
Flammable gases (low sensitivity)
It is widely used in:
-
Breath analyzers
-
Industrial gas safety systems
-
Laboratory monitoring
-
Smart safety projects
๐ง Full Form of MQ
MQ sensors are a series of gas sensors.
โMQโ does not officially stand for a full form โ it is a model series name used by manufacturers.
Different MQ models detect different gases.
๐ Types of MQ Sensors Available
Here are common MQ series sensors:
| Sensor | Detects |
|---|---|
| MQ2 | LPG, Smoke, Methane |
| MQ3 | Alcohol (Ethanol) |
| MQ4 | Methane |
| MQ5 | LPG, Natural Gas |
| MQ6 | LPG |
| MQ7 | Carbon Monoxide (CO) |
| MQ8 | Hydrogen |
| MQ9 | CO + Flammable Gas |
| MQ135 | Air Quality (NH3, CO2, Benzene) |
In this module, we are using:
๐ MQ3 โ Alcohol Gas Detection
๐ฌ Working Principle of MQ3
The MQ3 sensor works based on:
๐ฅ Metal Oxide Semiconductor (MOS) Technology
Inside the sensor:
-
There is a heating element
-
There is a sensing material (SnOโ โ Tin Dioxide)
How it works:
1๏ธโฃ Heater warms the sensing layer
2๏ธโฃ Clean air โ High resistance
3๏ธโฃ Alcohol gas present โ Resistance decreases
4๏ธโฃ Output voltage changes
5๏ธโฃ ESP32 reads voltage change
So basically:
Gas concentration โ
Resistance โ
Output voltage โ
โ Internal Structure
Main parts inside MQ3:
-
Heating Coil
-
Sensing Layer (SnOโ)
-
Electrodes
-
Protective mesh
The heating coil keeps temperature around 300ยฐC for proper reaction.
๐ MQ3 Module Pin Description
Most MQ3 modules have 4 pins:
| Pin | Description |
|---|---|
| VCC | 5V Power |
| GND | Ground |
| AO | Analog Output |
| DO | Digital Output |
๐น AO (Analog Output)
-
Gives continuous voltage value
-
Used to measure gas concentration level
-
Best for ESP32 projects
๐น DO (Digital Output)
-
HIGH or LOW signal
-
Triggered when gas crosses threshold
-
Adjustable using onboard potentiometer
๐ Sensitivity of MQ3
-
High sensitivity to alcohol
-
Moderate sensitivity to smoke
-
Low sensitivity to LPG
Best use:
Alcohol gas detection system
โณ Warm-Up Time
Important:
MQ3 requires:
โฑ 24โ48 hours initial burn-in (recommended)
โฑ 30โ60 seconds warm-up before readings
This stabilizes sensor output.
โ Safety Precautions
When testing:
-
Do NOT expose directly to high flame
-
Use small alcohol vapor source
-
Ensure ventilation
-
Avoid continuous high gas exposure
๐ง Why We Use MQ3 with ESP32?
-
ESP32 has ADC (Analog-to-Digital Converter)
-
Can read analog voltage easily
-
Can connect to WiFi/Bluetooth for IoT
-
Can trigger buzzer or alerts
๐ Learning Outcomes of Lesson 10.0
Students will understand:
-
What is gas sensor
-
Different types of MQ sensors
-
How MQ3 works
-
Analog vs Digital output
-
Safety handling
ย ย 
