Methane CNG Gas Sensor - MQ-4 Module
Product Code: G4FB9AB0B7DE2B
Reward Points: 0
Availability: 77
Reward Points: 0
Availability: 77
Price: $7.90
5 or more $5.00
20 or more $4.50
20 or more $4.50
Introduction
The gas sensor are suitable for detecting natural gas (composed of mostly Methane [CH4]) concentrations in the air.It is able to give alarms when those gas leaks. You can adjust the sensitivity with the potentiometer.
Specification
- Type: Analog
- Power supply needs: 5V
- Current: 100mA
- Pin Definition: 1-Output 2-GND 3-PWR
Document
Wiring:
Test Code
void setup()
{
Serial.begin(9600); //Set serial baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0);//Read Gas value from analog 0
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}
Write a review
Your Name:Your Review: Note: HTML is not translated!
Rating: Bad Good
Enter the code in the box below:
Related