38. MQ5 Analog Gas Sensor Brick(EF04029)

38.1. Introduction

MQ-5 Gas sensor has a good sense to liquefied gas, natural gas and coal gas that are widely used in cities, but it doesn’t work on ethanol or smoke.


38.2. Characteristics

  • Standard 3-pin GVS port is easy to plug.

38.3. Specification

Item Parameter
SKU EF04029
Connections Type Analog
Pins Definition S-Sigal V-VCC G-GND
Working Voltage 3V
Size 38x27mm

38.4. Outlook and Dimension


38.5. Quick to Start

Materials required and connections diagram

  • Connect to P1 port as the picture shows.

Take sensor:bit for example


Program as the picture shows




You can also download it directly below:


  • Preheat it for 3 minutes after connections, detect the gas by approaching the probes to the gas while the returned value is almost stable.

  • With the change of the Carbon Monoxide’s concentration, the returned value gets bigger with the growing of it.

38.6. Revelent Case

38.7. Technical File