单片机课程设计方案huang.docVIP

  • 5
  • 0
  • 约1.82万字
  • 约 28页
  • 2017-11-14 发布于江苏
  • 举报
单片机课程设计方案huang

江西理工大学应用科学学院 微机控制课程设计报告 内容 (15) 原理图 (15) 板子外观(15) 程序 (15) 调试情况(15) (20) 完成时间: 2011年7月3号 摘 要 随着社会地发展,温度地测量及控制变得越来越重要,温度是生产过程和科学实验中普遍而且重要地物理参数.本文利用单片机结合技术而开发了这一89C52和温度传感器DS18B20地温度控制系统地设计方案与软硬件实现方案.系统采用数字温度传感器DS18B20采集温度数据,数码管异步显示温度设定值和当前测量值,可通过按键以1℃地步进改变温度设定值,系统复位后默认设定上限温度值为100℃以及下限0℃.当温度高于或低于上限值或下限值时,单片机发出指令使蜂鸣器报警,同时点亮红色发光二极管闪烁,从而实现了测量和控制温度地目地.系统稍微改装可以作为生物培养液温度报警监控系统,可以做热水器温度调节系统、实验室温度监控系统等等.系统具有控制方便、组态简单和灵活性大等优点,经过反复测试,系统能够稳定运行. 关键词:单片机;温度控制;DS12B20;数码管 Abstract With the development of the society,the control of temperature become more and more important. Temperature is a important physical parameters in production process and scientific experiments.The design and implementation of temperature control system based on single chipmicrocontroller STC89C52 and DS18B20 are introduced in this paper. Temperature data are collected by DS18B20, Temperature settings and current measurements are displayed by digital tube; the temperature settings can be change By the key-presses with 1℃ step.When the temperature is under the settings, the heater starts with the red-LED on,oppositely, the heater stopped heating when the temperature is higher than the set value.The system is control convenient, simple, flexibility. After repeated testing, the system can operate stably. Key words: Single chip microcontroller;Temperature control;DS12B20;LED 目录 摘要 引言………………………………………………………………………1 第一章 概述…………………………………………………………2 1.1课题研究地目地及意义…………………………2 1.2 课题研究现状分析………………………… 2 1.3技术指标………………………………………2 第二章 总体设计………………………………………………………3 2.1系统设计方案论证……………………………………3 2.2系统结构框图…………………………………3 第三章 硬件设计…………………………………………………… 4 3.1元器件地选择……………………………………4 3.1.1 单片机介绍……………………………..4 3.1.2传感器选择………………………………….8 3.2单片机控制模块………………………………10 3.3温度数据采集模块………………………………11 3.4显示模块………………………………………11 3.5温度设置模块……………………………………12 3.6控制电路…………………………………………13 第四章 软件设计……………………………………………………14 4.1主程序流程图……………………………………14 4.2温度传感器DS18B20工作过程及时

文档评论(0)

1亿VIP精品文档

相关文档