文档详情

基于单片机对太阳能热水器水温的监测.doc

发布:2018-01-22约1.95万字共39页下载文档
文本预览下载声明
题目:基于单片机对太阳能热水器水温的监测 【中文摘要】 本设计采用一块单片机()作为水温控制系统的控制核心实现人工设定温度,显示水的实时温度等功能。采用简易键盘对目标温度(~99℃)进行人工设定,并用数码管动态显示水的实时温度。The design uses a microcontroller(AT89S52) as the core of the control water temperature control system. It can achieve artificial set temperature ,and show the real-time water temperature and other functions. Digital temperature acquisition system consists of the main controller, the temperature acquisition circuit , the temperature display circuit , the alarm control circuit and keyboard input control circuit. The device uses simple keyboard to artificially set the target temperature(0℃ to 99 ℃),and dynamically display the real-time water temperature. This paper focuses on the hardware configuration of the system, the main role of diverse parts, and the design process of system software.Then the basic theory and application of techniques of the microcontroller temperature control system in the design are comprehensively presented. Keywords: AT89S52,temperature monitoring,temperature sensor 目录 1、 引言……...…...……...………...…………...………...…………………………1 2 、系统硬件电路设计……...…...……...………...…………...………...….……...2 2.1数字温度计设计方案论证…………………………………………….….…..2 2.2 总体设计框图…………………………………………………………….…..2 2.3 DS18B20温度传感器………………………………………….……….…….3 2.3.1 DS18B20温度传感器介绍……………………………………….…….4 2.3.2 DS18B20温度传感器工作原理…………………………….…….…....4 2.3.3 DS18B20与单片机的典型接口………………………………….…….7 2.3.4 测温操作……………………………………………………….……….9 2.3.5 报警搜索操作…………………………………………………..……....9 2.4 单片机控制电路设计………………………………………………….……..9 2.4.1 ATMEL公司AT89S52单片机…………………………………….… ..9 2.4.2 AT89S52单片机主要接口描述………………………………..………10 2.5 显示电路设计…………………………………………………………..……13 2.5.1 七段数码管介绍及应用……………………………………………….13 2.5.2 七段数码管的使用注意事项………………………………………….13 2.5.3 数码管的驱动方式…………………………………………………….13 2.5.4 数码管的测试方法…………………………………………………….15 2.6 系统整体电路图……………………………………………………………..15 2.7 单片机最小系统…………………………………………………………......17 2.8温度传感器系统……………………………………………………………...18 2.9 报警电路设计………………………………………………………………..18
显示全部
相似文档