08-08-2015, 09:56 AM
code for pic microcontroller used in gas leakage detection using gsm
ABSTRACT
Safety plays a major role in today’s world and it is necessary that good safety systems are to be implemented in places of education and work. This work modifies the existing safety model installed in industries and this system also be used in homes and offices. The main objective of the work is designing microcontroller based toxic gas detecting and alerting system. The hazardous gases like LPG and propane were sensed and displayed each and every second in the LCD display. If these gases exceed the normal level then an alarm is generated immediately and also an alert message (SMS) is sent to the authorized person through the GSM. The advantage of this automated detection and alerting system over the manual method is that it offers quick response time and accurate detection of an emergency and in turn leading faster diffusion of the critical situation.
INTRODUCTION
The increase in the development of technology and the human race, we failed to take care about the surroundings in which we live in. Thus we polluted the environment and thereby reducing the quality of the place we live. Even though there are several aspects of pollution such as soil, air and water pollution, out of these air pollution acts as the serious aspect as the other can detected visually and by taste, but the polluted air cannot be detected as it can be odorless, tasteless and colorless. Hence there is a growing demand for the environmental pollution monitoring and control systems. In the view of the ever-increasing pollution sources with toxic chemicals, these systems should have the facilities to detect and quantify the sources rapidly. Toxic gases are one that causes serious health impacts, but are also used in industries in large quantities. These gases have to be monitored; such that increase in the normal level of them could be known and proper precaution measures can be taken. But the current systems available are not so portable and are costly and difficult to implement. So an embedded system is designed using PIC 16F877 Microcontroller, for the purpose of detection of hazardous gas
leakage, which in turn avoids the endangering of human lives. The hazardous gases like LPG and propane were considered here. If these hazardous gases level exceeds normal level that is LPG>1000ppm or Propane>10000ppm then an alarm is generated immediately, and a SMS is sent to the authorized user as an alert message, which leads to faster diffusion of emergency situation. The system is affordable and can be easily implement in the chemical industries and in residential area which is surrounded by the chemical industries or plants, to avoid endangering of human lives. The system also supports to provide real-time monitoring of concentration of the gases which presents in the air. As this method is automatic the information can be given in time such that the endangering of human lives can be avoided. Ideal gas sensor is used to detect the presence of a dangerous LPG leak in your car or in a service station, storage tank environment. This unit can be easily incorporated into an alarm unit, to sound an alarm or give a visual indication of the LPG concentration. The sensor has excellent sensitivity combined with a quick response time. The sensor can also sense iso-butane, propane, LNG and cigarette smoke.If the LPG sensor senses any gas leakage from storage the output of this sensor goes low. This low signal is monitored by the microcontroller and it will identify the gas leakage. Now the microcontroller is turn on LED and Buzzer. After few milliseconds delay, it also turn on exhaust fan for throwing gas out and continue send messages as ‘GAS LEAKAGE’ to a mobile no, written in c-code.