The MQ - 4 is an easy - to - use compressed natural gas (CNG) sensor. It's great for detecting natural gas (mostly Methane [CH4]) concentrations in the air, with a detection range from 200 to 10000ppm. This sensor has high sensitivity and a fast response time. Its output is an analog resistance. The drive circuit is a breeze to set up. All you need to do is power the heater coil with 5V, add a load resistance, and connect the output to an ADC. It comes in a package similar to our MQ - 3 alcohol sensor and can be used with the breakout board below. Included documents are the datasheet and a wiring example.

Using the MQ - 4 sensor is easy. First, power the heater coil with 5V. Then, add a load resistance as described. Connect the output to an ADC. This way, you can start detecting natural gas concentrations in the air. When using it, make sure the power supply is stable and the connections are secure. For maintenance, keep it clean and free from dust. Check the datasheet regularly for any updates on its performance. If you face any issues, refer to the wiring example provided to troubleshoot.