- Out-of-Stock
Methane Gas Sensor MQ-4
This semiconductor gas sensor detects the presence of methane (CNG) gas at concentrations from 300 ppm to 10,000 ppm, a range suitable for detecting gas leaks. The sensor’s simple analog voltage interface requires only one analog input pin from your microcontroller.
![]() |
This methane gas sensor detects the concentration of methane gas in the air and ouputs its reading as an analog voltage. The concentration sensing range of 300 ppm to 10,000 ppm is suitable for leak detection. For example, the sensor could detect if someone left a gas stove on but not lit. The sensor can operate at temperatures from -10 to 50°C and consumes less than 150 mA at 5 V. Please read the MQ4 datasheet (161k pdf) for more information about the sensor.
![]() |
| Gas sensor with metal case bottom view. |
|---|
Connecting five volts across the heating (H) pins keeps the sensor hot enough to function correctly. Connecting five volts at either the A or B pins causes the sensor to emit an analog voltage on the other pins. A resistive load between the output pins and ground sets the sensitivity of the detector. Please note that the picture in the datasheet for the top configuration is wrong. Both configurations have the same pinout consistent with the bottom configuration.The resistive load should be calibrated for your particular application using the equations in the datasheet, but a good starting value for the resistor is 20 kΩ.
We offer two breakout boards that make it easier to interface with these sensors: a Pololu carrier board and a SparkFun carrier board. The Pololu version is shown below.
|
![]() |
Pololu MQ Gas Sensor Carrier |
![]() |
Alcohol Gas Sensor MQ-3 |
![]() |
Flammable Gas & Smoke Sensor MQ-2 |
Manufacturer BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
Responsible person BTC Korporacja sp. z o. o. Lwowska 5 05-120 Legionowo Poland sprzedaz@kamami.pl 22 767 36 20
Pololu 42x19mm Idler Wheel/Sprocket Pair - Black
No product available!
Pololu 42x19mm Idler Wheel/Sprocket Pair - White
No product available!
No product available!
Extremely thin (2mm diameter), light, and flexible, 5 ft (1.5 m) cable terminated on one end by a Type-A USB plug and on the other by a Micro-B USB plug. Pololu 1938
No product available!
No product available!
T1 (3mm) Yellow LED with Yellow Diffused Lens
No product available!
T1 (3mm) Red LED with Red Diffused Lens
No product available!
T1 (3mm) Green LED with Green Diffused Lens
No product available!
2.5 mm JST XH-Style Shrouded Male Connector: 2-Pin, Straight
No product available!
2.5 mm JST XH-Style Shrouded Male Connector: 2-Pin, Right Angle
No product available!
2.5 mm JST XH-Style Shrouded Male Connector: 2-Pin, Right Angle Extended
No product available!
T1 (3mm) Blue LED with Light Blue Diffused Lens
No product available!
3-Pin Female JST PH-Style Cable for Sharp Distance Sensors (30cm)
No product available!
No product available!
No product available!
No product available!
Methane Gas Sensor MQ-4