Warning: Last items in stock!
This is a simple-to-use compressed natural gas (CNG)sensor, suitable for sensing natural gas (composed of mostly Methane [CH4]) concentrations in the air. The MQ-4 can detect natural gas concentrations anywhere from 200 to 10000ppm.
This sensor has a high sensitivity and fast response time. The sensor’s output is an analog resistance.
///Arduino Sample Code
Serial.begin(9600); //Set serial baud rate to 9600 bps
val=analogRead(0);Read Gas value from analog 0
Serial.println(val,DEC);//Print the value to serial port