Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

MQ-4

Gas leaks are hazardous; not only can a gas leak cause air pollution, but it may also lead
to fire outbreaks and even death. Hence Gas sensors work by notifying us whenever
there is a gas leak by releasing an output signal similar to the amount of gas leak.
The Mq4 gas sensor is a MOS (metal oxide semiconductor type sensor) and it is the most
used methane gas sensor in the market, as it isn't necessarily affected by other gases or
alcohol.

Pin Configuration
The pin configuration of the MQ4 methane gas sensor is shown below. This sensor includes
three pins which are discussed below.

 Pin1 (H Pins): These pins are two where one of them is used to connect supply
and remaining pin is connected to ground
 Pin2 (A Pins): Both the pins like A & B are interchangeable which will be
connected to supply voltage.
 Pin3 (B Pins): A & B pins are exchangeable where one pin acts like output and
another pin will be pulled to the GND terminal.
The pin configuration of the MQ-4 methane gas sensor module includes four pins which
are discussed below.
 VCC Pin: This pin provides voltage to the module and the typical operating
voltage is +5V
 GND Pin: This pin is used to connect the sensor module to the GND terminal of
the system
 DO (Digital Out) Pin: This pin provides digital output by setting a threshold value
with the help of the potentiometer
 AO (Analog Out): This pin provides output analog voltage which ranges from 0 to
5V depending on the intensity of gas.

Features & Specifications


The features and specifications of the MQ4 methane gas sensor include the following.
 Sensitivity is good for combustible gas in an extensive range
 Sigh sensitivity for natural gas, methane gas
 Small sensitivity for smoke and alcohol
 Quick responsive, long life and stable
 The drive circuit is simple
 Load resistance is 20KΩ
 Detecting resistance ranges from 10KΩ to 60KΩ
 Preheat time is above 24Hrs
 The required voltage is 5V
 DO output: is 0.1 to 5V
 AO output is 0.1 to 0 .3 V
 Detection gas is methane or natural
 The concentration of detection ranges from 200 to 10000ppm
 Interface : TTL compatible input & output
 Heater utilization is low than 750mw
 Operating temperature ranges from 14 to 122 ° Fahrenheit or -10 to
50°Centigrade

Where to use MQ4 Methane Gas


Sensor/Applications
The applications of the MQ4 methane gas sensor include the following.
 This sensor is used in gas leakage detecting devices for homes, industries, offices,
etc
 These sensors detect the methane & natural gases
 Used in portable gas detectors
 Industrial Combustible gas detector
 Gas leak alarm
Cloud Connection - ESP-32 wroom wifi (30 pin)

ESP32-WROOM-32 (ESP-WROOM-32) is a powerful, generic Wi-Fi+BT+BLE MCU module that


targets a wide variety of applications, ranging from low-power sensor networks to the most
demanding tasks, such as voice encoding, music streaming and MP3 decoding.

ESP32-WROOM-32 is a 38-pin breakout board of ESP32, which is most commonly used in


third-party ESP32 modules.

As ESP32 IC is available in the QFN(Quad Flat No Leads) package, so it's quite difficult to solder
the IC in embedded projects.

So, to ease the process of using ESP32 IC, Espressif Systems designed numerous small
modules(using ESP32 chip) which have a built-in antenna and easily usable pinout.

Other ESP32 modules are ESP32-SOLO and ESP32-WROVER.

What is the difference between ESP32 and ESP32 Wroom?


Both the ESP-32S and ESP-WROOM-32 are practically identical, and have identical specs and
pin-outs. They are different colours, the one is black, and the other a dark blue.

The ESP-WROOM-32(ESP-32S) is a WiFi and Bluetooth module using the popular ESPRESSIF
ESP32 chip. The pads on the module have a 1.27mm.
Features
 CPU and Memory: Xtensa® 32-bit LX6 Dua-core processor, up to 600 DMIPS
 4 MByte SPI Flash
 448 KByte ROM
 520 KByte SRAM
 16 KByte SRAM in RTC
 On board 3DBi PCB antenna
 Compact size of 18mm x 25.5mm x 3.1mm (±0.2mm)
Supply Voltage: 2.2V~3.6V

Applications of ESP 32

ESP32 can be used for wide variety of applications in different domains. Few of the example
applications are listed below.

Internet of Things (IoT) Devices: The ESP32's built-in Wi-Fi and Bluetooth connectivity make
it ideal for building IoT devices such as smart home devices, weather stations, asset trackers,
and industrial monitoring systems.

Home Automation: ESP32 can be used to create home automation systems to control lights,
appliances, security systems and other smart home devices using Wi-Fi or Bluetooth
connectivity.

Robotics: ESP32 can be used in robotics applications for controlling motors, sensors, and
actuators, enabling wireless communication and control in robot projects.

Wearables: ESP32's low power consumption makes it suitable for wearable devices such as
smartwatches, fitness trackers, and health monitoring systems.

Audio and Music Applications: ESP32 supports I2S interface, which makes it suitable for
audio and music applications such as internet radio, audio streaming, and MP3 players.

Industrial Monitoring and Control: ESP32 can be used for industrial automation and control
systems, including remote monitoring of sensors and control of industrial processes using
Wi-Fi or Bluetooth connectivity.

Environmental Monitoring: ESP32 can be used for monitoring and collecting data from
environmental sensors such as temperature, humidity, air quality, barometric pressure and
pollution sensors for applications such as smart agriculture, smart cities, and environmental
monitoring systems.
ESP 32 PINOUT DAIGRAM

You might also like