1、 1 单 片 机 课 程 设 计 设计题目: 单 片 机 水 温 控 制 系 统 姓 名: 班 级: 07 自 动 化(2)班 学 号: 指导教师: 完成时间: 2010 年 6 月 25 日 2 课程设计任务书课程设计任务书 设计题目:单片机水温控制系统 设 计 任 务 设计要求: 设计制作一个水温自动控制系统,控制对象为 1 升净水,水温可以在一定范围内人工设定, 并能在环境温度降低时自动调节,以保持水温基本不变. 基本要求: 1. 温度设定范围 40 度90 度,最小区分度 1 度,标定误差小于 1 度. 2. 用十进制数码显示水的实际温度. 3. 环境温度降低时,温度控制的表态误差小于
2、 1 度. 设 计 要 求 1.调研,查找并收集资料; 2.总体方案设计; 3.绘制单片机硬件电路原理图; 4.绘制程序流程图; 5.编写原程序; 6.撰写设计说明书(字数约 2000 左右) ; 7.参考资料目录。 参 考 资 料 教研室主任签字: 年 3 数字温度计 摘 要:本文介绍一种基于 A T89C51 单片机作为控制器、使用数字温度传感器 DS18B20 作 为温度采集器的数字温度计。重点阐述了 A T89C51 的结构性能和引脚功能,DS1B20 的性 能结构、工作原理和控制方法,以及单片机 A T89C51 和数字温度传感器 DS18B20 之间的接 口、数据传递。该数字温度计
3、能够测出 0100之间的温度,适合日常生活、工业生产和 科学研究等领域对温度测量的需要。 关键词:温度测量;DS18B20;A T89C51 Design of Digital Thermometer Based on A T89C51Abstract: A digital thermometer collection is designed, which uses SCM A T89C51 as a controller, digital temperature sensor DS18B20 as temperature collector. The structure, pin and f
4、unction of the A T89C51, the performance of the structure, working principle and control methods of DS1B20, and the interface, data transmission between SCM A T89C51 and digital temperature sensor DS18B20 is introduced. This digital thermometer can detect the temperature from0to100 It is suitable for daily life, industrial production and scientific research in areas such as the temperature measurement needs