Nothing Special   »   [go: up one dir, main page]

Lab 3 - Gas Sensor (Iman, Faiz, Anas)

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

BEU 6233

BIOMEDICAL SENSOR & TRANSDUCER-E

LAB 3
GAS SENSOR

GROUP NAME:

NAME NO.MATRICS
AHMAD FAIZ BIN MD ISA 08BEU18F3018
KHAIRUL ANAS BIN KAMARUDIN 08BEU18F3027
IMAN NAJIHAH BINTI YUSOFF 08BEU18F3002

LECTURER:
MADAM NURUL MAISARAH BINTI KAMARUDDIN
TITLE: GAS SENSOR (MQ-2 gas sensor)

INTRODUCTION:
Gas sensors (also known as gas detectors) are electronic devices that detect and
identify different types of gasses. They are commonly used to detect toxic or explosive gasses
and measure gas concentration. Gas sensors are employed in factories and manufacturing
facilities to identify gas leaks, and to detect smoke and carbon monoxide in homes. Gas
sensors vary widely in size (portable and fixed), range, and sensing ability. They are often
part of a larger embedded system, such as hazmat and security systems, and they are
normally connected to an audible alarm or interface. Because gas sensors are constantly
interacting with air and other gasses, they have to be calibrated more often than many other
types of sensors. Based on the concentration of the gas the sensor produces a corresponding
potential difference by changing the resistance of the material inside the sensor, which can be
measured as output voltage. Based on this voltage value the type and concentration of the gas
can be estimated. There are many types of Gas sensors but the MQ type gas sensors are
commonly used and widely popular so will focus more on these types of sensors for this
article.

Gas sensor

Type of Gas sensor

Gas sensors are typically classified into various types based on the type of the sensing
element it is built with. Below is the classification of the various types of gas sensors based
on the sensing element that are generally used in various applications:

 Metal Oxide based gas Sensor.


 Optical gas Sensor.
 Electrochemical gas Sensor.
 Capacitance-based gas Sensor.
 Calorimetric gas Sensor.
 Acoustic based gas Sensor.

Construction of gas sensor

Construction of gas sensor the most commonly used gas sensor is the Metal oxide
semiconductor based gas sensor. All Gas sensors will consist of a sensing element which
comprises of the following parts.

 Gas sensing layer


 Heater Coil
 Electrode line
 Tubular ceramic
 Electrode

MQ2 Gas Sensor


MQ2 gas sensor can be used to detect the presence of LPG, Propane and Hydrogen,
also could be used to detect Methane and other combustible steam, it is low cost and suitable
for different application. Sensor is sensitive to flammable gas and smoke. Smoke sensor is
given 5 volt to power it. Smoke sensor indicate smoke by the voltage that it outputs .More
smoke more output. A potentiometer is provided to adjust the sensitivity. Sn02 is the sensor
used which is of low conductivity when the air is clean. But when smoke exist sensor
provides an analog resistive output based on concentration of smoke. The circuit has a heater.
Power is given to heater by VCC and GND from power supply. The circuit has a variable
resistor. The resistance across the pin depends on the smoke in air in the sensor. The
resistance will be lowered if the content is more. And voltage is increased between the sensor
and load resistor.
Specifications:
 Power Supply: 4.5V to 5V DC
 High sensitivity to Propane, Smoke, LPG and Butane
 Wide range high sensitivity to Combustible gases
 Long life and low cost
 Analog and Digital output available
 Onboard visual indicator (LED) for indicating alarm
 Compact design and easily mountable
 Simple 4 PIN header interface
 Drive circuit is simple.
 Sensor Type : Semiconductor
 Concentration : 300-10000ppm ( Combustible gas)
 Supply voltage =5v

METHOD:

1. Step to add library component at the Proteus

2. The zip file component


in the new folder

1. The zip file of


component is
extracted

3. The component in
the folder was copy

4. The component that


copy was paste in
library for Proteus 8
professional
2. Step to use the Proteus

1. The
Proteus was
open and the
Project is
name as gas
sensor

The
Proteus
was open

2. The
component
was choose for
build the
circuit

3. All the
component that
use for this circuit

4. All the
component is
arrange in the
schematic
5. All the component
have the connection
and the power and the
ground was used.

6. Coding for Arduino


9. The folder of MQ- 2
Sensor

7. The Hex file is


used as a program
file in the
component

8. Folder of hex file is


place in the gas sensor
MQ2

8. Folder of hex
file is place in the
Arduino Uno
Arduino Uno buzzer Display LM016L

Logic toggle
NPN MQ-2 Gas sensor
Components that used

RESULT:
When the logic state is 1 the gas is detected
The buzzer is sound on as the gas sensor is detect the gas
*Logic state as a subject that MQ-2 can detect such as smoke or gas butane

When the logic state is 0 the there is no gas is detected


The buzzer is not sound as the gas is not detect the gas.
*Logic state as a subject that MQ-2 can detect such as smoke or gas butane

DISCUSSION:
In this lab, we have discussed about the gas sensor. The gas sensor that we used is
MQ-2 gas sensor. The MQ-2 gas sensor can detect Propane, Smoke, LPG and Butane. In this
lab we use the Proteus 8 professional to draw the circuit. Firstly, the library for the
component that we use such as gas sensor and Arduino is installed. The library is installed in
library of Proteus. After that, the Proteus is used. The component to build the circuit has been
choose in the library Proteus. The component that we use is Arduino Uno, MQ-2 gas sensor,
logic toggle, display, buzzer and NPN. The Arduino Uno is function as a controller of the
circuit. The MQ-2 gas sensor is function to detect the gas. The logic state as a subject that
MQ-2 can detect. The display is function to display the status of detected. The buzzer as an
output. When the sensor is detect the buzzer will sound on. Then the component is arranged
in the schematic diagram of Proteus. All the component is connected with the wire. The
ground and the power is used. Then is the circuit was run. The result is when the logic toggle
is 1 the display will show “GAS DETECTED” and the sensor is sound on. When the logic
toggle is 0, the display will not display and the buzzer will not sound on.

CONCLUSION:
As the conclusion, in this lab we are able to use the Proteus 8 professional to draw the
circuit. Other than that, we also know how to install the library of the component in the
Proteus. We understand the sensor that we use in this lab, which is gas sensor. We know the
function, construction and application of gas sensor. Gas sensor function to detect the
presence or concentration of gases in the atmosphere. The application of gas sensor is used in
industries to monitor the concentration of the toxic gases, used in households to detect an
emergency incidents, used at oil rig locations to monitor the concentration of the gases those
are released, used at hotels to avoid customers from smoking, used in air quality check at
offices, used in air conditioners to monitor the CO2 levels, used in detecting fire, used to
check concentration of gases in mines and breath analyser. The sensor that we choose is MQ-
2. Moreover, in this lab we also know on how to create or draw the circuit related to the
sensor. We also understand the coding of Arduino. The coding that use for every sensor is
different. We also know and learn more about every Pin of the component that used. Lastly
we also learned and know on how to do the connection of the component in the circuit.

You might also like