

The MQ-3 Gas Sensor, manufactured by Flying Fish (Part ID: MQ-3), is a versatile and reliable sensor designed to detect alcohol and other volatile organic compounds (VOCs). It operates on the principle of resistive change when exposed to target gases, providing an analog output proportional to the gas concentration. This sensor is widely used in applications such as breath analyzers, air quality monitoring systems, and industrial safety equipment.








| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Load Resistance (RL) | Adjustable (typically 10 kΩ) |
| Heater Voltage (VH) | 5V ± 0.2V |
| Heater Power Consumption | ≤ 800 mW |
| Detection Range | 0.04 mg/L to 4 mg/L (alcohol) |
| Preheat Time | ≥ 24 hours for stable output |
| Output Signal | Analog (0-5V) |
| Sensitivity | High sensitivity to alcohol |
| Operating Temperature | -10°C to 50°C |
| Humidity Range | ≤ 95% RH |
| Dimensions | 32mm x 20mm x 22mm |
| Pin Name | Pin Type | Description |
|---|---|---|
| VCC | Power | Connect to 5V DC power supply |
| GND | Ground | Connect to ground of the power supply |
| AOUT | Analog Out | Outputs an analog voltage proportional to gas |
| DOUT | Digital Out | Outputs HIGH or LOW based on gas concentration |
VCC pin to a 5V DC power supply and the GND pin to ground.AOUT pin to an analog input pin of a microcontroller (e.g., Arduino UNO) to read the gas concentration as a voltage.DOUT pin to a digital input pin of a microcontroller. The digital output is HIGH when the gas concentration exceeds a preset threshold, which can be adjusted using the onboard potentiometer.// MQ-3 Gas Sensor Example Code for Arduino UNO
// Reads analog output from the sensor and prints gas concentration to Serial Monitor
const int analogPin = A0; // Connect AOUT pin of MQ-3 to A0 on Arduino
int sensorValue = 0; // Variable to store the analog reading
void setup() {
Serial.begin(9600); // Initialize Serial communication at 9600 baud
pinMode(analogPin, INPUT); // Set A0 as input
}
void loop() {
sensorValue = analogRead(analogPin); // Read analog value from MQ-3
float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage (0-5V)
// Print the sensor value and voltage to Serial Monitor
Serial.print("Sensor Value: ");
Serial.print(sensorValue);
Serial.print(" | Voltage: ");
Serial.print(voltage);
Serial.println(" V");
delay(1000); // Wait for 1 second before next reading
}
No Output or Incorrect Readings:
Fluctuating Readings:
Sensor Not Responding to Gas:
Digital Output Always HIGH or LOW:
Q1: Can the MQ-3 detect gases other than alcohol?
A1: Yes, the MQ-3 can detect other volatile organic compounds (VOCs), but it is most sensitive to alcohol.
Q2: How do I calibrate the sensor?
A2: Use a known concentration of alcohol gas and record the analog output voltage. Map this voltage to the gas concentration for accurate readings.
Q3: Can I use the MQ-3 with a 3.3V microcontroller?
A3: The MQ-3 requires a 5V power supply for the heater. However, you can use a voltage divider to step down the analog output for 3.3V microcontrollers.
Q4: How long does the sensor last?
A4: The MQ-3 sensor typically lasts for several years with proper use and maintenance. Periodic calibration is recommended to maintain accuracy.