CN204902881U - Humiture measurement system based on singlechip - Google Patents

Humiture measurement system based on singlechip Download PDF

Info

Publication number
CN204902881U
CN204902881U CN201520560783.9U CN201520560783U CN204902881U CN 204902881 U CN204902881 U CN 204902881U CN 201520560783 U CN201520560783 U CN 201520560783U CN 204902881 U CN204902881 U CN 204902881U
Authority
CN
China
Prior art keywords
temperature
module
humidity
chip microcomputer
system based
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
CN201520560783.9U
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.)
Hunan University of Technology
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201520560783.9U priority Critical patent/CN204902881U/en
Application granted granted Critical
Publication of CN204902881U publication Critical patent/CN204902881U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Fluid Adsorption Or Reactions (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

本实用新型公开了一种基于单片机的温湿度测量系统,包括:微控制模块、传输模块、电源模块、温度传感器、湿度传感器、显示模块、按键、串口通信模块及报警模块;微控制模块连接电源模块、显示模块、按键、串口通信模块及报警模块;温度传感器及湿度传感器通过传输模块连至微控制模块。本实用新型提供的一种基于单片机的温湿度测量系统采用STC89C52RC单片机为控制,通过温度和湿度传感器来测量温度和湿度,液晶屏的液晶显示器,用于温度和湿度,并含有温度和湿度控制系统的警报功能。本系统可靠,性价比高。

The utility model discloses a temperature and humidity measurement system based on a single-chip microcomputer, comprising: a micro-control module, a transmission module, a power supply module, a temperature sensor, a humidity sensor, a display module, buttons, a serial port communication module and an alarm module; the micro-control module is connected to a power supply A module, a display module, a button, a serial port communication module and an alarm module; a temperature sensor and a humidity sensor are connected to the micro control module through the transmission module. A temperature and humidity measurement system based on a single-chip microcomputer provided by the utility model is controlled by a STC89C52RC single-chip microcomputer, and measures temperature and humidity through a temperature and humidity sensor. The liquid crystal display of the liquid crystal screen is used for temperature and humidity, and contains a temperature and humidity control system alarm function. The system is reliable and cost-effective.

Description

一种基于单片机的温湿度测量系统A Temperature and Humidity Measurement System Based on SCM

技术领域technical field

本实用新型属于温室监测领域,具体涉及一种基于单片机的温湿度测量系统。The utility model belongs to the field of greenhouse monitoring, in particular to a temperature and humidity measurement system based on a single-chip microcomputer.

背景技术Background technique

近年来,随着我国农业的发展,温室的发展已成为一个十分重要的方面。国内温室快速发展和100-150万公顷面积每年增加。为了使作物更好的生长,那么我们就需要对环境因素进行调整,从而提高产品的质量。由于我们对温室的研究开始于后期,所以温室技术处于相对较低的水平。再加上管理不够,而且温室环境的监测条件也需要改善,提高技术已经成为一个重要的方面。因此,温湿度控制器就有其出现的必要性。In recent years, with the development of agriculture in our country, the development of greenhouses has become a very important aspect. Domestic greenhouses are developing rapidly and the area is increasing by 1-1.5 million hectares every year. In order to make crops grow better, we need to adjust environmental factors to improve product quality. Since our research on greenhouses started at a later stage, greenhouse technology is at a relatively low level. Coupled with insufficient management, and the monitoring conditions of the greenhouse environment also need to be improved, improving technology has become an important aspect. Therefore, there is a necessity for the temperature and humidity controller to appear.

在温湿度测量技术的研究中,相对国内,国外发展得比较早。最初模拟式仪表使用的范围很广,用过信息采集,然后进行控制。而分布式控制系统技术则在80年代末开始兴起。由于温控技术在世界沿用的范围特别的广泛,因此发展也特别的迅速,有许多国家在控制范围领域不仅仅局限于控制自动化范围了,而是往更加开阔的梁宇发展,从而达到完全自动化,无人化。由于我国在这个领域起步比较晚,所以在此技术上还处于一个相对较为落后的水平。由于发达国家在此领域以提前一步拥有了较好的技术水平,因此我国技术人员正在紧锣密鼓的研究他们的技术。在这学习的过程中,我国技术人员已掌握了温度室内微机控制技术,但这项技术也存在局限性,仅能在温湿度单项环境中使用。在技术方面,单片机可以更多地控制但参数及单回路系统,但对于总控这方面,与发达国家还是存在较大的距离。In the research of temperature and humidity measurement technology, compared with domestic, foreign countries developed earlier. Initially, analog instruments were used in a wide range, including information collection and then control. The distributed control system technology began to rise in the late 1980s. Due to the wide range of temperature control technology used in the world, the development is also particularly rapid. In many countries, the scope of control is not limited to the scope of control automation, but is developing towards a more open beam, so as to achieve complete automation. , unmanned. Since our country started relatively late in this field, it is still at a relatively backward level in this technology. Since developed countries have a better technical level in this field one step ahead, Chinese technicians are intensively studying their technology. In the process of this study, Chinese technicians have mastered the temperature indoor microcomputer control technology, but this technology also has limitations, and can only be used in a single temperature and humidity environment. In terms of technology, single-chip microcomputers can control more parameters and single-loop systems, but in terms of overall control, there is still a large distance from developed countries.

实用新型内容Utility model content

本实用新型的目的之一是为解决现有技术中的问题,提供一种能耗低、扩展性强的基于单片机的温湿度测量系统。One of the purposes of the utility model is to provide a temperature and humidity measurement system based on a single-chip microcomputer with low energy consumption and strong scalability to solve the problems in the prior art.

本实用新型提供一种基于单片机的温湿度测量系统,包括:微控制模块、传输模块、电源模块、温度传感器、湿度传感器、显示模块、按键、串口通信模块及报警模块;所述微控制模块连接所述电源模块、显示模块、按键、串口通信模块及报警模块;所述温度传感器及湿度传感器通过所述传输模块连至所述微控制模块。The utility model provides a temperature and humidity measurement system based on a single-chip microcomputer, comprising: a micro-control module, a transmission module, a power supply module, a temperature sensor, a humidity sensor, a display module, buttons, a serial port communication module and an alarm module; the micro-control module is connected to The power supply module, display module, buttons, serial port communication module and alarm module; the temperature sensor and humidity sensor are connected to the micro control module through the transmission module.

进一步的,所述报警模块包括蜂鸣器及指示灯。Further, the alarm module includes a buzzer and an indicator light.

进一步的,所述微控制模块采用STC89C52RC单片机。Further, the micro-control module adopts STC89C52RC single-chip microcomputer.

进一步的,所述温度传感器为DS18B20型温度传感器;所述湿度传感器为DHT11数字温湿度传感器。Further, the temperature sensor is a DS18B20 temperature sensor; the humidity sensor is a DHT11 digital temperature and humidity sensor.

进一步的,所述显示模块采用LCD1602显示屏,LCD1602显示屏为点阵型液晶模块,能同时显示16*2个字符。Further, the display module adopts LCD1602 display screen, and the LCD1602 display screen is a dot-matrix liquid crystal module, which can display 16*2 characters at the same time.

进一步的,所述按键包括按键一、按键二、按键三及按键四,其中:Further, the buttons include button 1, button 2, button 3 and button 4, wherein:

按键一:设置温度闸值加;Button 1: Set the temperature gate value plus;

按键二:设置温度闸值减;Button 2: Set the temperature threshold value minus;

按键三:设置湿度闸值加;Button 3: set the humidity threshold plus;

按键四:时钟湿度闸值减。本实用新型的有益效果在于,本实用新型提供的一种基于单片机的温湿度测量系统采用STC89C52RC单片机为控制,通过温度和湿度传感器来测量温度和湿度,液晶屏的液晶显示器,用于温度和湿度,并含有温度和湿度控制系统的警报功能。本系统可靠,性价比很高。Button 4: Decrease the clock humidity gate value. The beneficial effect of the utility model is that the temperature and humidity measurement system based on the single-chip microcomputer provided by the utility model adopts the STC89C52RC single-chip microcomputer as the control, and measures the temperature and humidity through the temperature and humidity sensor, and the liquid crystal display of the liquid crystal screen is used for temperature and humidity , and contains an alarm function for the temperature and humidity control system. The system is reliable and cost-effective.

附图说明Description of drawings

图1所示为本实用新型一种基于单片机的温湿度测量系统的模块图。Fig. 1 shows a block diagram of a temperature and humidity measurement system based on a single-chip microcomputer of the present invention.

具体实施方式Detailed ways

下文将结合具体附图详细描述本实用新型具体实施例。应当注意的是,下述实施例中描述的技术特征或者技术特征的组合不应当被认为是孤立的,它们可以被相互组合从而达到更好的技术效果。Specific embodiments of the present utility model will be described in detail below in conjunction with specific drawings. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be regarded as isolated, and they can be combined with each other to achieve better technical effects.

如图1所示,本实用新型提供一种基于单片机的温湿度测量系统,包括:微控制模块1、传输模块2、电源模块3、温度传感器4、湿度传感器5、显示模块6、按键7、串口通信模块10及报警模块;微控制模块1连接电源模块3、显示模块6、按键7、串口通信模块10及报警模块;温度传感器4及湿度传感器5通过传输模块2连至微控制模块1,且本系统电源模块3优选+5V电源电压。As shown in Figure 1, the utility model provides a temperature and humidity measurement system based on a single-chip microcomputer, including: a micro-control module 1, a transmission module 2, a power module 3, a temperature sensor 4, a humidity sensor 5, a display module 6, buttons 7, Serial port communication module 10 and alarm module; micro-control module 1 is connected to power supply module 3, display module 6, key 7, serial port communication module 10 and alarm module; temperature sensor 4 and humidity sensor 5 are connected to micro-control module 1 through transmission module 2, And the power supply module 3 of this system preferably has a +5V power supply voltage.

进一步的,报警模块包括蜂鸣器9及指示灯8;蜂鸣器9优选THDZ型蜂鸣器,额定作电压为:12V,额定电流为:25mA。Further, the alarm module includes a buzzer 9 and an indicator light 8; the buzzer 9 is preferably a THDZ buzzer with a rated operating voltage of 12V and a rated current of 25mA.

进一步的,微控制模块1采用STC89C52RC单片机。STC89C52RC单片机在指令系统和引脚上完全兼容;具有8K字节程序存储器;全静态工作,工作范围:0Hz~24Hz;三级程序存储器加密;(1024+128)×8位;内部RAM;32位;双向输入输出线;两个十六位定时器/计数器;一个全双工的异步串行口;抗干扰能力强:高抗静电,2KV/4KV快速脉冲干扰;宽温度范围,-40℃~85℃;禁止ALE输出;超低功耗:1、掉电模式:典型功耗<0.1μA;2、空闲模式:典型功耗2mA;3、正常工作模式:典型功耗4mA~7mA。Further, the micro-control module 1 adopts STC89C52RC single-chip microcomputer. STC89C52RC MCU is fully compatible in instruction system and pins; with 8K byte program memory; fully static operation, working range: 0Hz~24Hz; three-level program memory encryption; (1024+128)×8 bits; internal RAM; 32 bits ; Bidirectional input and output lines; two sixteen-bit timers/counters; a full-duplex asynchronous serial port; strong anti-interference ability: high anti-static, 2KV/4KV fast pulse interference; wide temperature range, -40℃~ 85°C; disable ALE output; ultra-low power consumption: 1. Power-down mode: typical power consumption <0.1μA; 2. Idle mode: typical power consumption 2mA; 3. Normal working mode: typical power consumption 4mA~7mA.

进一步的,温度传感器4为DS18B20型温度传感器;它具有高集成度,超小型,高精度的数码功能。DS18B20数字温度传感器,可以直接将被测量出来的温度转化为串行数字信号,然后发送单片机。DS18B20不同于其它温度传感器的特性是:接口方式是单总线接口,一条接口线就满足DS18B20就能与单片机进行连接,在与单片机连接后,它们之间的通讯是双向的;不需要任何外围元件在DS18B20;测温范围-55℃~+125℃,固有的测温分辨率0.5℃,在-10℃~+85℃范围内,精度能达到±0.5℃,满足设计要求;测量结果是串行传送的,并且以9位数字量方式传送;用户可以设置报警温度;可以由数据线供电。Further, the temperature sensor 4 is a DS18B20 temperature sensor; it has high integration, ultra-small, high-precision digital functions. The DS18B20 digital temperature sensor can directly convert the measured temperature into a serial digital signal, and then send it to the microcontroller. The characteristics of DS18B20 different from other temperature sensors are: the interface mode is a single-bus interface, and one interface line can meet the requirements of DS18B20 to connect with the single-chip microcomputer. After connecting with the single-chip microcomputer, the communication between them is bidirectional; no external components are required. In DS18B20; the temperature measurement range is -55°C to +125°C, and the inherent temperature measurement resolution is 0.5°C. In the range of -10°C to +85°C, the accuracy can reach ±0.5°C, which meets the design requirements; the measurement results are serial It is transmitted, and it is transmitted in 9-bit digital quantity; the user can set the alarm temperature; it can be powered by the data line.

湿度传感器5为DHT11数字温湿度传感器,DHT11数字温湿度传感器是含有一个校准输出的温度和湿度传感器,其内部含有热敏电阻及NTC湿度测量装置并与8位微处理器相连,从而实现对外部温湿度精密测量。且具有相应快,抗干扰性强,输出校准等优势。通讯为单总线串行接口,尺寸小。The humidity sensor 5 is a DHT11 digital temperature and humidity sensor. The DHT11 digital temperature and humidity sensor is a temperature and humidity sensor with a calibrated output. It contains a thermistor and an NTC humidity measuring device inside and is connected to an 8-bit microprocessor to realize external Precise measurement of temperature and humidity. And it has the advantages of fast response, strong anti-interference, and output calibration. The communication is a single bus serial interface with small size.

进一步的,显示模块6采用LCD1602显示屏,LCD1602显示屏为点阵型液晶模块,能同时显示16*2个字符。Further, the display module 6 adopts an LCD1602 display screen, which is a dot-matrix liquid crystal module and can display 16*2 characters at the same time.

进一步的,所述按键7包括按键一K1、按键二K2、按键三K3及按键四K4,其中:Further, the buttons 7 include button one K1, button two K2, button three K3 and button four K4, wherein:

按键一K1:设置温度闸值加;Button one K1: set the temperature threshold plus;

按键二K2:设置温度闸值减;Button 2 K2: Set the temperature threshold value to decrease;

按键三K3:设置湿度闸值加;Button three K3: set the humidity threshold plus;

按键四K4:时钟湿度闸值减。Button 4 K4: decrease the clock humidity gate value.

本实用新型提供的一种基于单片机的温湿度测量系统采用STC89C52RC单片机为控制,通过温度和湿度传感器来测量温度和湿度,液晶屏的液晶显示器,用于温度和湿度,并含有温度和湿度控制系统的警报功能。本系统可靠,性价比很高。The utility model provides a temperature and humidity measurement system based on a single-chip microcomputer, which is controlled by a STC89C52RC single-chip microcomputer, and measures temperature and humidity through a temperature and humidity sensor. The liquid crystal display of the liquid crystal screen is used for temperature and humidity, and contains a temperature and humidity control system alarm function. The system is reliable and cost-effective.

本文虽然已经给出了本实用新型的一些实施例,但是本领域的技术人员应当理解,在不脱离本实用新型精神的情况下,可以对本文的实施例进行改变。上述实施例只是示例性的,不应以本文的实施例作为本实用新型权利范围的限定。Although some embodiments of the present invention have been given herein, those skilled in the art should understand that the embodiments herein can be changed without departing from the spirit of the present invention. The above-mentioned embodiments are only exemplary, and the embodiments herein should not be taken as limiting the scope of rights of the present utility model.

Claims (6)

1.一种基于单片机的温湿度测量系统,其特征在于,包括:微控制模块、传输模块、电源模块、温度传感器、湿度传感器、显示模块、按键、串口通信模块及报警模块;所述微控制模块连接所述电源模块、显示模块、按键、串口通信模块及报警模块;所述温度传感器及湿度传感器通过所述传输模块连至所述微控制模块。1. a temperature and humidity measurement system based on single-chip microcomputer, it is characterized in that, comprising: micro-control module, transmission module, power supply module, temperature sensor, humidity sensor, display module, button, serial port communication module and alarm module; Described micro-control The module is connected to the power supply module, display module, buttons, serial port communication module and alarm module; the temperature sensor and humidity sensor are connected to the micro control module through the transmission module. 2.如权利要求1所述的一种基于单片机的温湿度测量系统,其特征在于,所述报警模块包括蜂鸣器及指示灯。2. A kind of temperature and humidity measuring system based on single-chip microcomputer as claimed in claim 1, is characterized in that, described alarm module comprises buzzer and indicator light. 3.如权利要求1所述的一种基于单片机的温湿度测量系统,其特征在于,所述微控制模块采用STC89C52RC单片机。3. A kind of temperature and humidity measurement system based on single-chip microcomputer as claimed in claim 1, is characterized in that, described micro control module adopts STC89C52RC single-chip microcomputer. 4.如权利要求1所述的一种基于单片机的温湿度测量系统,其特征在于,所述温度传感器为DS18B20型温度传感器;所述湿度传感器为DHT11数字温湿度传感器。4. A kind of temperature and humidity measuring system based on single-chip microcomputer as claimed in claim 1, is characterized in that, described temperature sensor is DS18B20 type temperature sensor; Described humidity sensor is DHT11 digital temperature and humidity sensor. 5.如权利要求1所述的一种基于单片机的温湿度测量系统,其特征在于,所述显示模块采用LCD1602显示屏,所述LCD1602显示屏为点阵型液晶模块,能同时显示16*2个字符。5. A kind of temperature and humidity measurement system based on single-chip microcomputer as claimed in claim 1, is characterized in that, described display module adopts LCD1602 display screen, and described LCD1602 display screen is dot-matrix liquid crystal module, can display 16*2 simultaneously character. 6.如权利要求1所述的一种基于单片机的温湿度测量系统,其特征在于,所述按键包括按键一、按键二、按键三及按键四,其中:6. A kind of temperature and humidity measurement system based on single-chip microcomputer as claimed in claim 1, is characterized in that, described key comprises key one, key two, key three and key four, wherein: 按键一:设置温度闸值加;Button 1: Set the temperature gate value plus; 按键二:设置温度闸值减;Button 2: Set the temperature threshold value minus; 按键三:设置湿度闸值加;Button 3: set the humidity threshold plus; 按键四:时钟湿度闸值减。Button 4: Decrease the clock humidity gate value.
CN201520560783.9U 2015-07-29 2015-07-29 Humiture measurement system based on singlechip Expired - Fee Related CN204902881U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520560783.9U CN204902881U (en) 2015-07-29 2015-07-29 Humiture measurement system based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520560783.9U CN204902881U (en) 2015-07-29 2015-07-29 Humiture measurement system based on singlechip

Publications (1)

Publication Number Publication Date
CN204902881U true CN204902881U (en) 2015-12-23

Family

ID=54925049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520560783.9U Expired - Fee Related CN204902881U (en) 2015-07-29 2015-07-29 Humiture measurement system based on singlechip

Country Status (1)

Country Link
CN (1) CN204902881U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114038172A (en) * 2021-11-22 2022-02-11 国网青海省电力公司黄化供电公司 Environment control system for tool storehouse

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114038172A (en) * 2021-11-22 2022-02-11 国网青海省电力公司黄化供电公司 Environment control system for tool storehouse

Similar Documents

Publication Publication Date Title
CN202903721U (en) Device for measuring and controlling soil humidity
CN204902881U (en) Humiture measurement system based on singlechip
CN204287523U (en) A kind of weather monitoring instrument with dust concentration monitoring function
CN203673087U (en) Meteorological data measuring device
CN207557152U (en) A kind of novel pH value intelligent measure circuit
CN211121345U (en) Double-temperature compensation system of intelligent environment detection panel sensing equipment
CN202433118U (en) Indoor temperature and humidity alarm
CN206609527U (en) A kind of color identification device
CN204925387U (en) Intelligence ultrasonic ranging appearance based on singlechip
CN204409155U (en) Green house intelligent irrigation control device
CN204260729U (en) Based on the low power-consumption intelligent clinical thermometer of motion sensor
CN203520209U (en) Temperature and Humidity Measurement and Control System Based on Digital Circuit
CN206946340U (en) Poultry farming green house temperature-humidity TT&C system
CN103235540A (en) Multi-source information sensing equipment for animal house environment
CN203848940U (en) Temperature top and bottom limitation alarm
CN204389714U (en) A kind of weather monitoring instrument realizing Temperature and Humidity based on SHT2X chip
CN206470553U (en) Boiler feed controller in a kind of Thermal Power Station
CN103454944A (en) A small greenhouse control system
CN201795876U (en) a digital thermometer
CN211401293U (en) A environmental monitoring device for air conditioner
CN201421368Y (en) Ultra Low Power Electronic Thermometer
CN206930177U (en) A kind of resistance furnace control device
CN204791712U (en) Experimental development board based on singlechip
CN204988362U (en) Warm and humid acidimeter of novel tobacco field electronics based on bluetooth
CN208188701U (en) A kind of hatching house&#39;s humiture monitoring terminal based on LPC11C14

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: 20151223

Termination date: 20170729