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.
SUNFOUNDER MEGA2560 * 1
MQ-2 gas sensor * 1
USB Cable * 1
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