รู้จักสินค้านี้
MQ-2 Sensor Arduino ใช้ในการตรวจวัดแก๊สไวไฟ กลุ่ม LPG, methane ,alcohol, Hydrogen รวมไปถึงควันไฟที่เกิดจากการเผาไหม้จากแก๊ส จึงเป็นเซ็นเซอร์ที่นิยมนำมาใช้ทดสอบการรั่วของแก๊ส เพื่อความปลอดภัย
MQ-2 Sensor Arduino is used to measure flammable gases group LPG, methane, alcohol, Hydrogen, including smoke from combustion from gas. It is a sensor that is commonly used to test gas leaks. for safety
ข้อมูลเพิ่มเติม
- Sensor วัดความเข้มของ แก๊สไวไฟ กลุ่ม LPG, i-butane, propane, methane ,alcohol, Hydrogen
- Sensor Analog แสดงค่า 0-5 V
- การใช้งานควรจ่ายแรงดันรอ 20 วินาทีก่อนทำการวัดค่า
Link เพิ่มเติม
- https://www.seeedstudio.com/depot/datasheet/MQ-2.pdf
- https://www.pololu.com/file/0J309/MQ2.pdf
สินค้า 1 ชุดประกอบด้วย
- MQ-2 Sensor Gas Sensor Smoke (ตรวจจับ ควัน) จำนวน 1 ชิ้น
ตัวอย่างการใช้งาน Arduino กับ MQ-135
การต่อวงจร
ตัวอย่าง Code ของ Sensor
const int analogInPin = A0;
int sensorValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(analogInPin);
Serial.print("sensor = ");
Serial.println(sensorValue);
delay(2);
}