摘 要:货物的存储需要适宜的温度和湿度,假若管理不当将会造成巨大的财产损失。本论文分别从硬件软件两个方面,对基于AT89S52单片机的温湿度自动检测系统进行设计。该设计具有超调量小;报警功能;测温准确;操作简单等特点。65889
本论文系统采用AT89S52单片机,实现对多点的温度进行实时监测。GHT11是一款温湿度复合传感器,其具有体积小;硬件开销低;抗干扰能力强;精度高等优势。本系统具有独特的单总线优势,可以使用户轻松组建传感器网络,并且可以简单、可靠的进行多点温度测量。本文结合实际,进行了GHT11与单片机的硬件连接以及软件编程,最终设计出了在仓库存储过程中对温湿度的监测系统。
毕业论文关键词:温度测量,温度传感器,单总线,AT89S52单片机
Abstract:The storage of the goods needs the appropriate temperature and humidity, and the improper management will cause huge loss of property. This paper designs the temperature and humidity automatic detection system based on AT89S52 microcontroller from two aspects of hardware software. The design has the characteristics of small amount of overshoot, alarm function, accurate temperature measurement, simple operation and so on.
The core of this paper is AT89S52 microcontroller, and realize the real-time monitoring of the temperature of multi-point. GHT11 is a kind of high accuracy digital temperature sensor which can be network, with small size, low hardware cost, strong anti-interference ability and high accuracy. Its unique single bus advantage, you can easily set up the sensor network, and can be simple and reliable for multi-point temperature measurement. In this paper, the hardware connection and software programming of GHT11 with SCM are carried out, and the monitoring system of temperature and humidity is finally designed.
Keywords: temperature measurement, temperature sensor,single bus,AT89S52 microcontroller
目 录
1.绪论 2
1.1课题的背景与意义 2
1.3研究内容和设计目标 2
2.方案设计 2
2.1设计方案一 2
2.2设计方案二 2
2.3方案的阐述与论证 2
3.硬件设计 2
3.1单片机的选用 2
3.2温湿度传感器的选用 2
3.3单片机外围电路设计 2
3.3.1复位电路设计 2
3.3.2时钟电路设计 2
3.3.3显示电路设计 2
3.3.4键盘电路设计 2
3.3.5报警电路设计 2
3.3.6通信模块设计 2
3.3.7接口电路设计 2
3.3.8继电器模块设计 2
4.软件设计 2
4.1软件开发工具的选择 2
4.2系统软件设计的一般原则 2
4.3系统软件设计的一般步骤 2
4.4系统主程序流程图