Sale!

MQ138 Semiconductor Sensor Module

Original price was: 52,87 €.Current price is: 38,31 €. Excluding VAT

MQ138 MQ-138 Semiconductor Sensor Module

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Categories: ,

🎬 The product on video

Description

What it is

The MQ138 MQ-138 module is a semiconductor sensor designed for detecting various types of gases.

Features

  • Type: Semiconductor Sensor
  • Model: MQ138
  • SKU: ARD009126
  • Price: 38.31 €
  • Detectability: CO2, CH4 and other gases (check datasheet)

What it is for

The MQ138 module is ideal for Arduino projects and environmental monitoring applications. It can be used to create gas alarm systems that send notifications in case of high levels of gas such as CH4. It is also suitable for DIY projects, prototypes, and home security applications.

Tutorial: How to Use MQ138 Gas Detector

The MQ-138 module is a multi-platform semiconductor sensor ideal for monitoring levels of various gases, such as CO2, CH4 and others. It is suitable for DIY projects, prototypes, and home security applications.

What you need

  • Arduino Uno or compatible
  • USB cable
  • 12V power supply (check datasheet)
  • Indicator LED

Steps

  1. Connect the MQ-138 module to the Arduino using the appropriate cables.
  2. Configure the communication port between Arduino and computer via USB cable.
  3. Download the example code for the sensor from the GitHub repository or create a custom sketch.
  4. Check the proper power supply of the module (check the datasheet).
  5. Introduce the gas of interest into the test environment.
  6. Monitor the digital output of the Arduino via Serial Monitor.
  7. Analyze the received data and configure an alarm or notification if necessary.

Example code

// Includi la libreria per la comunicazione serial
#include <SoftwareSerial.h>

// Definisci le pin di Arduino utilizzate dal sensore
const int gasPin = 2;

void setup() {
  Serial.begin(9600);
}

void loop() {
  // Leggi lo stato del sensore
  int sensorValue = digitalRead(gasPin);
  
  // Invia il valore al monitor seriale
  Serial.println(sensorValue);
}

Mini project

Create a gas alarm system that sends a notification when a high level of CH4 is detected.

Common mistakes

  • Incorrect sensor connection
  • Insufficient or excessive power supply
  • Incorrect serial port configuration
  • Ignore sensor calibration

Recommended accessories

  • Arduino Uno R3
  • USB A-B cable
  • 3D Printed Case for Arduino
  • Temperature and Humidity Sensors DHT11

Frequently asked questions

How to calibrate the MQ-138?
Calibrating the MQ-138 requires exposure to the specific gas during the installation phase.

What types of gases can the MQ-138 detect?
The MQ-138 is designed to detect CO2, CH4, and other specific gases (check the datasheet).

Reviews

There are no reviews yet.

Be the first to review “MQ138 Semiconductor Sensor Module”

Your email address will not be published. Required fields are marked *