LPG&natural gas&town Gas Sensor - MQ-5 Module
Product Code: G4FB9AB78B34A9
Reward Points: 0
Availability: 85
Reward Points: 0
Availability: 85
Price: $7.00
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/natural gas/town Gas 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