38. MQ5 Analog Gas Sensor Brick¶
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.
Standard 3-pin GVS port is easy to plug.
|Pins Definition||S-Sigal V-VCC G-GND|
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.