Design and Development of an Integrated Relative Humidity Temperature Measurement and Gaslpg Sensing System Using Pic18f25k20
Design and Development of an Integrated Relative Humidity Temperature Measurement and Gaslpg Sensing System Using Pic18f25k20
p-ISSN:2347-2316
Research Article
INTRODUCTION
Today as the world is modernizing, the life of common man becomes more comfortable with the use of advanced technologies.
Intelligent systems are using most of these technologies. These intelligent systems comprises of different subsystems for
lighting control, telegraphed systems, radio systems, temperature monitoring, gas level monitoring and certain other systems.
This paper has carried out with a design to build an intelligent system which could be governed in humidity, temperature, and
gas level monitoring (Figure 1). Nowadays; there is lack of awareness to the importance of humidity in our daily walk of life.
Suitable humidity level is needed to stabilize our environment and the world ecosystem including ourselves. For example, in an
AC (aircondition room) room suitable temperature with humidity levels gives comfort but low temperature or high temperature
causes discomport because suitable humidity cannot maintained in that room (Figure 2). Temperature monitoring is the common
measurable parameter in the environment and gas sensing also plays an important role. When gas leakage occurs in home if
persons are at home or not leakage of gas detected with systems [1].
Keeping the above facts in view point, we have developed a portable system for temperature, humidity and gas detection
system (Table 1). Humidity and temeprature monitoring have placed important role in many sectors. such as dampness, dryness
in environment causes discomfort to public, toohigh or toolow humidity level condition can effect the quality of wood furniture and
important appliance in agriculture [2]. In industrial sector for chicken’s eggs hatching humidity and temperature monitoring needed
[3]
. Temperature parameters effect the plant growth. When the leaf temperature is 76ºF, its transpiration will be the maximum. For
9V power
5V Regulator
supply
MQ-2
gas
sensor PIC
18F25K20
Microcont LCD
HSM roller
-20G
Figure 2: The schematic diagram of the relative humidity,temperature and gas measurement system.
Gas detecting systems are also have plenty of uses. Which are used in workshops, commercial buildings and fire etc [6]. Gas
leakage effects the humidity and temperature parameters like leakage of gas in hazardous environment creates an impact in
increasing the concentration of temperature and humidity [7]. Which used in industry sector also, why because any industries like
automobile, steel and metal processing, power generation, food and drink, chemical industries, etc., gas usage plays an important
role. Thus many companies responsibility to providing safety systems design to protect the personnel, equipment and processes
of customers against potential dangers. Many industries depend on the consumption or release of gases on a dailybasis. In some
industries pipes with gas far away from the workers and some times which cannot be visible in such cases when gas sensors are
installed which give the leakage information. At least one gas sensor has to be mounted every kilometer along the pipes supplying
LPG to house holds to protect them from gas incidents [8].
Hence we would like to propose this device that can read humidity level and the temperature in order to help us to be aware
of humidity condition around us and gas level in houses and in the atmosphere. Dimensions of the sensors used in the present
developed system are small enough to incorpoate them in a portable unit [9]. With the help of the designed and developed set up
the Relative humidity, Temperature and Gas sensing in the atmosphere are measured. In different journals similar type of work
is carried out but salientfeatures of this work are that the system is portable, can take it anywhere in the field and it works with
low power.
PIC18F25K20 microcontroller is low-cost high performance controller from microchip company. It has exceptional features
like whose operating voltage range is 1.8V to 3.6V. A powerful 8-bit RISC CPU, self-programming under software control, has
Precision 16 MHz internal oscillator block and at sleep mode controller consumes 100 nA current (Figure 3). Analog-to-Digital
Converter (ADC) module has 10-bit resolution with 13 External Channels. In-circuit debuging with two pins [12].
Humidity Sensor
HSM-20G humidity sensor is a type of sensor that senses the amount of water vapor in air and temperature in the
atmosphere. Output of the HSM-20G sensor is Voltage analogoutput for both humidity and temperature,Small size makes it easy
to conceal and high sensitivity to humidity in the air [13].
Gas Sensor
MQ-2 gas sensor is mainly use for the detection of LPG, butane, propane, methane, alcohol, hydrogen, and smoke. They are
used in gas leakage detecting equipments in houses and industry. MQ-2 gas sensor has wide detecting scope, fast response and
high sensitivity, stable and long life and simple driver circuit [14].
Interface Lcd (2 X 16 Characters) With PIC18F25K20
TO use the LCD display, users have to solder 16 pin header pin, LCD used to display the corresponding data. JHD162A LCD
is used in this project.
User Interface
Generally the goal of human being is to produce a user interface which makes it easy, efficient and enjoyable to operate a
machine in the way which produces the desired results. The developed system designed like such to read the value of humidity,
temperature and gas level. First user will “ON” the main switch to provide power to the circuit then sensors will operate gives
corresponding analog voltages to PIC by using program corresponding analog voltaeges converted into RH, Degree celcuis, and
PPM finally data will be display on LCD.
Calibration Of Sensors
For relative humidity and temperature sensing HSM-20G sensor is used. It is an analog voltage converter. By using Figure 4
calibration curve data relative humidity measurement equation is obtained. In this the output voltage and RH are related by the
equation [15,16] relative humidity (RH) = 31*(analog voltage) – 12.
MQ-2 gas sensor is used to sense the LPG ,Smoke gas. MQ-2 sensor is a resistive type and output is the analog voltage. By
using Figure 6 calibration curve data gas level measurement equation is obtained. So the relation between resistance of sensor
(Rs) and analog voltage (Vrl) is [17,18] Rs = (Vc/Vrl -1) Rl .
RESULTS
Results optained from present developed system are tablelated below. Temperature was compared with another standard
temperature sensor as thermometer and relative humidity was compared with standard dry and wet thermometer which are
available at whether station near to Srikrishnadevaraya University Anantapuramu (Figure 7). Good correlation in results and error
obtained from designed system is predictable. In temperature measurement average error is 1.49%. In humidity measurement
average error is 5.81%. The gas sensor was used to measure the air quality in several places inside the Srikrishnadevaraya
University and included different gases levels but focused mainly on measuring two main gases: Liquid Petroleum Gas (LPG) and
SMOKE (Figure 8). A sample of obtained results from both clean environment and lab are shown in Table 2.
CONCLUSION
A relative humidity, temperature and gas sensing system is developed. Since the sensors output is directly connected to
the A/D converter channels, there is no need of trimming for adjustment of analog output. The developed system together with
the stable reference reduces the error and noise. The sensors comes with atmosphere calibrated data. Hence errors due to the
developed system are predictable. Moreover,the system is capable of independent humidity, temperature and gas sensing (LPG).
Results obtained also fruitful.
REFERENCES
1. Moshiri B, Khaikhali AM, Momeni HR. Designing a Home Security System Using Sensor Data Fusion with DST and DSmT
Methods, IEEE Xplore Digital Library, Information Fusion. 10th International Conference. 2007.
2. Ramamurthy B. Development of a Low-cost GSM SMS-Based Humidity Remote Monitoring and Control System for Industrial
Applications. IJACSA. 2010; 1: 4.
3. Goudar MD. Microcontroller based optimized controller for fruit drying, Jr. of instrum soc of India. 2009; 39: 1.
4. Muhammad YH. A portable and fast response digital thermo-hygrocontrolller for Agricultural, Commercial and Industrial
Use, Pak J Agri Sci. 2011; 48: 79-85.
5. Al-Haija QA, Al-Qadeeb H, Al-Lwaimi A. Case study: Monitoring of AIR quality in king faisal university using a microcontroller
and WSN, procedia computer science. 2013; 21: 517-521.
6. Edward JS. Implimentation of a simple Wireless Sensor Node for the Detection of Gasecous substances Leakage,
International Journal on Smart Sensing and intelligent systems. 2011; 4: 482-495.
7. Suswethaparisineti. Designand Development of Fault Tolerant Control system for an Infant Incubator, IJSER.2011. 2: 1-6
8. Ramya V, Palaniappan B. Embedded system for Hazardous gas detection and alerting, IJDPS. 2012; 3: 287-300.
9. Mohammadreza H. A smart Gas sensor Insensitive to Humidity and TemperatureVariations, IOP Conf. SeriesMater. Sci.
Eng. 17. 2011.
10. Laxmi S. Kernel Approach on detection of Ethanol Concentration Using Zno2 Gas sensor, IJMLC. 2012; 2: 71-75.
11. Bissi L. A Programmable Interface circuit for an Ultra low power Gas sensor, IEEE Transactions on Instrumentation and
Measurement. 2011; 60: 282-289.
12. PIC18F25K20 Datasheet.pdf
13. HSM-20G sensor Datasheet.pdf
14. MQ-2 gas sensor Datasheet.pdf
15. Sharif MR. A prototype Design to Maintain Temperature and Humidity in an open compound Restaurant, European Journal
of Scientific. 2011; 63: 164-171.
16. Sarma U. Design and Development of a Relative Humidity and Room Temperature measurement system with on line Data
logging Feature for Monitoring the Fermentation Room of tea Factory, Sensors and transducers Journal. 2011; 135: 126-
133.
17. Sheik RM, Komalprasad D, Jayant R. Multiple gas analyzer and Indicator, IJMER. 2012; 2: 2753-2755.
18. Rakesh M, Arul PA. Gas Sensor profiling, ASCNT. 2011.
19. Kai S. A Wireless Electronic Node System Using a Fe2O3 Gas Sensing array and Least Sguares suppor vector regression,
Sensors 11. 2011.
RRJPAP | Volume 3 | Issue 1 | January-March, 2015 7