Keyestudio MQ-4 Nat Gas & Methane Sensor Module
-
Pick up from PcGuy Computers Store
Tara 4421, Queensland
Free
-
AusPost Standard
Standard post to your specified address using PakistanPost
2-6 Days
From $10
-
AusPost Express
Express post to your specified address using PakistanPost
1-4 Days
From $15
Buy the Keyestudio MQ-4 Natural Gas & Methane Sensor Module for Arduino experiments, STEM learning and gas-sensing prototypes. It is designed for methane detection and provides analogue output plus an adjustable digital threshold output on common breakout boards.
- Sensor: MQ-4 semiconductor gas sensor
- Target Gas: Methane (CH₄) / Natural Gas
- Specified Range: 300–10,000ppm methane
- Heater Supply: 5V (up to 180mA)
- Outputs: Analogue AO / Digital DO (board dependent)
- Adjustment: Digital threshold potentiometer
- Applications: Arduino, STEM and prototype projects
- Safety: Educational sensor; not a certified gas alarm
₨1,540.00
2 in stock
2 in stock
Description
The Keyestudio MQ-4 Natural Gas & Methane Sensor Module is an MQ-4 semiconductor gas sensor module designed for methane and natural-gas sensing experiments, Arduino projects and STEM learning. It responds to methane by changing its electrical resistance and provides analogue output for monitoring, plus an adjustable digital threshold output on common breakout-board versions. Its nominal methane detection range is 300–10,000ppm under specified test conditions.
Key Features
Methane & Natural Gas Sensing
Uses an MQ-4 semiconductor sensing element designed primarily for methane (CH₄) and natural gas.
300–10,000ppm Range
Specified nominal methane detection range for the sensor under stated test conditions.
Analogue Output
AO output lets a compatible controller read changes in the sensor response for experiments and monitoring.
Adjustable Digital Output
Common breakout boards include a DO comparator output with an onboard potentiometer to adjust its switching threshold.
Arduino Project Use
Suitable for Arduino-based demonstrations, STEM activities and microcontroller sensor-interface projects.
5V Heater Supply
The sensing element uses a 5V heater supply and requires suitable power handling and conditioning.
Technical Specifications
| Brand | Keyestudio |
|---|---|
| Sensor Model | MQ-4 |
| Keyestudio Reference | KS0042 (verify PCB marking on supplied board) |
| Sensor Type | Semiconductor gas sensor |
| Target Gases | Methane (CH₄) and natural gas |
| Specified Detection Range | 300–10,000ppm methane |
| Heater Voltage | 5.0V ±0.2V |
| Heater Current | Up to 180mA (sensor specification) |
| Heater Power | Up to 900mW (sensor specification) |
| Outputs | Analogue (AO) and digital threshold (DO) on common module boards |
| Adjustment | Onboard potentiometer for digital threshold |
| Response Time | ≤10 seconds under specified sensor conditions |
| Recovery Time | ≤30 seconds under specified sensor conditions |
| Working Temperature | -20°C to +55°C (sensor specification) |
| Typical Controller Use | Arduino and compatible microcontrollers with suitable input conditioning |
Compatible Devices and Applications
- Arduino projects: Read analogue sensor changes or use the digital threshold output with a compatible Arduino board.
- STEM and electronics learning: Demonstrate gas-sensor behaviour, analogue inputs and comparator thresholds.
- Microcontroller experiments: Explore sensor interfaces with controllers that provide suitable voltage handling.
- Prototype monitoring: Observe relative changes in methane response in controlled experimental setups.
- Electronics demonstrations: Build educational projects that introduce gas sensing and basic signal processing.
Connection Guide
- Check the pin labels on your particular breakout board. Common four-pin versions use VCC, GND, AO and DO.
- Connect VCC to a regulated 5V supply and GND to the common ground.
- Connect AO to a suitable analogue input to observe changes in sensor output.
- Connect DO to a digital input when threshold switching is required; adjust its threshold using the onboard potentiometer.
- Allow the sensor to warm up and follow the manufacturer’s conditioning guidance before collecting readings.
- Use a separate suitable power source for the heater where necessary; never power it from a microcontroller GPIO pin.
Important Before Buying
The MQ-4 is an educational and prototyping component, not a certified gas-leak detector or life-safety alarm. Do not rely on it to protect people or property or to replace an approved methane detector. The heater requires a stable 5V supply and can draw up to approximately 180mA. Some boards can output signals approaching 5V, so use level shifting or suitable voltage conditioning before connecting AO or DO to 3.3V-only inputs such as those on many ESP32/ESP8266 boards. MQ-series sensors need warm-up and conditioning; Keyestudio specifies more than 48 hours of preheating for standard test conditions. Readings are affected by temperature, humidity, oxygen and other gases, and accurate concentration measurement requires calibration. Test only in a controlled, ventilated environment; do not deliberately release combustible gas or use open flames.
Frequently Asked Questions
What gases can the Keyestudio MQ-4 sensor detect?
The MQ-4 is designed primarily to detect methane (CH₄) and natural gas. Other gases and environmental conditions can also influence its response.
What is the detection range of the MQ-4?
The nominal specified methane detection range is 300–10,000ppm under the stated test conditions. This does not mean every assembled module provides calibrated ppm measurements.
What is the difference between AO and DO?
AO is the analogue output, which changes with the sensor response. DO is a digital threshold output from the onboard comparator on common breakout-board versions.
What does the onboard potentiometer do?
It adjusts the switching threshold of the digital output. It does not calibrate the sensor or convert it into a precise ppm measuring instrument.
Can I use the MQ-4 with an Arduino Uno?
Yes. A typical module can be powered from a suitable 5V supply, with AO connected to an analogue input and DO optionally connected to a digital input.
Can I connect the MQ-4 directly to an ESP32?
Use appropriate voltage conditioning. The heater needs a suitable 5V supply, and module outputs may exceed the ESP32’s 3.3V input limits. Use a compatible level shifter or divider as appropriate.
How long does the MQ-4 need to warm up?
MQ-series sensors require warm-up and conditioning. Keyestudio specifies more than 48 hours of preheating for standard test conditions; follow the manufacturer’s guidance for your intended measurement use.
Can I use this module as a home gas-leak alarm?
No. It is an educational/prototyping sensor, not a certified life-safety device. Use a properly certified methane or natural-gas detector for household protection.
Why Buy from PcGuy Computers?
PcGuy Computers supplies electronics modules and development components for students, makers and DIY builders in Pakistan. Check the product specifications, voltage requirements and intended use to make sure this sensor suits your project. Contact the store to confirm current availability, delivery arrangements and applicable warranty terms before ordering.
Keyestudio MQ-4 – Summary
The Keyestudio MQ-4 is a methane and natural-gas sensor module for educational experiments and prototype monitoring. With analogue output and an adjustable digital threshold on common breakout boards, it is suitable for learning how gas sensors interface with Arduino and other compatible controllers. It requires warm-up, calibration and careful power/voltage handling, and must not be used as a certified gas alarm.

Arduino Modules & Sensors
Battery Compartments
Component Cases
Electronics Kits
Microcontroller Boards
Project Enclosures
Shields & Hats
Tablets
Laptops
Laptop Accessories
CPU (Processor)
CPU Coolers
GPU (Graphics)
HDD/ SSD (Storage)
MOBO (Motherboard)
PSU (Power Supply)
RAM (Memory)
Keyboard & Mouse Combo
Keyboards
Printers
USB
Reviews
There are no reviews yet.