毕业设计(论文)温湿度控制系统的软件设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业设计(论文)题目:温湿度系统的软件设计
学院:信息工程学院
专业名称:电子信息工程
班级学号: 08041232
学生姓名:周赟
指导教师:刘清平
二O一二年六月
温湿度系统的软件设计
学生姓名:周赟班级:08041232
指导老师:刘清平
摘要:随着微电子技术、计算机技术、测试技术的发展,单片机通信和信息监测技术在日常生活中的运用日益广泛。虽然红外,蓝牙等无线通信技术得到了很大的发展,但是有线通信仍然是占据着当今通信领域的半壁江山,其在各种信息监测和通信方面也占有着重要的作用。
本文采用STC89C52单片机为主控微处理器,设计了一个能够同时监测温度和湿度的单片机系统。本设计是以单片机STC89C52为核心,配合DS1820温度传感器和CHR-01湿度传感器,以及相关的外围电路组成的检测系统,可以接收所测环境的温度和湿度信号,检测人员可以通过数码管显示的数据,实时监控环境的温度和湿度情况。本系统包括系统硬件和软件设计,可靠性高,结构简单,实现了对温湿度的自动调节。该系统的测温范围:-25℃—+55℃,采集精度为±0.5℃,湿度范围:20%—80%,采集精度为±5%。用DS18B20温度传感器作为温度采集模块,采用CHR-01作为湿度传感器,LM324作为运算放大器,TLC0831作为模数转换器等组成了湿度采集模块;利用HD7279A 作为键盘和显示模块;使用单片机的串口组成数据发射、接收模块。
经过精心的设计和制作,整个系统完成了对温度和湿度的采集、传输、接收和显示等功能,该系统具有系统结构简单、电路成本低、数据传输距离长,传输精度高、抗干扰强等特点。
关键词:温度传感器湿度传感器STC89C52单片机
指导老师签名:
The software design of Temperature and
humidity system
Student name : Zhou Yun Class: 08041232
Supervisor: Liu Qingping
Abstract: With microelectronic technology, computer technology, testing technology, computer communication and information monitoring technology in daily life increasingly widespread use. Although the infrared, Bluetooth and other wireless communication technology has got great development, but is still occupying the wired communication communication field in the half of the country, all kinds of information monitoring and communication also plays an important role in.
In this paper, using STC89C52 microcontroller to control the microprocessor, the design of a can simultaneously monitor the temperature and humidity of the single chip microcomputer system. The design is based on STC89C52 single chip computer as the core, with the temperature sensor DS1820 and CHR-01 humidity sensor, and related peripheral circuits of the detection system, which receives the measurement of environmental temperature and humidity signals, the testing personnel can through the digital tube display data, real time monitor of environment temperature and humidity conditions. The system includes the design of hardware and software, high reliability, simple structure, realizes the automatic regulation of temperature and humidity. The system of temperature measurement range: -25℃ - +55 ℃, acquisition accuracy is ± 0.5 ℃, humidity range:20% - 80%, acquisition accuracy is ± 5%. With the temperature sensor DS18B20as the temperature acquisition module, using CHR-01as a humidity sensor, LM324 as operational amplifier, TLC0831 as analog-to-digital converter composed of humidity acquisition module; the use of HD7279A as a keyboard and display module; the use of single-chip serial port data transmitting, receiving module.
Carefully design and production, the whole system for temperature and humidity of the collection, transmission, reception and display functions, the system has the