CN204117304U - A kind of radio house safety-protection system based on ZigBee - Google Patents

A kind of radio house safety-protection system based on ZigBee Download PDF

Info

Publication number
CN204117304U
CN204117304U CN201420526768.8U CN201420526768U CN204117304U CN 204117304 U CN204117304 U CN 204117304U CN 201420526768 U CN201420526768 U CN 201420526768U CN 204117304 U CN204117304 U CN 204117304U
Authority
CN
China
Prior art keywords
module
function module
zigbee
low
protection 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.)
Expired - Fee Related
Application number
CN201420526768.8U
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.)
QINHUANGDAO XINGLONG HUB CO Ltd
Donghua University
National Dong Hwa University
Original Assignee
QINHUANGDAO XINGLONG HUB CO Ltd
Donghua University
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 QINHUANGDAO XINGLONG HUB CO Ltd, Donghua University filed Critical QINHUANGDAO XINGLONG HUB CO Ltd
Priority to CN201420526768.8U priority Critical patent/CN204117304U/en
Application granted granted Critical
Publication of CN204117304U publication Critical patent/CN204117304U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Alarm Systems (AREA)

Abstract

The utility model relates to a kind of radio house safety-protection system based on ZigBee, comprises host function module and extension function module, and described host function module has been used for wireless receiving and has reported to the police; Described extension function module be used for indoor signal monitoring and to described host function module wireless transmission monitoring information; Described extension function module comprises the first low-power scm, and described first low-power scm is connected with hummer with monitoring part, a ZigBee transparent transmission respectively; Described host function module comprises the second low-power scm, and described second low-power scm is connected with the 2nd ZigBee transparent transmission with described GSM transport module, LCD MODULE respectively.The utility model can allow user take measures to ensure the safety of property and life in time.

Description

A kind of radio house safety-protection system based on ZigBee
Technical field
The utility model relates to home security technical field, particularly relates to a kind of radio house safety-protection system based on ZigBee.
Background technology
Along with China's science and technology and economic development, the consciousness of people to personal safety and property safety strengthens gradually.How to strengthen also more and more being subject to people's attention the problem of house security.Domestic safety prevention system ubiquity price common is at present high, installs the problems such as trouble.A lot of furniture appliance even adjusts gravely in order to coordinate security protection house system to make, and this needs user's too time and effort consuming of domestic safety prevention system to fitting up shaping family.Some safety-protection system carries out remote monitoring as used camera in room, though do Important Adjustment without the need to making the home appliance in room, but this monitoring system needs to use special communication line to realize, and needs special people to carry out Real Time Observation and analysis to the video pictures that camera transmits.This Meteorological for average family is too high, therefore cannot be promoted in common home security.
In recent years along with Radio Transmission Technology and data acquisition technology development, wireless sensor network is used widely in actual life.ZigBee, as a kind of near radio network technology, has the features such as low-power consumption, low cost, high reliability and security, is highly suitable for each room mutual data transmission in a house.
Utility model content
Technical problem to be solved in the utility model is to provide a kind of radio house safety-protection system based on ZigBee, and user can be allowed to take measures to ensure the safety of property and life in time.
The utility model solves the technical scheme that its technical matters adopts: provide a kind of radio house safety-protection system based on ZigBee, comprise host function module and extension function module, described host function module has been used for wireless receiving and has reported to the police; Described extension function module be used for indoor signal monitoring and to described host function module wireless transmission monitoring information; Described extension function module comprises the first low-power scm, and described first low-power scm is connected with hummer with monitoring part, a ZigBee transparent transmission respectively; Described host function module comprises the second low-power scm, and described second low-power scm is connected with the 2nd ZigBee transparent transmission with described GSM transport module, LCD MODULE respectively; Described monitoring part has been used for indoor signal monitoring; A described ZigBee transparent transmission is used for the judged result of described first low-power scm to be sent to described 2nd ZigBee transparent transmission; Described hummer is used for onsite alarming; Described GSM transport module is used for, after receiving danger signal, warning information is sent to designated user; Described LCD MODULE is used for display in real time and passes the information of coming from extension function module.
Described monitoring part comprises infrared monitoring part, coal gas monitoring part and smoke transducer.
Described infrared monitoring part comprises pyroelectric infrared sensor and signal processing circuit, the infrared ray that described pyroelectric infrared sensor gives off by accepting human body, be translated into the low frequency electrical number relevant with human motion speed, distance, direction, by signal processing circuit, low frequency electrical number is carried out amplification ratio more comparatively to process, export described first low-power scm to digital signal form.
The operational amplifier of output valve through signal processing circuit inside of described pyroelectric infrared sensor carries out one-level amplification, then carries out secondary amplification through coupling amplifier, then obtains useful signal by the two-way amplitude discriminator process that voltage comparator is formed.
Described coal gas monitoring part comprises gas sensor, and described gas sensor is converted to different resistivity signal or voltage signal according to the CO gas concentration detected, through twin voltage comparer relatively after export described first low-power scm to.
Described gsm module adopts the GSM communication module of SIM300 module.
Described LCD MODULE is JLX12864G-086 dot matrix type liquid crystal display.
Beneficial effect
Owing to have employed above-mentioned technical scheme, the utility model compared with prior art, there is following advantage and good effect: whether the utility model can be monitored in room simultaneously and in real time has stranger to enter, whether there is gas leakage, whether there is fire to occur, can notify that when there is above dangerous situation user is to reach the property loss reducing user and the object guaranteed personal safety immediately.This system has the features such as with low cost, stable performance, laying be simple, therefore, is more conducive to being promoted in the home security of average family.
Accompanying drawing explanation
Fig. 1 is structural representation of the present utility model;
Fig. 2 is extension set modular circuit schematic diagram in the utility model;
Fig. 3 is host module circuit theory diagrams in the utility model;
Fig. 4 is the circuit theory diagrams of the single-chip microcomputer coupling part of downloader and extension set (or main frame) module in the utility model;
Fig. 5 is the circuit theory diagrams that in the utility model, button resets;
Fig. 6 is the circuit theory diagrams of the coupling part of infrared monitoring part and extension set module in the utility model;
Fig. 7 is the circuit theory diagrams of the coupling part of gas leak monitoring modular and extension set module in the utility model;
Fig. 8 is the circuit theory diagrams of the coupling part of smoke transducer and extension set module in the utility model;
Fig. 9 is the circuit theory diagrams of the coupling part of the first (or second) ZigBee module and extension set (or main frame) module single-chip microcomputer in the utility model;
Figure 10 is the circuit theory diagrams of the coupling part of gsm module and host function module in the utility model;
Figure 11 is the circuit theory diagrams of the coupling part of JLX12864G-086 liquid crystal and host function module in the utility model;
Figure 12 is the circuit theory diagrams of the coupling part of hummer and extension function module in the utility model.
Embodiment
Below in conjunction with specific embodiment, set forth the utility model further.Should be understood that these embodiments are only not used in restriction scope of the present utility model for illustration of the utility model.In addition should be understood that those skilled in the art can make various changes or modifications the utility model, and these equivalent form of values fall within the application's appended claims limited range equally after the content of having read the utility model instruction.
Embodiment of the present utility model relates to a kind of radio house safety-protection system based on ZigBee, and as shown in Figure 1, comprise host function module and extension function module, described host function module has been used for wireless receiving and has reported to the police; Described extension function module be used for indoor signal monitoring and to described host function module wireless transmission monitoring information; Described extension function module comprises the first low-power scm, and described first low-power scm is connected with hummer with monitoring part, a ZigBee transparent transmission respectively; Described host function module comprises the second low-power scm, and described second low-power scm is connected with the 2nd ZigBee transparent transmission with described GSM transport module, LCD MODULE respectively; Described monitoring part has been used for indoor signal monitoring; A described ZigBee transparent transmission is used for the judged result of described first low-power scm to be sent to described 2nd ZigBee transparent transmission; Described hummer is used for onsite alarming; Described GSM transport module is used for, after receiving danger signal, warning information is sent to designated user; Described LCD MODULE is used for display in real time and passes the information of coming from extension function module.
No matter be main frame or extension set module, low-power scm is all their core.For extension set, it is responsible for the signal of each monitoring part to carry out judging and analyzing, if analysis result represents that dangerous situation occurs, dangerous situation information to be sent on main frame by ZigBee transparent transmission and the hummer started in extension set module is reported to the police, if occur without dangerous situation, single-chip microcomputer still carries out data acquisition and discriminatory analysis with Fixed Time Interval.For main frame, the dangerous situation information from extension set to be shown by LCD liquid crystal by ZigBee module and dangerous situation information to be sent on user mobile phone by gsm module and carries out remote alarms by low-power scm in real time.
Described monitoring part comprises infrared monitoring part, coal gas monitoring part and smoke transducer.
Infrared monitoring part is made up of pyroelectric infrared sensor and special sensor signal processing circuit.The infrared ray of specific wavelength of pyroelectric infrared sensor by accepting human body and giving off, and be translated into the low frequency electrical number relevant with human motion speed, distance, direction etc.Sensor signal processing circuit is then amplified by this low frequency electrical number, the process such as to compare, and will steal feelings signal export with the form of digital signal.
Coal gas monitoring part is made up of special gas sensor and signal processing circuit.Gas sensor can convert different resistivity to or directly export different voltage so that single-chip microcomputer makes rational judgement for whether there is gas leak according to the CO gas concentration detected.Suggestion adopts the gas sensor with the filter cavity of filling activated charcoal to alleviate the interference of the gas such as oxides of nitrogen, alkanes.
Smoke transducer is used for the concentration of smoke particle in testing environment.The large type of smoke transducer on current market main two: photoelectric smoke sensor and ion type smog sensor.The cigarette sent due to most of Initial Stage of Fire is black smoke, and ion type smog sensor is higher to black smoke sensitivity relative to photoelectric smoke sensor.Therefore, recommendation ion type smog sensor.
ZigBee transparent transmission has two in the present system, is a ZigBee transparent transmission and the 2nd ZigBee transparent transmission respectively.One ZigBee transparent transmission is used for by the signal of point machine testing after single-chip microcomputer judges, if there is gas leak, corresponding situation is then sent to the 2nd ZigBee transparent transmission on main frame by fire or robber's feelings.Two ZigBee transparent transmissions are connected with the RS-232 interface of respective MCU respectively, will simplify system and module maintenance replacing widely.
To inform user on the phone number that warning information is sent to designated user by gsm module after receive the danger signal from extension set at main frame, so that user takes corresponding remedial measures in time.The GSM transport module that suggestion adopts expanding communication Interface realization RS-232 to communicate is to simplify the design of host function module.
LCD MODULE is used in real time display and passes the information of coming also can check dangerous situation information by liquid crystal when user is in from extension set.Owing to needing Display of Chinese characters when checking, therefore 12864 liquid crystal display adopting ORG technology are selected in suggestion, and its volume, there is larger advantage cost and single-chip processor i/o mouth resource occupation aspect relative to 12864 traditional liquid crystal display.
Because the stability of power supply is most important and system of considering is application placed in the middle of being in for the normal operation of native system.Therefore, the power supply adaptor of suggestion Direct Plug-In, can not only stably power to system and can reduce development difficulty.
The workflow of system is as follows:
[1]. after whole system being powered on, first the single-chip microcomputer of extension function module reads each sensor, if do not find, monitored parameter is the value being in dangerous situation state, then enter normal mode of operation.
[2]. under normal operating conditions, extension function module is followed with fixed cycle A and bad to be read each sensor, and judges that whether the parameters that reads is the value under normal condition.
[3] if. extension function module finds that a certain monitoring parameter is the value under dangerous situation state at work, then end epicycle read each sensor after enter alarm mode of operation.Value when whether being dangerous situation according to parameters, mail to main frame, and the hummer started in this module carries out alarm after specifically encoding by a ZigBee transparent transmission.
[4]. after sending alarm, extension function module stops sending data and pick-up transducers data to main frame after successfully passing ZigBee transparent transmission transmission data.But hummer only can pressed reset key or could stop after cutting off the electricity supply.
[5]. host function module receives the data transmitted from extension function module by ZigBee after, can judge which dangerous situation occurs by these data, then dangerous situation information is sent to designated user by GSM and is shown in liquid crystal display.
[6]. after the success of host function module sends dangerous situation information to designated user, program enters endless loop until system reset, and reset circuit is as shown in Figure 5.
The utility model is further illustrated below with a specific embodiment.
In this example, the PIC18F4520 single-chip microcomputer of MICROCHIP company selected by single-chip microcomputer, and this single-chip microcomputer has fast operation, the features such as Resources on Chip enriches, and stability is high and with low cost for adopting nanowatt skill CMOS flash memory single-chip microcomputer PIC18F4520.In embodiment, PIC18F4520 adopts the TQFP of 44 pins to encapsulate, between its positive source (VDD) and power source reference ground (VSS), connect 10 μ F alminium electrolytic condensers of 0.01 μ F decoupling ceramic condenser of 1206 encapsulation and SMD encapsulation.Owing to not being very high to timing requirements in present case, therefore adopt the internal oscillator of PIC18F4520 as major clock.The system clock of PIC18F4520 inside is selected position SCS1 need put 1, PIC18F4520 internal oscillator frequency selection position IRCF<2:0> and is configured to 110, and production 4MHZ internal clocking, by its synchro system sequential.The program development software (PDS) of this example is MPLAB, and to be connected with the relevant pins of PIC18F4520 by the ICSP interface of PICKIT2 downloader and program to be loaded in single-chip microcomputer.RB7 with the RB6 pin of PIC18F4520 is connected with PGD with the PGC port of PICKIT2 respectively, and the Vpp of PICKIT2 is connected with the RE3 pin of single-chip microcomputer, to automatically reset after program being loaded into CPU at every turn.Extension set and the host function module of native system all provide button reset function, it should be noted that reset key is invalid when downloader connects single-chip microcomputer.In this example, as shown in Figure 2, the PIC18F4520 single-chip microcomputer of host module and the circuit theory diagrams of peripheral devices are as shown in Figure 3 for the circuit theory diagrams of the PIC18F4520 single-chip microcomputer of extension set module and peripheral devices.Downloader connection and key reset circuit schematic diagram are as shown in Figure 4 and Figure 5.
In this example, infrared monitoring part is by pyroelectric infrared sensor RE200B and transducing signal process integrated circuit BISS0001, the pyroelectricity material that RE200B adopts detects infrared radiation along with temperature variation, and the interference that the two sensitive complementarity method of dispensing suppresses temperature variation to produce, improve the job stability of sensor.The motion frequency scope of people, at 0.1 to 10HZ, is increased frequently physical activity frequency by the Fresnel Lenses of RE200B sensor probe, makes it meet the operation wavelength of 7 to the 14um of RE200B.BISS0001 adopts CMOS technology, and 16 pin DIP encapsulate.It is the special integrated circuit of DA combination that, state controller, delay time timer and blocking time timer etc. strong by operational amplifier, voltage compare are formed.In this example, the operational amplifier OP1 of BISS0001 inside amplifies as the output signal first order of RE200B, then second level amplification is carried out by C2 coupled operational OP2, again after the two-way amplitude discriminator process that voltage comparator COP1 and COP2 is formed, useful signal Vs deactivation timer time delay.When there is physical activity, Vo exports high level (noting holding the initial value of the single-chip microcomputer RD3 pin be connected should compose as low level with Vo).The circuit theory diagrams of the PIC18F4520 of infrared monitoring part and extension set module as shown in Figure 6.
In this example, gas leak monitoring modular forms primarily of MQ-2 type resistive memory sensor and twin voltage comparer integrated circuit LM393.MQ-2 sensor major advantage has extensive sensing range, high sensitivity, and stability is high.Be mainly used in the Leakage Gas monitoring device of family, packaged sensor has 6 needle-like pins, and wherein 4 signals take out, and 2 provide heating current, this body sensor needs to work in a heated state, the temperature higher then reaction response time and resume speed also faster.Therefore, in order to ensure that sensor accurately, stably works, need the voltage to its lasting output 5V.Sensor side connects the end of oppisite phase of LM393, and potential regulator end connects the forward end of LM393.The voltage exported by sensor is compared by LM393 comparer with potentiometer voltage signal---be equivalent to comparing of current environment CO concentration and warning concentration threshold values.When the CO concentration in environment is greater than warning concentration threshold values, LM393 output low level, the LED in this circuit is lit.Before extension set module powers on, first the potentiometer of C0 monitoring part will be adjusted to general 1/3 place, namely about 3.33 kilohms, now comparer normal phase input end is approximately 1.66V.Because people will produce dizziness, the sense of discomfort such as weak under CO concentration is more than the environment of 100ppm, in the case, the voltage of comparer inverting input is approximately 1.9V, causes comparer LM393 output terminal output low level and alert trigger (noting holding the initial value of the single-chip microcomputer RB3 pin be connected should compose as high level with DOUT).It should be noted that MQ-2 type semiconductor resistance-type gas sensor is after no power deposits a period of time, if again energising need first to heat after 3 minutes to sensor can gas information in normal acquisition environment.The circuit theory diagrams of the PIC18F4520 of gas leak monitoring modular and extension set module as shown in Figure 7.
Adopt the NIS-09C ion type smog sensor that Japanese NEMOTO company produces in this example, it is widely used in fire alarm system.Its inside employs the radiomaterial Am241 of trace.This metal of sensor electrode itself covered, and therefore can not reveal radiant.NIS-09C has highly sensitive, the advantage that Costco Wholesale is cheap.Its canonical parameter is as follows: be of a size of 22.0mm × 42mm, output voltage/V5.6+0.4, current loss/pA27+3.Therefore, NIS-09C can meet native system demand well.This sensor can not need driving circuit to be directly connected on single-chip microcomputer pin.One of them pin of this sensor series connection 1M resistance is also received on 9V power supply, and a pin of shell and radioactive source receives power supply ground, and the single-chip microcomputer RD2 pin that sampling pin receives extension set module is connected.When this pin on single-chip microcomputer monitors high level (initial value of RD2 pin should be composed as low level), show to there occurs fire dangerous situation.The coupling part circuit theory diagrams of the PIC18F4520 of smoke transducer and extension set module as shown in Figure 8.
Native system ZigBee transparent transmission selects DTK-2617, and this module designs based on CC2530.DTK-2617 can carry out serial communication by MAX232 and PIC18F4520, and in use PIC18F4520 carries out transparent transmission by RS-232 interface to it and calls, and without the need to the implementation of the concrete ZigBee-network agreement of deep consideration.MAX232 converts the EUSART signal (TX, RX) of PIC18F4520 to meet rs-232 standard signal.The DB9 joint of MAX232 is directly connected with the port of DTK-2617.DTK-2617 needs first to be configured before use, and the parameter of required configuration has PANID, channel, source address, destination address and baud rate.Configuration Values in the extension function module of native system following (sexadecimal): PAN network ID---EEAA, channel---16, source address---01EE, destination address---0001, baud rate---9600.In the present system, warning content accounts for a byte in alarm transmission information.The circuit theory diagrams of PIC18F4520 and the DTK-2617 coupling part of two functional modules as shown in Figure 9.
In this example, the gsm module of host function module selects the GSM communication module of the SIM300 module of producing based on SIMCOM company.SIM300 is a three frequency band GSMs/GPRS module, can EGSM900MHZ in the world, works, and provide SMS messaging business under DCS1800MHZ, PCS1900MHZ tri-kinds of frequency of operation.This gsm module uses the mode of serial communication to be connected with outside, single-chip microcomputer just can be made to send AT instruction allow SIM300 module go to perform corresponding order by the exchange of serial data.In this example, by the TX pin of this SIM300 module to be connected respectively RD1 and RD0 of the PIC18F4520 of host function module with RX pin.The circuit theory diagrams of GSM and host function module PIC18F4520 coupling part as shown in Figure 10.Because PIC18F4520 inside only has a serial communication module, and for the communication with ZigBee.Therefore, native system adopts the mode of software simulation serial port communication protocol, makes SIM300 module and single-chip microcomputer carry out serial communication.When judging concrete which dangerous situation of generation through single-chip microcomputer again after the alarm signal that the ZigBee of host function module receives from extension set.Single-chip microcomputer sends dangerous situation information by sending AT instruction control SIM300 module with the normal pins of SIM300 model calling in the mode of software simulation serial port communication protocol to the cellphone subscriber specified.Needed to carry out initialization to it before SIM300 module work, initialization procedure is as follows:
1) first, need to be arranged by the instruction in AT steering order to send messaging format and AT+CMGF=1<CR>, here 1 represents that arranging transmission form is PDU form, <CR> represents carriage-return character, and converting thereof into sexadecimal is exactly 0X0D.If instruction correctly performs, then return <CRLF>OK<CRLFGre atT.GreaT.GT.
2) secondly, the baud rate of module will be set by the instruction in AT steering order.Here be 9600 by Configuration of baud rate, i.e. AT+IPR=9600.Here the baud rate arranged is used to SIM300 module.Also will perform after Configuration of baud rate is complete and hold instruction, the baud rate that SIM300 module will be arranged is preserved.
In addition, this SIM300 module needs the large power, electrically of 5V2A to compress into row power supply.
The LCD liquid crystal display of the host function module of this example selects JLX12864G-086 dot matrix type liquid crystal display.This 12864 liquid crystal have employed COG technology, uses SPI serial communication mode to transmit data, and 12864 liquid crystal of more traditional employing parallel transmission structure have that to take I/O young, the advantages such as volume is little, cheap.The viewing area of JLX12864G-086 liquid crystal is 128 × 64 dot matrix, may be used for the figure of Display of Chinese characters or complexity.Under 16 × 16 dot patterns, often row can show 8 Chinese characters, can show 4 row altogether.In this example, whether whether whether the alarm signal that this liquid crystal is transmitted by extension function module leaks with the form of Chinese display coal gas, have and steal feelings appearance, have fire to occur.In this example, use the middle word that matrix withdraw software will show and be input in software, software can generate the corresponding one group of hexadecimal digit of word of 16 × 16 dot matrix formats.This group hexadecimal digit is put into JLX12864G-086 liquid crystal display, just there will be the Chinese character that we input in software.As: to " catch fire in 16 × 16 dot matrix type displays! " in " wearing " word, then the sexadecimal array will obtained by matrix withdraw software
{
0x00,0x00,0x10,0x10,0x10,0x90,0x90,0x92,0x8C,0xF0,0x90,0x90,0x88,0x96,0x92,
0x50,0x50,0x08,0x08,0x00,0x00,0x00,0x80,0x42,0x42,0x22,0x12,0x0A,0xFE,0x4B,
0x4A,0x4A,0x4A,0x4A,0x4A,0x4A,0xFA,0x0A,0x02,0x01,0x00,0x00,0x00,0x00,0x
00,0x00,0x00,0x00,0x00,0x0F,0x09,0x09,0x09,0x09,0x09,0x09,0x09,0x0F,0x00,0x
00,0x00,0x00,0x00
}
Be dealt in LCDs, display screen 16 × 16 dot matrix will show " wearing " word.Under 16 × 16 dot patterns, the first row display " welcomes to use this product during liquid crystal original state! ", the second row display " fire: nothing ", the third line display " steals feelings: nothing ", fourth line display " gas leak: nothing ".When there is dangerous situation, then according to concrete dangerous situation, the "None" in the corresponding line at place is made into " having ".The circuit theory diagrams that JLX12864G-086 liquid crystal display is connected with the PIC18F4520 of host function module as shown in figure 11.
In this example, hummer uses the TMB12A05 active buzzer of SOT plastic packaging pipe to carry out on-the-spot alarm.This hummer rated voltage is 5V, and maximum consumption electric current is 30mA, exports as the long sound liaison of 2300+400HZ.Hummer is connected with the RB1 of the PIC18F4520 of extension function module, starts hummer (noticing that the initial value of the single-chip microcomputer RB1 pin of extension function module should be composed as high level) when RB1 output low level.The circuit theory diagrams that hummer is connected with the PIC18F4520 of extension function module as shown in figure 12.
Supply voltage due to single-chip microcomputer requires it is that 5V, SIM300 module supports that voltage range is 3.4 ~ 5V, and if the supply voltage of SIM300 module can automatic shutdown lower than 3.3V.Simultaneously module is when launching, and current peak can up to 2A, and when this current peak, drop-out value can not more than 0.4V for supply voltage (sending into the voltage of module).So the requirement of this module to power supply is higher.The high power switching power supply that have employed power supply adaptor 7805 and 5V2A in native system design is respectively powered to extension set module, host module and SIM300 module.In addition, NIS-09C ion type smog sensor is powered separately by the switch power source adapter of 9V1A.Power supply adaptor (Poweradapter) is the power supply conversion equipment of small portable electronic device and electronic apparatus, generally be made up of shell, power transformer and rectification circuit, can be divided into by its output type and exchange output type and direct-current-output type; Can be divided into Direct Plug-In and Table top type by connected mode, what native system adopted is Direct Plug-In.Be that it easily obtains and powers more stable by the reason of power supply adaptor in the design, reduce development difficulty.
After extension function module powers on, need time delay 3 minutes after single-chip microcomputer completes initialization, make the first preheating of MQ-2 resistance sensor 3 minutes, so that normal acquisition gas concentration value.Afterwards, every 5 minutes of the single-chip microcomputer in extension function module reads pin RB3, RD2, RD3 successively, and after testing, if there is pin RB3 low level, RD2 high level, RD3 high level one of them or more than one, then trigger native system alarm.Namely the character types global variable being first 0 by an initial value carries out assignment, supposes that variable is called WARNING.If when infrared monitoring part is detecting that namely physical activity occurs stealing feelings, by the extreme lower position 1 of this variable, if detect that the CO concentration in environment exceedes the alarm threshold values preset when CO monitoring part, by secondary lower position 1 of WARNING, if work as smoke monitoring part smoke particle excessive concentration in environment to be detected, will the 3rd position 1 of (from right to left) WARNING.Then, by the DTK-2617 of extension set module by hexadecimal lead code FD, container length, destination address, node address, WARNING and end code FFAA is sent to the DTK-2617 of host function module and starts the hummer of extension set module.Finally, extension function module incites somebody to action no longer image data, and master routine enters endless loop, until single-chip microcomputer is reset.
In host function module by the value assignment of WARNING that transmitted by DTK-2617 in the variable of host function modular program.Single-chip microcomputer is by obtaining concrete dangerous situation information after analyzing this variable and realizing alarm by the form sending note and on-the-spot liquid crystal display to long-distance user.Under SIM300 is in PUD pattern, therefore single-chip microcomputer sends AT+CMGS="+8613X01234567 " by the pin of simulation RS-232 agreement serial communication to SIM300 module, if SIM300 module returns " > " character, AT+CMGS successful connection is described, the single-chip microcomputer of host module can be selected one or more dangerous situation warning content according to concrete dangerous situation information and add that end mark 0X1A is sent to SIM300 module.During breaking out of fire send " Be on fire! ".Single-chip microcomputer transmits data in the mode of SPI serial communication to JLX12864G-086 dot matrix type liquid crystal display according to dangerous situation information, makes into " having " by the "None" in dangerous situation statusline corresponding in LCDs.Such as: only there occurs robber's feelings, then the sixteen bit system array that the 4th row transmission " having " word is corresponding in the third line of the display screen under 16 × 16 dot patterns there occurs robber's feelings to remind user at the scene.Finally, program enters endless loop, waits for monolithic processor resetting.

Claims (7)

1. based on a radio house safety-protection system of ZigBee, comprise host function module and extension function module, it is characterized in that, described host function module has been used for wireless receiving and has reported to the police; Described extension function module be used for indoor signal monitoring and to described host function module wireless transmission monitoring information; Described extension function module comprises the first low-power scm, and described first low-power scm is connected with hummer with monitoring part, a ZigBee transparent transmission respectively; Described host function module comprises the second low-power scm, and described second low-power scm is connected with the 2nd ZigBee transparent transmission with described GSM transport module, LCD MODULE respectively; Described monitoring part has been used for indoor signal monitoring; A described ZigBee transparent transmission is used for the judged result of described first low-power scm to be sent to described 2nd ZigBee transparent transmission; Described hummer is used for onsite alarming; Described GSM transport module is used for, after receiving danger signal, warning information is sent to designated user; Described LCD MODULE is used for display in real time and passes the information of coming from extension function module.
2. the radio house safety-protection system based on ZigBee according to claim 1, is characterized in that, described monitoring part comprises infrared monitoring part, coal gas monitoring part and smoke transducer.
3. the radio house safety-protection system based on ZigBee according to claim 2, it is characterized in that, described infrared monitoring part comprises pyroelectric infrared sensor and signal processing circuit, the infrared ray that described pyroelectric infrared sensor gives off by accepting human body, be translated into the low frequency electrical number relevant with human motion speed, distance, direction, by signal processing circuit, low frequency electrical number is carried out amplification ratio more comparatively to process, export described first low-power scm to digital signal form.
4. the radio house safety-protection system based on ZigBee according to claim 3, it is characterized in that, the operational amplifier of output valve through signal processing circuit inside of described pyroelectric infrared sensor carries out one-level amplification, carry out secondary amplification through coupling amplifier again, then obtain useful signal by the two-way amplitude discriminator process that voltage comparator is formed.
5. the radio house safety-protection system based on ZigBee according to claim 2, it is characterized in that, described coal gas monitoring part comprises gas sensor, described gas sensor is converted to different resistivity signal or voltage signal according to the CO gas concentration detected, through twin voltage comparer relatively after export described first low-power scm to.
6. the radio house safety-protection system based on ZigBee according to claim 1, is characterized in that, described gsm module adopts the GSM communication module of SIM300 module.
7. the radio house safety-protection system based on ZigBee according to claim 1, is characterized in that, described LCD MODULE is JLX12864G-086 dot matrix type liquid crystal display.
CN201420526768.8U 2014-09-12 2014-09-12 A kind of radio house safety-protection system based on ZigBee Expired - Fee Related CN204117304U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420526768.8U CN204117304U (en) 2014-09-12 2014-09-12 A kind of radio house safety-protection system based on ZigBee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420526768.8U CN204117304U (en) 2014-09-12 2014-09-12 A kind of radio house safety-protection system based on ZigBee

Publications (1)

Publication Number Publication Date
CN204117304U true CN204117304U (en) 2015-01-21

Family

ID=52334593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420526768.8U Expired - Fee Related CN204117304U (en) 2014-09-12 2014-09-12 A kind of radio house safety-protection system based on ZigBee

Country Status (1)

Country Link
CN (1) CN204117304U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200608A (en) * 2014-09-12 2014-12-10 东华大学 Wireless house security system
CN105842406A (en) * 2016-05-23 2016-08-10 南宁市茂百科技有限公司 Remote gas detector based on GPRS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200608A (en) * 2014-09-12 2014-12-10 东华大学 Wireless house security system
CN105842406A (en) * 2016-05-23 2016-08-10 南宁市茂百科技有限公司 Remote gas detector based on GPRS

Similar Documents

Publication Publication Date Title
CN103365280B (en) Smart Home complex control system and control method
CN201867643U (en) Intelligent home central controller
CN104200608A (en) Wireless house security system
CN104501865A (en) Environmental parameter monitor and monitoring method
CN203657839U (en) Smart home sensing apparatus based on ZigBee communication
CN103488155A (en) Intelligent agriculture integration information system environment controller
CN204117304U (en) A kind of radio house safety-protection system based on ZigBee
CN110095150A (en) A kind of SCM Based temperature and humidity monitoring system
CN110363953A (en) A kind of low-consumption wireless smoke alarm unit
CN104460640A (en) Intelligent agriculture integrated information system environmental controller
CN108671324A (en) A kind of real-time infusion monitoring system of stabilization based on ZigBee wireless communications
CN206975789U (en) A kind of wireless smog warning system of intelligent control
CN104792112A (en) Monitoring purifier for refrigerator air
CN202549037U (en) Household wireless alarm device
CN205302528U (en) Infrared detector with video monitoring drives function
CN209447300U (en) Air monitoring system
CN108111989A (en) Utilization system based on cellular narrowband Internet of Things in medium pipeline monitoring
CN104658175A (en) Intelligent door mirror system
CN103985233A (en) Wireless intelligent digital instrument acquisition remote transmitting apparatus
CN204559893U (en) Wireless communication device, table meter inquiry unit and table meter inquiry system
CN202035144U (en) Human body sensor network terminal based on ZIGBEE
CN203289653U (en) Wireless sensor and wireless sensor system
CN207234981U (en) It is a kind of can portable adjusting wireless video transmission system
CN207052056U (en) A kind of wireless fire disaster alarm system based on LORA technologies
CN207182604U (en) A kind of indoor intelligent fire alarm system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150121

Termination date: 20170912