16mm (diameter) x 8mm (height)
16mm (diameter) x 8mm (height)
2g
-20C to 50C
20% to 90% RH
Applications
Industrial process monitoring
Environmental monitoring
Personal safety devices
Air quality monitoring
Waste management
Oil and gas exploration
Technical Specifications
1-100 ppm H2S
1-10 k/ppm
Analog voltage (0-5V)
5V DC
150mW (typical)
By providing accurate and reliable H2S detection, the MQ-136 Hydrogen Sulfide Gas Sensor is an essential component in various applications where safety and environmental monitoring are critical.
MQ-136 Hydrogen Sulfide Gas Sensor DocumentationOverviewThe MQ-136 Hydrogen Sulfide Gas Sensor is a highly sensitive and accurate gas sensor used to detect the presence of hydrogen sulfide (H2S) in the air. This sensor is widely used in industrial, environmental, and safety applications, such as gas leak detection, air quality monitoring, and industrial process control.Technical SpecificationsDetection Range: 1-100 ppm
Sensitivity: 1-5 mA/ppm
Output Signal: Analog voltage (0-5V)
Power Supply: 5V DC
Operating Temperature: -20C to 50C
Response Time: <10 secondsInterface and PinoutThe MQ-136 sensor has a 6-pin interface, with the following pinout:VCC: Power supply (5V DC)
GND: Ground
OUT: Analog output signal
HEAT: Heater voltage (optional, for temperature control)
NC: Not connected
NC: Not connectedCode Examples### Example 1: Basic Analog Read with ArduinoThis example demonstrates how to read the analog output signal from the MQ-136 sensor using an Arduino board.
```c
const int sensorPin = A0; // Analog input pin for the sensor
const int ledPin = 13; // LED pin for indicating H2S presencevoid setup() {
pinMode(sensorPin, INPUT);
pinMode(ledPin, OUTPUT);
}void loop() {
int sensorValue = analogRead(sensorPin);
float voltage = sensorValue (5.0 / 1023.0);
float ppm = voltage (100.0 / 5.0); // Assuming 1-100 ppm detection rangeif (ppm > 10) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}Serial.print("H2S Concentration: ");
Serial.print(ppm);
Serial.println(" ppm");delay(1000);
}
```
### Example 2: I2C Interface with Raspberry Pi (using ADS1115 ADC)This example demonstrates how to read the analog output signal from the MQ-136 sensor using a Raspberry Pi and an ADS1115 ADC chip.
```python
import time
import board
import busio
import adafruit_ads1x15.ads1115 as ADS# Initialize I2C bus and ADS1115 ADC
i2c = busio.I2C(board.SCL, board.SDA)
ads = ADS.ADS1115(i2c)# Configure ADC channel and gain
channel = ADS.P0
gain = ADS.PGA_1_1while True:
# Read analog voltage from ADS1115
voltage = ads.read_adc(channel, gain)
ppm = voltage (100.0 / 5.0) # Assuming 1-100 ppm detection rangeif ppm > 10:
print("H2S detected! Concentration: {:.2f} ppm".format(ppm))
else:
print("No H2S detected.")time.sleep(1)
```
Note: These examples are for illustrative purposes only and may require modifications to suit specific application requirements. Additionally, proper calibration and testing are recommended for accurate gas detection and safety precautions should be taken when working with hazardous gases like hydrogen sulfide.