文档介绍:论文题目:粮仓温湿度监测系统(软件)
专业:自动化
本科生: (签名)___________
指导教师: (签名)___________
摘要
本设计是以单片机为核心,配合温度传感器(DS18B20)和湿度传感器(HIH-4010),相关的外围电路以及上位机(VB)显示组成了粮仓温湿度监测系统,可以监测粮仓环境的温度和湿度信号,检测人员可以通过LCD1602液晶显示的数据或者上位机(VB),实时监控粮仓环境的温度和湿度情况。所有的测量操作都可以通过主机控制软件来实现,温度传感器得到的测量信号,经电路转换为电信号,直接送入单片机。湿度传感器则需要经过A/D转换芯片(TLC549)的处理送到单片机进行数据处理,然后经过软件分析处理后送显示装置。
本系统还应用RS232与上位机相连接,可以设置温度、湿度的报警值,也可以实时显示温湿度的采样值,并将其存入数据库,便于以后对于数据的处理。
关键词:STC89C52RC单片机,温度传感器,湿度传感器,LCD显示,上位机
Subject: Barn Temperature and Humidity Monitoring System (Software)
Specialty: Automation
Name: SunTingting (Signature) ___________
Instructor: YueChunxia (Signature) ___________
ABSTRACT
This design is based on single chip puter as the core including the temperature sensor (DS18B20), humidity sensor (HIH-4010), the related peripheral circuit and PC (VB) . It can monitor the temperature and humidity signal of granary environment. Workers can display data through the LCD1602 or PC (VB) in time to monitor the barn conditions. All of the measuring the operation can be controlled by software .Temperature sensors can get the signal and the circuit converts them into electrical signals to send the microcontroller. Humidity sensor need to make use of A/D conversion chip to convert the data to analysis them by MCU sending them to display device by software.
This system is connected with PC by can set alarm value of the temperature and humidity .It also can display temperature and humidity in time, and save them in the database to handle the data conveniently in the future.
Key words: STC89C52RC microcontroller, temperature sensors, humidity sensors, LCD display, PC
目录
第1章前言 1
1
1
2
3
3
第2章系统的软件设计 4
4
4
5
DS18B20温度传感器 6
HIH4010湿度传感器 6
TLC549 A/D转换模块 8
LCD1602显示模块 9
10
10
12
13
13
14
14
小结 33
第3