摘要本文介绍了基于51单片机和上位机的温湿度监测系统。阐述了温湿度采集装置的设计思路,详细说明了系统硬件、软件的具体设计过程。本设计用AT89C52作为主控器件,用SHT11作为温湿度传感器,用LED—1602为显示器件,并通过Proteus软件进行模拟仿真。SHT11能够直接读取温湿度数据,进行数据转换,该传感器的物理化学性稳定,监测结果较为准确,能自动读取温湿度信息并处理成数字信号并直接向单片机传送,便于单片机控制和处理。而LCD—1602是常用的液晶显示器件,由若干个5X7或者5X11等点阵字符位组成,能够同时显示16x02即32个字符。在设计中采用了单片机常用的C语言进行编写。通过Proteus软件中的COMPIM原件与上位机进行模拟串口连接。上位机程序由Visual Basic编写,能够显示由单片机传来的串口数据,便于远程监控。关键词 单片机 上位机 温湿度 监测 仿真25405
毕业论文设计说明书外文摘要
Title Temperature and humidity monitoring and measure system based on MCU and PC
Abstract
This paper introduces the temperature and humidity monitoring system based on 51 MCU and host-computer in detail. Describes the design thinking of temperature and humidity acquisition device, a detailed description of the specific design process of the hardware and software system. The design use AT89C52 as the main control pice, use SHT11 as the temperature and humidity sensor, using LED-1602 as display device, and simulated by Proteus software.SHT11 can directly read temperature and humidity data,data conversion.the sensor has a stable physical and chemical character, the monitoring results are accurate, can automatically read the temperature and humidity information and processed into digital signal and transmitted directly to the MCU,convient for control and processing. LCD-1602 is a commonly used liquid crystal display device, composed by a number of 5X7 or 5X11 character dot matrix, which can display 32 characters in the same time. Programming by C language,which is one of the most frequently used language. Through COMPIM(a component in Proteus) to simulation serial connection with PC. The host computer program written by Visual Basic,which can display the serial data from the MCU to facilitate remote monitoring. The PC program written by Visual Basic, which can display the serial data from the MCU in order to facilitate the remote monitoring.
Keywords single chip PC Temperature and humidity Monitor Simulation
目 次
1 绪论 1
1.1 设计背景 1
1.2 方案制定 1
1.3 总体设计框图 2
2 主要元器件介绍 3
2.1 AT89C52的性能介绍 3
2.1.1 AT89C52单片机的硬件结构 3
2.1.2 AT89C52单片机的主要性能参数 4
2.1.3 AT89C52引脚说明 4
2.1.4 振荡器特性 6
2.2 SHT11传感器介绍 6
2.2.1 SHT11产品概述 6
2.2.2 SHT11功能特点 6
2.2.3 SHT11引脚功能 7
2.2.4 SHT11的内部结构和工作原理 7
2.2.5 SHT11的测试时序 8
2.3 LCD1602介绍 8
2.3.1 LCD1602产品概述 8
2.3.2 LCD1602引脚介绍 9
3 硬件设计 10
3.1 单片机最小系统设计 10
3.1.1 复位电路 10
3.1.2 震荡电路 10
3.2 SHT11与单片机的接口电路 11 51单片机和上位机的温湿度监测系统设计:http://www.751com.cn/zidonghua/lunwen_19180.html