Lab 3 - Gas Sensor (Iman, Faiz, Anas)
Lab 3 - Gas Sensor (Iman, Faiz, Anas)
Lab 3 - Gas Sensor (Iman, Faiz, Anas)
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
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:
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.
METHOD:
3. The component in
the folder was copy
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.
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
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.