Experiment 3 How to Use MQ-2 Gas Sensor

Share for us

Overview:

In this experiment, we will learn how to use the MQ-2 gas sensor. With the value displaying on the serial monitor, we can intuitively know the concentration value of surrounding combustible gas. The higher the concentration of combustible gas is, the greater the value is; the lower the concentration is, the smaller the value is.

Components:

SUNFOUNDER MEGA2560 * 1

MQ-2 gas sensor * 1

USB Cable * 1

Jumper wires

Steps:

First, connect the circuit

Second, program (Please refer to example code in CD we provide)

Third, compile the program

Fourth, burn the program into SUNFOUNDER MEGA2560 board