Wide Detecting Scope Gas Sensor - MQ-2 Module
Product Code: G4FB9AA21501BF
Reward Points: 0
Availability: 950
Reward Points: 0
Availability: 950
Price: $5.50
5 or more $5.00
20 or more $4.50
20 or more $4.50
Introduction
The gas sensor are suitable for detecting of LPG, i-butane, propane, methane ,alcohol, Hydrogen, smoke.. 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: