About this product
MQ-5 gas sensor breakout module
RS301 combines an MQ-5 heated semiconductor sensing element with an LM393 comparator board for electronics experiments with combustible-gas response. MQ-5 sensors respond to LPG components such as propane and butane, and to methane. The module offers analogue and digital threshold outputs so you can compare a changing sensor signal with a software or hardware trigger.
This is an educational component, not a certified gas alarm. Do not use it as the sole protection against a gas leak, fire or hazardous atmosphere. It cannot identify which gas is present in a mixture, and it is not a carbon-monoxide safety detector.
Connections and outputs
VCC: regulated 5V DC supply for the board and heater.
GND: connect to the controller's common ground.
AO: analogue signal for a suitable ADC input.
DO: comparator threshold output, adjusted with the onboard trim potentiometer.
Read the labels on the supplied PCB before wiring; do not infer pin order from a rotated photo. For a 5V Arduino Uno arrangement, AO can be read at A0 and DO at a digital input. Verify the actual output voltage before connecting ESP32, ESP8266 or other 3.3V inputs, and use appropriate level protection. Raspberry Pi single-board computers require an external ADC for AO.
The heater draws significant current and becomes hot. Use a stable supply with adequate current capacity; do not power the module from a GPIO. Keep fingers and heat-sensitive materials away from the metal sensor cap during operation.
Warm-up and interpretation
Allow initial conditioning before taking a baseline. MQ-5 manufacturer test guidance specifies at least 48 hours of preheating, with longer ageing after extended storage. Each later start also needs time for readings to stabilise; a fixed short delay does not prove readiness. Temperature, humidity, supply stability and previous exposure affect the result.
Start by observing raw readings in clean air. The trim pot changes the digital switching threshold; it does not calibrate the module into a gas-specific ppm meter. Concentration estimates need known gas standards, suitable calibration and the correct sensor response curve. Do not simply map ADC counts into ppm.
Do not spray lighter fuel onto the sensor or deliberately release household gas for a demonstration. Avoid water, condensation and contaminating vapours. Use controlled procedures for any gas testing and retain approved gas alarms for real protection.
Package
1 x MQ-5 gas sensor module, SKU RS301. Controller, power supply and connecting wires are not included.