
MQ7 Carbon Monoxide Sensor
sensors

The MQ6 Gas Sensor is specifically designed for detecting liquefied petroleum gas (LPG), but it can also detect propane and other combustible gases. It is commonly used in gas leak detection systems, industrial safety devices, and home automation projects.
The MQ8 Gas Sensor is designed to detect hydrogen gas (H₂), making it suitable for applications such as hydrogen leak detection, fuel cell monitoring, and industrial safety systems. It is known for its sensitivity and reliability in detecting hydrogen at low concentrations.
The MQ8 sensor uses a SnO₂ (tin dioxide) sensing layer. In clean air, the sensor exhibits low conductivity. When hydrogen gas is present, the conductivity increases due to the reaction of hydrogen with the sensor material, allowing the gas concentration to be measured.
const int analogPin = A0; // Analog output pin
const int digitalPin = 2; // Digital output pin
int analogValue = 0;
void setup() {
Serial.begin(9600);
pinMode(digitalPin, INPUT);
}
void loop() {
// Read analog value
analogValue = analogRead(analogPin);
// Print analog value (H₂ concentration)
Serial.print("Analog Value: ");
Serial.println(analogValue);
// Check digital output
if (digitalRead(digitalPin) == HIGH) {
Serial.println("Hydrogen concentration exceeded threshold!");
}
delay(1000);
}
Shop more
Products from the same category or commonly paired with this item.
Shop more
Customer favorites that are getting the most attention.
Shop more
Freshly added items from the shop.