The MQ137 Ammonia (NH₃) Gas Sensor Module is a semiconductor gas sensor designed to detect ammonia concentrations in the surrounding air. It uses a metal oxide sensing element whose electrical resistance changes when exposed to ammonia gas.
The MQ137 provides sensitivity to ammonia and is suitable for environmental monitoring experiments, agricultural sensing projects, laboratory research, and educational electronics applications.
The module features analog and digital outputs, an adjustable detection threshold, onboard indicator LEDs, and a compact PCB design. It can be interfaced with Arduino, ESP32, Raspberry Pi, and other microcontroller-based monitoring systems using appropriate circuitry.
Key Features
-
Ammonia Gas Detection: Designed primarily for detecting ammonia (NH₃).
-
Semiconductor Technology: Uses a metal oxide gas-sensitive sensing element.
-
Analog Output (AO): Provides a variable voltage related to sensor resistance and gas concentration.
-
Digital Output (DO): Provides a HIGH/LOW signal based on an adjustable detection threshold.
-
Adjustable Threshold: Onboard potentiometer allows adjustment of the digital switching point.
-
5V DC Operation: Suitable for common microcontroller development systems.
-
Onboard LED Indicators: Power and digital output status indication.
-
Fast Sensor Response: Responds to changes in ammonia concentration.
-
Compact PCB Design: Suitable for embedded electronics and sensing prototypes.
-
Mounting Holes: Allows installation in project enclosures.
-
Microcontroller Compatibility: Can interface with Arduino, ESP32, and Raspberry Pi using appropriate circuitry.
Technical Specifications
| Specification |
Details |
| Model |
MQ137 |
| Sensor Type |
Ammonia Gas Sensor |
| Target Gas |
Ammonia (NH₃) |
| Sensor Technology |
Metal Oxide Semiconductor (MOS) |
| Typical Detection Range |
5–500 ppm NH₃ |
| Module Operating Voltage |
5V DC |
| Reported Module Current |
Approximately 150 mA |
| Analog Output |
Variable Voltage |
| Digital Output |
HIGH/LOW Logic |
| Digital Output Levels |
Approximately 0V or 5V |
| Detection Threshold |
Adjustable Potentiometer |
| Sensor Heating |
Internal Heating Element |
| Preheating |
Required Before Stable Measurements |
| Interface |
Analog and Digital |
| Connection |
4-Pin Interface |
| PCB Mounting |
Mounting Holes Provided |
Pin Configuration
| Pin |
Description |
| VCC |
5V DC Power Supply |
| GND |
Ground |
| AO |
Analog Sensor Output |
| DO |
Digital Threshold Output |
Arduino UNO Connection Example
| MQ137 Pin |
Arduino UNO |
| VCC |
5V |
| GND |
GND |
| AO |
A0 |
| DO |
D2 (Optional) |
Arduino can read the analog output to monitor relative changes in ammonia concentration or use the digital output to detect when the adjustable threshold is reached.
Note: Accurate ammonia concentration measurements require calibration and appropriate signal processing.
ESP32 Connection Example
| MQ137 Pin |
ESP32 |
| VCC |
5V |
| GND |
GND |
| AO |
GPIO34 Through Voltage Divider |
| DO |
Digital GPIO Through Level Shifter |
Important: ESP32 GPIO pins operate at 3.3V. The MQ137 module may produce output signals up to 5V, so appropriate voltage-level protection is required.
Raspberry Pi Compatibility
The MQ137 can be connected to Raspberry Pi boards using additional interface components.
-
Analog Reading: Requires an external ADC such as ADS1115 or MCP3008.
-
Digital Reading: Requires suitable voltage-level shifting if the digital output exceeds 3.3V.
-
Power Supply: Requires a suitable 5V DC supply.
Applications
- Ammonia gas sensing experiments
- Agricultural environmental monitoring prototypes
- Livestock facility air monitoring research
- Poultry farm environmental sensing projects
- Wastewater treatment research
- Laboratory ammonia sensing experiments
- Arduino gas detection systems
- ESP32 IoT monitoring applications
- Raspberry Pi sensor projects
- Educational electronics experiments
- Industrial gas monitoring research
- Embedded gas sensing systems
- Air quality monitoring prototypes
Important Notes