CN204178538U - A kind of Intelliqent Temperature Monitoring System - Google Patents
A kind of Intelliqent Temperature Monitoring System Download PDFInfo
- Publication number
- CN204178538U CN204178538U CN201420636249.7U CN201420636249U CN204178538U CN 204178538 U CN204178538 U CN 204178538U CN 201420636249 U CN201420636249 U CN 201420636249U CN 204178538 U CN204178538 U CN 204178538U
- Authority
- CN
- China
- Prior art keywords
- monitoring system
- intelliqent
- data
- temperature monitoring
- temperature
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The utility model relates to temperature monitoring field, be specifically related to a kind of Intelliqent Temperature Monitoring System, comprise: temperature sensor, data acquisition unit, control module, display unit and wireless communication unit, the data of data acquisition unit acquires temperature sensor are shown on the display unit by control module and carry out Internet Transmission by wireless communication unit, the cost effectively can reduce installation while more flexible laying monitoring system, safeguarding.
Description
Technical field
The utility model relates to temperature monitoring field, is specifically related to a kind of Intelliqent Temperature Monitoring System.
Background technology
The cost connected by wired mode between the unit of existing temperature monitoring system, install, safeguarded is higher, and the restriction being undertaken connecting by wired mode is also more.
In view of this, be necessary to provide a kind of Intelliqent Temperature Monitoring System, the cost effectively can reduce installation while more flexible laying monitoring system, safeguarding.
Summary of the invention
The purpose of this utility model is to solve the problem, and provides a kind of Intelliqent Temperature Monitoring System, the cost effectively can reduce installation while more flexible laying monitoring system, safeguarding.
For achieving the above object, the technical solution adopted in the utility model is:
A kind of Intelliqent Temperature Monitoring System, comprise: temperature sensor, data acquisition unit, control module, display unit and wireless communication unit, the data of data acquisition unit acquires temperature sensor are shown on the display unit by control module and carry out Internet Transmission by wireless communication unit, and described wireless communication unit carries out Internet Transmission by Zigbee protocol.
Further, described Intelliqent Temperature Monitoring System also comprises: pilot lamp and buzzer siren, and when temperature exceedes danger coefficient, pilot lamp and buzzer siren are reported to the police by light and sound.
Further, described Intelliqent Temperature Monitoring System also comprises: GSM unit, and described data are sent to the mobile phone of user by described GSM unit by GSM network.
Further, described control module is communicated by serial ports with between wireless communication unit.
Further, temperature data is sent to ARM server by Zigbee protocol by described wireless communication unit.
After adopting said structure, the utility model beneficial effect is: a kind of Intelliqent Temperature Monitoring System of the present utility model, the cost effectively can reduce installation while more flexible laying monitoring system, safeguarding.
Accompanying drawing explanation
Fig. 1 is the structural representation of Intelliqent Temperature Monitoring System of the present utility model;
Fig. 2 is the PDIP packing forms structural representation of control module in embodiment of the present utility model;
Fig. 3 is RS-485 interface diagram in embodiment of the present utility model;
Fig. 4 is the typical operating circuit illustraton of model of MAX1487 in embodiment of the present utility model;
Fig. 5 is GSM cellular construction schematic diagram of the present utility model;
Fig. 6 is the principle of work schematic diagram of wireless communication unit of the present utility model;
Fig. 7 is the main program flow schematic diagram of GSM unit of the present utility model;
Fig. 8 is the interruption subroutine schematic flow sheet of GSM unit of the present utility model.
Embodiment
Below in conjunction with accompanying drawing, the utility model is further described.
As shown in figures 1 to 6, a kind of Intelliqent Temperature Monitoring System of the present utility model, comprise: temperature sensor 1, data acquisition unit 2, control module 3, display unit 4 and wireless communication unit 5, the data of data acquisition unit 2 collecting temperature sensor 1 to be presented on display unit 4 by control module 3 and to carry out Internet Transmission by wireless communication unit 5.Wherein, temperature data is sent to ARM server by Zigbee protocol by wireless communication unit 5.
Intelliqent Temperature Monitoring System also comprises: pilot lamp 6 and buzzer siren 7, and when temperature exceedes danger coefficient, pilot lamp 6 and buzzer siren 7 are reported to the police by light and sound.
Intelliqent Temperature Monitoring System also comprises: temperature data is sent to the mobile phone of user by GSM unit 8, GSM unit 8 by GSM network.
Communicated by serial ports between control module 3 with wireless communication unit 5.
As shown in Figure 6, when wireless communication unit 5 is Zigbee module, control module 3 sends data to the Zigbee module (CC2340) of service end by Zigbee module, then is sent to Ethernet through ARM microprocessor module.
Embodiment
Temperature sensor carries out data acquisition, and what collect due to temperature sensor is data semaphore, so do not need to carry out analog to digital conversion.Temperature sensor uses ds18b20 temperature sensor, and its feature is that to have volume little, and hardware spending is low, and antijamming capability is strong, and the feature that precision is high, operating voltage is 3.0 ~ 5.5V.Temperature-measuring range-55 DEG C ~+125 DEG C, intrinsic temperature measurement error 1 DEG C, in use without any need for peripheral cell, measurement result carries out serial transfer in 9 ~ 12 bit digital quantity modes, measurement result directly exports digital temperature signal, programmable resolution is 9-12 position, and corresponding distinguishable temperature is respectively 0.5 DEG C, 0.25 DEG C, 0.125 DEG C and 0.125 DEG C and 0.0625 DEG C, can realize very high precision measuring temperature.Be applicable to very much the temperature monitoring inside family.It adopts 3 pin T0-92 to encapsulate, and programming arranges 9 ~ 12 bit resolutions.Scene temperature is directly transmitted with the digital form of 1-Wire, substantially increases the anti-interference of system.Multiple DSl8820 can be connected in parallel in 3 or 2 buses.CPU only needs 1 root port line just can communicate with multiple DSl8820, and the port taking microprocessor is less, can save a large amount of lead-in wires and logical circuit.After STC single-chip microcomputer is collected temperature, can by Temperature displaying on liquid crystal display, simultaneously, also can judge the temperature collected, when temperature exceedes alarming value, hummer will be reported to the police and pilot lamp can glimmer, when temperature is lower than alert value, will close warning, pilot lamp flicker is closed.The temperature data that single-chip microcomputer collects can send data to Zigebee module by serial ports.
Control module adopts STC89C52 single-chip microcomputer.STC89C52 single-chip microcomputer is a low-voltage, 8 single-chip microcomputers of high-performance CMOS, sheet include 8k bytes can be repeatedly erasable Flash read-only program memory and the random access data storage (RAM) of 256bytes, device adopts the high density of atmel corp, nonvolatile storage technologies is produced, compatibility standard MCS-51 order set, sheet built-in general-purpose 8 central controllers and Flash storage unit.
STC89C52 single-chip microcomputer has 40 pins, 32 outside two directions' inputing/output (I/O) ports, include 2 outer middle fractures simultaneously, 3 16 programmer timing counters, 2 full duplex serial communication ports, 2 access hole lines, STC89C52 single-chip microcomputer can conventionally be programmed, also can online programming, your original code is downloaded into the relevant single-chip microcomputer of STC by the STC-ISP.exe instrument provided with STC, or programmes with universal programmer.General microprocessor and flash storage combine by it, particularly repeatedly erasable flash storage effectively can reduce cost of development.
STC89C52 single-chip microcomputer has three kinds of packing forms such as PDIP, PQFP/TQFP and PLCC, to adapt to the demand of different product.Its PDIP packing forms as shown in Figure 2.
STC89C51 single-chip microcomputer as control module is connected by serial ports with between wireless communication unit, and the level transferring chip of MAX1487 is the interface module of STC89C51 single-chip microcomputer.
As shown in Figure 3, RS-485 utilizes the signal voltage between signal conductor poor, by transmission line driver, logic level transitions is become potential difference (PD), completes the signal transmission at top; Again by transmission line receiver, some potential difference is converted to logic level, completes the Signal reception of terminal.
For STC89C51 single-chip microcomputer, usually adopt the MAX1487 of MAXIM company as interface chip.
MAX1487 is the miniwatt transceiver of the half-duplex application design of RS-485 communication specially, and it contains a driver and a receiver.Its feature is the driver of tool finite slope, the i.e. digital signal of driver transmission, the slope at its edge is restricted, electromagnetic interference (EMI) (EMI) can be made to reduce to minimum, and reduce the reflections affect produced because cable termination does not mate, therefore can up to the free from error transmission data of the speed of 250kbps.And other does not then possess this function as MAX481, MAX485, will be almost in the accuracy of transmission.The feature of MAX1487 is:
* the limit slope drive device of error-free data transmission
* 0.1 μ A low current closes mode
*-7V ~+12V common-mode input voltage range
* ternary output
* half-duplex operation
* working power is single+5V
* bus can connect 128 transceivers
* current limliting and temperature-sensitive control circuit provide overload protection for driver.
Because the input impedance of MAX1487 is 48K Ω, allow to meet 128 MAX1487 in a bus.The input impedance of the RS-485 receiver of standard is 12K Ω, and bus can connect at most 32 transceivers.So MAX1487 can with other transceiver combination in any, as long as total load is less than or equal to 32 unit loads, then can be connected in bus.So it is feasible for adopting 32 MAX487 to share a bus.Fig. 4 is the typical operating circuit model of MAX1487, and as shown in Figure 4, MAX1487 is octal packaged chip, and following table is its pin explanation.
The differential balance system be made up of MAX1487 transceiver, antijamming capability is strong, and receiver can detect the low signal reaching 200mV, and the data of transmission can be restored outside km, are therefore specially adapted to telecommunication.Therefore MAX1487 is selected to form the communication network meeting RS-485 standard.Select with it should be noted that transmission line and impedance matching.In differential balance system, general twisted-pair feeder of selecting as signal transmssion line because twisted-pair feeder is in length, full symmetric on direction, therefore they to be subject to external interference degree identical, undesired signal occurs with common mode.At receiver ground output terminal because common mode interference is suppressed, so achieve the reliable transmission of signal.And transmit on the transmission line due to signal, if run into the situation of impedance discontinuity, there will be reflex, thus affect the Long Distant Transmit of signal, although MAX1487 can reduce the impact of reflection, or the method for coupling will be adopted to eliminate reflection.Therefore usually can connect the resistance of 120 Ω at the end of transmission line, carry out impedance matching.
Because main frame is only used for receiving data in the present embodiment, only be used for sending data from machine, the MAX1487 chip that therefore main frame can be connected completely /RE and DE two enable pin ground connection, and the two enable termination high level of MAX1487 chip will be connected with from machine, thus realize the serial communication of two machines.
That in the present embodiment, GSM unit adopts is the TC35i of Siemens TC35 series.The TC35 series module cost performance of Siemens is very high, and has had domestic wireless device networking card.This wireless module is functionally compatible with TC35, compact to design, greatly reduces the volume of consumer products.
At present, send SMS message conventional Text and PDU (Protocol DataUnit, protocol Data Unit) pattern.Use Text pattern transmitting-receiving note code simple, it is very easy to implement, but maximum shortcoming to receive and dispatch Chinese short message: and PDU pattern not only supports Chinese short message, also can send English note.PDU pattern transmitting-receiving note can use 3 kinds of codings: 7_bit, 8_bit and UCS2 encode.7_bit coding is for sending common ascii character, and 8_bit coding is generally used for sending data-message, and UCS2 coding is for sending Unicode character.General PDU coding ABCDEFGHIJKLM 13 composition:
A: Short Message Center's address size, 2 sexadecimal numbers (1 byte)
B: short message center number type, 2 sexadecimal numbers.
The length of C: short message center number, B+C determines by the data in A.
D: file header byte, 2 sexadecimal numbers.
E: information type, 2 sexadecimal numbers.
F: called number length, 2 sexadecimal numbers.
G: called number type, 2 sexadecimal numbers, the same B of value.
H: called number, length is determined by the data in F.
I: protocol-identifier, 2 sexadecimal numbers.
J: data coding scheme, 2 sexadecimal numbers.
K: the term of validity, 2 sexadecimal numbers.
L: User Data Length, 2 sexadecimal numbers.
M: user data, its length is determined by the data in L.In J, setting adopts UCS2 coding, is the Unicode character of Chinese and English here.
TC35i module is primarily of GSM baseband processor, GSM radio-frequency module, supply module, flash memory, ZIF connector, antennal interface six part composition.By ZIF connector and chip microcontroller circuit interface, this interface reads or sends the data in TC35i module, is the core of TC35i application.
The program design of GSM unit mainly comprises initialization master routine and the warning interruption subroutine of system.The state of work is set in master routine, comprises system and whether deploy troops on garrison duty, withdraw a garrison, report to the police according to working state of system and warning message in interruption subroutine.
Main program flow as shown in Figure 7, comprising:
1, power on/initialization;
2, GSM is started;
3, judge to log in;
4, SIM card note is read;
5, new message? if, do not continue to detect in the 5th step;
If 6 have, reading short message content and addresser's number, and matching content;
7 if deploy troops on garrison duty, then make system enter the state of deploying troops on garrison duty, and replys " state of deploying troops on garrison duty ";
8 if withdraw a garrison, then make system enter disarming state, replys " disarming state ";
9 if check, then according to system state reverts " disarming state " or " state of deploying troops on garrison duty ";
10 if reset, then system reset, deletes note in SIM card, replys " resetting successfully ";
11, the 5th step is gone to.
Interruption subroutine flow process as shown in Figure 8, comprising:
1, interruption is entered;
2, AT98C52P1.3-P1.0 (numeric data code) is judged;
3 if 0000-0010, then deploy troops on garrison duty, and reading SIM card number successively, send note " warning of door magnetic ";
4 if 0101-0110, then deploy troops on garrison duty, and reading SIM card number successively, send note " infrared alarm ";
5 if 1000-1011, then reading SIM card number successively, sends note " temperature alarming ";
6 if 0111, then reading SIM card number successively, sends note " smog alarm ";
7, the 1st step is gone to.
The software interface of single-chip microcomputer and TC35i is exactly single-chip microcomputer controls mobile phone control technology by AT instruction in fact, first arranges the mode of operation of TC35i module: AT+cMGF=n, n=0 are PDU pattern; N=l is Text Mode; Usually be set to PDU pattern, in such a mode, can transmit or accept transparent data (User Defined data).AT+CMGR=n is for reading TC35i module short message data, and n is short message number.AT+CMGL=n lists the short message in TC35i module, and n=0 is the short message do not read, the short message that n=l has read position, the short message that n=2 position does not send, and n=3 is the short message n=4 sent is all short messages.AT+CMGD=n is the short message deleting TC35i module, and n is short message numbering.
Software programming can complete several functions by writing different AT instructions to TC35i, as telephone number, transmission SMS message, reception SMS message etc. in network login, reading SIM card.The command character, constant, PDU data etc. of AT instruction are all with the transmission of ASCII coding form: transmit transparent data and the mode of operation of TC35i module must be set to PDU pattern; After single-chip microcomputer sends each instruction to TC35i module.Must using the carriage return character as the end of this instruction, such as single-chip microcomputer sends " AT+CMGF=0 " this instruction to mobile phone, its ASCII coded sequence is " 41H, 54H, 2BH, 42H, 4DH, 47H, 46H, 3DH, 30H, 0DH ", last byte 0DH is exactly the carriage return character, represent this order fulfillment, if do not have this carriage return character, mobile phone is by this instruction of nonrecognition.After TC35i module receives a complete AT instruction, TC35i module does not perform this instruction immediately, but first sends out (containing 0DH) all counter for the ASCII coded sequence of the AT instruction just now received; Secondly the ASCII coding of a carriage return character and a newline is sent, i.e. ODH and 0AH; Then this instruction is performed.
When single-chip microcomputer reads the PDU data of TC35i module, raw data should be 16 system numbers, but the data of reading back remain the 16 system numbers that ascii table shows.16 system numbers of such byte just become the ASCII character of 2 bytes.But the data byte length thereof in PDU packet remains actual characters length.Instead of becoming the byte length of ASCII character, this should be specifically noted that when programming, otherwise the data of reception are just imperfect.After single-chip microcomputer receives PDU packet data, must be reverted to 16 binary data, its algorithm is as follows: set the ASCII character of a as receiving, and b is 16 system numbers after conversion.If so a<39H, then b=a mono-30H; If a>39H, then b=a mono-30h mono-07H.Finally former and later two numbers are merged into a byte.
TC35i module does not comprise front 9 byte datas to during the byte number of single-chip microcomputer response PDU packet, but when transmitting PDU packet to single-chip microcomputer, comprises the data of these 9 bytes.Such as, if the PDU data length of TC35i module response is 50. and reality is 59 bytes to 16 binary data that single-chip microcomputer transmits, ASCII character is 2x59 byte, so single-chip microcomputer must by 2x59 byte reception PDU data.
The above is only better embodiment of the present utility model, therefore all equivalences done according to structure, feature and the principle described in the utility model patent claim change or modify, and are included in the utility model patent claim.
Claims (5)
1. an Intelliqent Temperature Monitoring System, it is characterized in that, comprise: temperature sensor, data acquisition unit, control module, display unit and wireless communication unit, the data of data acquisition unit acquires temperature sensor are shown on the display unit by control module and carry out Internet Transmission by wireless communication unit, and described wireless communication unit carries out Internet Transmission by Zigbee protocol.
2. Intelliqent Temperature Monitoring System according to claim 1, is characterized in that, described Intelliqent Temperature Monitoring System also comprises: pilot lamp and buzzer siren, and when temperature exceedes danger coefficient, pilot lamp and buzzer siren are reported to the police by light and sound.
3. Intelliqent Temperature Monitoring System according to claim 1, is characterized in that, described Intelliqent Temperature Monitoring System also comprises: GSM unit, and described data are sent to the mobile phone of user by described GSM unit by GSM network.
4. the Intelliqent Temperature Monitoring System according to claims 1 to 3 any one, is characterized in that, described control module is communicated by serial ports with between wireless communication unit.
5. the Intelliqent Temperature Monitoring System according to claim 1 to 2 any one, is characterized in that, temperature data is sent to ARM server by Zigbee protocol by described wireless communication unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420636249.7U CN204178538U (en) | 2014-10-29 | 2014-10-29 | A kind of Intelliqent Temperature Monitoring System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420636249.7U CN204178538U (en) | 2014-10-29 | 2014-10-29 | A kind of Intelliqent Temperature Monitoring System |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204178538U true CN204178538U (en) | 2015-02-25 |
Family
ID=52567327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420636249.7U Expired - Fee Related CN204178538U (en) | 2014-10-29 | 2014-10-29 | A kind of Intelliqent Temperature Monitoring System |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204178538U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106683382A (en) * | 2017-01-21 | 2017-05-17 | 广东工业大学 | Zigbee wireless transmission conversion device based on RS485 interface |
-
2014
- 2014-10-29 CN CN201420636249.7U patent/CN204178538U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106683382A (en) * | 2017-01-21 | 2017-05-17 | 广东工业大学 | Zigbee wireless transmission conversion device based on RS485 interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103677671B (en) | Data reading-writing method and system of electrical port module | |
CN204463260U (en) | A kind of based on Bluetooth technology controlled in wireless electronic password lock | |
CN203933666U (en) | A kind of CAN bus repeater | |
CN103453985B (en) | Distributed wireless light intensity measuring instrument | |
CN110417649A (en) | A kind of multiplex roles Intelligent internet of things data gateway | |
CN202998098U (en) | Optical module port test device | |
CN204178538U (en) | A kind of Intelliqent Temperature Monitoring System | |
CN203311193U (en) | Can and Modbus protocol conversion module and intelligent circuit breaker | |
CN202975800U (en) | CAN (controller area network) bus diagnosis system based on WIFI (wireless fidelity) and mobile intelligent terminal | |
CN105717833B (en) | Intelligent environment protection number adopts instrument mainboard and working method | |
CN106850368A (en) | A kind of control method of repeater and its data transfer | |
CN103092111A (en) | Protocol conversion module and intelligent circuit breaker of controller area network (Can) and Modbus | |
CN205451459U (en) | Miniature modularization wireless transmission's industry collector | |
CN205909863U (en) | Arrester humiture on -line monitoring system | |
CN104268109A (en) | Data interface communication method and device | |
CN204373699U (en) | Multidrop environment gathers monitoring system | |
CN114415561A (en) | Power-off time detection device of digital coal mine safety monitoring system | |
CN202508029U (en) | CAN (Controller Area Network) bus-based AMT (Automated Mechanical Transmission) comprehensive information display system | |
CN204031216U (en) | A kind of wireless meteorological data communication system | |
CN202939792U (en) | Single-phase dual-channel communication module | |
CN201698554U (en) | Electric fire hazard microcomputer protection device | |
CN202422403U (en) | Renewable energy data monitoring and collecting device | |
CN203689122U (en) | Sensor-based information acquisition system | |
CN101943909B (en) | Distributed greenhouse environment information storage system based on I2C (Inter-Integrated Circuit) bus | |
CN209562546U (en) | Communication device |
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: 20150225 Termination date: 20161029 |