CN104318720A - STC89C52-based smoke and gas alarm system - Google Patents

STC89C52-based smoke and gas alarm system Download PDF

Info

Publication number
CN104318720A
CN104318720A CN201410463364.3A CN201410463364A CN104318720A CN 104318720 A CN104318720 A CN 104318720A CN 201410463364 A CN201410463364 A CN 201410463364A CN 104318720 A CN104318720 A CN 104318720A
Authority
CN
China
Prior art keywords
module
chip microcomputer
gas
stc89c52
alarm system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410463364.3A
Other languages
Chinese (zh)
Inventor
李相武
王瑛
李忠喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Hengyu Mingxiang Technology Co Ltd
Original Assignee
Harbin Hengyu Mingxiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Hengyu Mingxiang Technology Co Ltd filed Critical Harbin Hengyu Mingxiang Technology Co Ltd
Priority to CN201410463364.3A priority Critical patent/CN104318720A/en
Publication of CN104318720A publication Critical patent/CN104318720A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/12Alarms for ensuring the safety of persons responsive to undesired emission of substances, e.g. pollution alarms
    • G08B21/16Combustible gas alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Combustion & Propulsion (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)

Abstract

The invention aims at providing an alarm system that is simple and easy to use and is capable of detecting smoke and gas effectively. The alarm system is composed of a single-chip microcomputer STC89C52 minimum system module as a core, a gas sensor module, a temperature sensor module, a serial port circuit module, and an audible-visual alarm module. When concentration of combustible gas exceeds a security standard value, a smoke sensor outputs a low level; because the I/O port of the single-chip microcomputer is in a full-duplex mode, the single-chip microcomputer determines the output level state to control whether the audible-visual alarm module enters a work state and, that is, to control whether to emit alarm information. Meanwhile, the environment temperature information is collected by the temperature sensor; the collected environment temperature information is transmitted to the single-chip microcomputer; analysis and calculation are carried out on the data by the single-chip microcomputer; and then the obtained environment temperature and smoke and gas information are transmitted to an upper computer for visual displaying.

Description

A kind of smog gas alarm system based on STC89C52
Technical field
what the present invention relates to is a kind of alarm monitoring system, particularly relates to a kind of smog gas alarm system based on STC89C52.
Background technology
smog gas leak detector is that one is very important, and using also is very general a kind of alarm.Along with inflammable gas use in society reach universal, recur to our life bring huge simultaneously easily, bring threat also to our security of the lives and property.In recent years, because the fire explosion event that Combustible Gas Leak causes gets more and more.Meanwhile, the intoxicating phenomenon of carbon monoxide also happens occasionally.Safety, without minor matter, uses alarm, danger is stifled in the cradle and seem more and more important.
since entering 21 century, people are to the further raising of the requirement of living standard, and awareness of safety is also more and more stronger.Meanwhile, be that the electronic product of representative relies on its superior performance with single-chip microcomputer, reliable stability, and longer serviceable life, the use in real life reaches universal.Its appearance, also really for our life brings huge facility.So, in order to the safety of the demand and people's lives and properties that adapt to market, propose to utilize Single Chip Microcomputer (SCM) system carry out to inflammable gas carry out effective protection become people in the urgent need to.Therefore, it is very meaningful and necessary for how studying SCM Based smog gas alarm system.
Summary of the invention
the object of this invention is to provide a kind of warning system be simple and easy to smog coal gas effectively can be detected.
the object of the present invention is achieved like this:
based on a smog gas alarm system of STC89C52, it is characterized in that: by single-chip microcomputer STC89C52 minimum systematic module be core, gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module form; Described single-chip microcomputer STC89C52 minimum systematic module is that core connects gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module respectively; Information transmission wireless transport module transmitting terminal and the wireless transport module receiving end of described single-chip microcomputer STC89C52 minimum systematic module and host computer realize wireless transmission.
what described gas sensor adopted is MQ-2/MQ-2S gas sensor.
described temperature sensor adopts DS18B20.
described sound and light alarm module adopts hummer and light emitting diode.
the warning system of the present invention's design by single-chip microcomputer STC89C52 minimum systematic module be core, gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module form.When the concentration of inflammable gas exceedes safe standard value, smoke transducer will export a low level, because the I/O mouth of single-chip microcomputer is full duplex, so single-chip microcomputer is namely by judging whether the height of its output level enters duty to control sound and light alarm module, namely sends warning message.Simultaneously, the temperature information of environment can also be gathered by temperature sensor, then the ambient temperature information collected also can be passed to single-chip microcomputer, the environment temperature of gained and smog coal gas information, by the analytical calculation of single-chip microcomputer, are finally passed to host computer and show intuitively by these data.
what gas sensor adopted is MQ-2/MQ-2S gas sensor.The gas sensitive that it adopts is tin ash (SnO2), and its conductivity in clean air is lower.When there being inflammable gas to be present in the environment at sensor place, the conductivity of sensor will increase along with the increase of the concentration of the inflammable gas in air.As long as use simple driving circuit can realize the change of conductivity being converted to the output signal that this gas concentration is corresponding intuitively to export.
temperature sensor adopts DS18B20, and its course of work is: before serviceability temperature sensor, first must carry out reset operation to chip.Reset level operation terminate after, the unibus of data should be pulled to high level by controller, so as to receive after 15 ~ 60us sensor send there is pulse, there is the low level signal that pulse is a 60 ~ 240us.This is that communicating pair is just reached to basic agreement, and ensuing work will be the communication of the data between single-chip microcomputer and DS18B20.The communication 4 will will carried out between controller and temperature sensor after completing above two work, after the instruction of ROM sends DS18B20 to, back to back is exactly send the operational order to storer.One the operational order of storer is terminated after if what will carry out is the work period that data that the execution of instruction read-write or data will read the temperature of current environment need execution twice, the first job cycle performs reset instruction, skip ROM instruction, the switching time of the operational order performing temperature transition storer and then the temperature waiting for about 500uS.And then the second period performed is reset instruction, skips ROM instruction, performs the memory operation instruction reading RAM, read data instruction.
sound and light alarm module adopts hummer and light emitting diode to realize.When single-chip microcomputer P1.2 mouth is placed in high level, hummer and alarm lamp two ends do not have pressure reduction, they all can not work, once detect that alerting signal inputs, P1.5 mouth can be set to low level, and now because two ends have pressure reduction, then hummer can work, light emitting diode also can be luminous, thus realize sound and light alarm.
host computer interface has instruction lower left of reporting to the police be the button that logs off, lower right is the button starting acknowledge(ment) signal.Green expression does not have warning message, and when adding inflammable gas in the environment, green area changes, and becomes red, indicates warning message.
advantage of the present invention and effect:
(1) compared with existing smog gas alarm system, the present invention is in the smog coal gas information that can detect delicately in air and make outside warning measure rapidly, obtained information can also be passed to host computer by wireless transport module., while reporting to the police to smog coal gas information, can detect temperature, the information obtained also can pass to host computer by wireless transport module and show intuitively meanwhile, convenient monitoring and Timeliness coverage hidden danger.
(2) the present invention adopts MQ-2/MQ-2S gas sensor as detecting sensor, it is higher to the sensitivity of propane, liquefied gas, hydrogen, also be very desirable to the detection of rock gas and other inflammable gas simultaneously, make the present invention can be applicable to multiple applied environment and there is higher cost performance.
Accompanying drawing explanation
fig. 1 is system chart of the present invention;
fig. 2 is sound and light alarm module principle figure of the present invention;
fig. 3 is host computer interface figure of the present invention, and wherein (a) does not have warning message for display, and (b) is display alarm information.
Embodiment
below in conjunction with accompanying drawing citing, the present invention is described in more detail:
composition graphs 1, Fig. 1 is system chart of the present invention.The warning system of the present invention's design by single-chip microcomputer STC89C52 minimum systematic module be core, gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module form.When the concentration of inflammable gas exceedes safe standard value, smoke transducer will export a low level, because the I/O mouth of single-chip microcomputer is full duplex, so single-chip microcomputer is namely by judging whether the height of its output level enters duty to control sound and light alarm module, namely sends warning message.Simultaneously, the temperature information of environment can also be gathered by temperature sensor, then the ambient temperature information collected also can be passed to single-chip microcomputer, the environment temperature of gained and smog coal gas information, by the analytical calculation of single-chip microcomputer, are finally passed to host computer and show intuitively by these data.
what gas sensor adopted is MQ-2/MQ-2S gas sensor.The gas sensitive that it adopts is tin ash (SnO2), and its conductivity in clean air is lower.When there being inflammable gas to be present in the environment at sensor place, the conductivity of sensor will increase along with the increase of the concentration of the inflammable gas in air.As long as use simple driving circuit can realize the change of conductivity being converted to the output signal that this gas concentration is corresponding intuitively to export.
temperature sensor adopts DS18B20, and its course of work is: before serviceability temperature sensor, first must carry out reset operation to chip.Reset level operation terminate after, the unibus of data should be pulled to high level by controller, so as to receive after 15 ~ 60us sensor send there is pulse, there is the low level signal that pulse is a 60 ~ 240us.This is that communicating pair is just reached to basic agreement, and ensuing work will be the communication of the data between single-chip microcomputer and DS18B20.The communication 4 will will carried out between controller and temperature sensor after completing above two work, after the instruction of ROM sends DS18B20 to, back to back is exactly send the operational order to storer.One the operational order of storer is terminated after if what will carry out is the work period that data that the execution of instruction read-write or data will read the temperature of current environment need execution twice, the first job cycle performs reset instruction, skip ROM instruction, the switching time of the operational order performing temperature transition storer and then the temperature waiting for about 500uS.And then the second period performed is reset instruction, skips ROM instruction, performs the memory operation instruction reading RAM, read data instruction.
composition graphs 2, Fig. 2 is sound and light alarm module principle figure of the present invention.Sound and light alarm module adopts hummer and light emitting diode to realize.When single-chip microcomputer P1.2 mouth is placed in high level, hummer and alarm lamp two ends do not have pressure reduction, they all can not work, once detect that alerting signal inputs, P1.5 mouth can be set to low level, and now because two ends have pressure reduction, then hummer can work, light emitting diode also can be luminous, thus realize sound and light alarm.
composition graphs 3, Fig. 3 is host computer interface figure of the present invention, and wherein (a) does not have warning message for display, and (b) is display alarm information.Host computer interface has instruction lower left of reporting to the police be the button that logs off, lower right is the button starting acknowledge(ment) signal.Green expression does not have warning message, and when adding inflammable gas in the environment, green area changes, and becomes red, indicates warning message.
?

Claims (4)

1., based on a smog gas alarm system of STC89C52, it is characterized in that: by single-chip microcomputer STC89C52 minimum systematic module be core, gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module form; Described single-chip microcomputer STC89C52 minimum systematic module is that core connects gas sensor module, temperature sensor module and serial port circuit module and audible-visual annunciator module respectively; Information transmission wireless transport module transmitting terminal and the wireless transport module receiving end of described single-chip microcomputer STC89C52 minimum systematic module and host computer realize wireless transmission.
2. a kind of smog gas alarm system based on STC89C52 according to claim 1, is characterized in that: what described gas sensor adopted is MQ-2/MQ-2S gas sensor.
3. a kind of smog gas alarm system based on STC89C52 according to claim 1, is characterized in that: described temperature sensor adopts DS18B20.
4. a kind of smog gas alarm system based on STC89C52 according to claim 1, is characterized in that: described sound and light alarm module adopts hummer and light emitting diode.
CN201410463364.3A 2014-12-08 2014-12-08 STC89C52-based smoke and gas alarm system Pending CN104318720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410463364.3A CN104318720A (en) 2014-12-08 2014-12-08 STC89C52-based smoke and gas alarm system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410463364.3A CN104318720A (en) 2014-12-08 2014-12-08 STC89C52-based smoke and gas alarm system

Publications (1)

Publication Number Publication Date
CN104318720A true CN104318720A (en) 2015-01-28

Family

ID=52373944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410463364.3A Pending CN104318720A (en) 2014-12-08 2014-12-08 STC89C52-based smoke and gas alarm system

Country Status (1)

Country Link
CN (1) CN104318720A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105118219A (en) * 2015-08-20 2015-12-02 浙江中控研究院有限公司 Configurable smoke detector based on CMOS chip and smoke detection network
CN107085914A (en) * 2017-06-02 2017-08-22 成都科鸿达科技有限公司 A kind of Intelligent indoor smog and flammable gas alarm based on APP
CN112255282A (en) * 2020-10-12 2021-01-22 哈尔滨理工大学 Binary mixed gas concentration detector based on information fusion technology

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060114113A1 (en) * 2004-11-26 2006-06-01 Koichi Yokosawa Gas detection system
CN203260136U (en) * 2013-06-03 2013-10-30 廖航 Household security device based on GSM network and 2G wireless technology
GB2505213A (en) * 2012-08-23 2014-02-26 Ta-Tsun Su Gas supply interruption and alarm device for a gas stove
CN203503102U (en) * 2013-10-21 2014-03-26 北京电子科技职业学院 Safety protection switch box
CN103996261A (en) * 2014-01-16 2014-08-20 公安消防部队昆明指挥学校 Fire alarm information acquisition system
CN104021610A (en) * 2014-06-23 2014-09-03 国家电网公司 Burglary prevention access control device based on Bluetooth technique and using method of device
CN104123819A (en) * 2014-08-11 2014-10-29 中南林业科技大学 Fireproof and thief-proof alarming system based on single-chip microcomputer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060114113A1 (en) * 2004-11-26 2006-06-01 Koichi Yokosawa Gas detection system
GB2505213A (en) * 2012-08-23 2014-02-26 Ta-Tsun Su Gas supply interruption and alarm device for a gas stove
CN203260136U (en) * 2013-06-03 2013-10-30 廖航 Household security device based on GSM network and 2G wireless technology
CN203503102U (en) * 2013-10-21 2014-03-26 北京电子科技职业学院 Safety protection switch box
CN103996261A (en) * 2014-01-16 2014-08-20 公安消防部队昆明指挥学校 Fire alarm information acquisition system
CN104021610A (en) * 2014-06-23 2014-09-03 国家电网公司 Burglary prevention access control device based on Bluetooth technique and using method of device
CN104123819A (en) * 2014-08-11 2014-10-29 中南林业科技大学 Fireproof and thief-proof alarming system based on single-chip microcomputer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105118219A (en) * 2015-08-20 2015-12-02 浙江中控研究院有限公司 Configurable smoke detector based on CMOS chip and smoke detection network
CN105118219B (en) * 2015-08-20 2017-12-15 浙江中控研究院有限公司 Configurable smoke-detectors and Smoke Detection network based on CMC chips
CN107085914A (en) * 2017-06-02 2017-08-22 成都科鸿达科技有限公司 A kind of Intelligent indoor smog and flammable gas alarm based on APP
CN112255282A (en) * 2020-10-12 2021-01-22 哈尔滨理工大学 Binary mixed gas concentration detector based on information fusion technology

Similar Documents

Publication Publication Date Title
CN203644168U (en) GSM-based household robot alarm system
CN104200601A (en) Automatic fire alarm system based on 51 single-chip processor
CN103839383A (en) Gas alarm
CN203596071U (en) Intelligent monitoring device for dwelling fire
CN204066312U (en) Based on the automatic fire alarm system of 51 single-chip microcomputers
CN207115708U (en) A kind of kitchen fuel gas alarm
CN104318720A (en) STC89C52-based smoke and gas alarm system
CN204390401U (en) A kind of smog autoalarm
CN204759677U (en) Monitoring and controlling means of temperature and smog concentration
CN203630901U (en) Fire alarm apparatus
CN202995977U (en) Household combustible gas safety detecting and alarming system
CN201917998U (en) Stand-alone anti-explosion alarm for inflammable gas
CN105118217A (en) Control method of firefighting alarm
CN103646489A (en) Fire hazard alarm device
CN204406114U (en) A kind of gas pressure supervising device
CN202838615U (en) Gas alarm
CN202549037U (en) Household wireless alarm device
CN202956866U (en) Indoor harmful gas alarm device
CN104751590A (en) Single-chip microcomputer based smoke alarm and alarm method thereof
CN104021642A (en) Resistance type fire alarm
CN105608843A (en) Combustible gas alarm control system
CN203311578U (en) Smog detection alarm apparatus
CN103559766A (en) Fire alarm
CN203338532U (en) Gas leakage detecting and processing device
CN203149761U (en) Singlechip-based fire alarm control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150128