文档介绍:北京电子科技职业学院
Beijing Electronic Science and Technology Vocational College
毕业设计
设计题目智能温度系统的设计与制作
系部电子工程系
专业应用电子技术
班级 08应用电子技术
姓名
指导教师
201 年 4 月
基于单片机温度控制电路的设计与制作
摘要:单片机在检测和控制系统中得到广泛的应用, 温度则是系统常需要测量、控制和保持的一个量。本设计以AT89S52单片机为控制核心,由实时时钟芯片DS1302和数字温度传感器DS18B20构成了一个高温和低温时,分别对相应的器件进行控制的系统。详细地介绍了整个系统的硬件组成结构、工作原理和系统的软件程序设计,重点阐述了时钟模块、显示模块、温度检测模块及相关控制模块等的模块化设计思路与制作。系统采用液晶LCD1602作为显示器,具有实时时间显示、环境温度显示,显示系统连续工作前24小时整点的温度值。
关键词:AT89S52单片机;DS1302;DS18B20;LCD1602;AD;智能温控;
Abstract:puter in the detection and control system has been widely used in the temperature is system, usually need to be measurement, control and maintain a quantity. This design with AT89S52 microcontroller as control core, by real time clock chip DS1302 and digital temperature sensor DS18B20 constitute a high temperature and low temperature respectively on the corresponding device to control system. Introduced the whole systems hardware structure, working principle and system software program design in detail, expounds the clock module, display module, temperature detecting module and related control module of modularization design and production. System adopts LCD monitor, LCD1602 as with real-time time display, environmental temperature display, display the system worked 24 hours before the temperature on the hour value.
Key words: AT89S52single-chip; ds1302;ds18b20; lcd1602;AD;Intelligent temperature controller ;
目录
第一章单片机介绍
单片机
单片机的特点
单片机的分类
第二章设计方案
软件设计方案
第三章系统硬件设计
总体电路框图
单元电路设计
电源电路
第四章系统软件设计
总体软件设计图
:
:
:
第五章综合调试
第六章总结
附录
单片机
单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存储器ROM、多种I/O口和中断系统、定时器/计时器等功能(可能还包括显示驱动电路、脉宽调制电路、模拟多路转换器、A/D转换器等电路)集成到一块硅片上构成的一个小而完善的计算机系统。
单片机的特点
1、芯片虽小,五脏俱全,是单片机主要特点之一。其内部设有程序存储器、数据存储器、各种接口电路。而大型的处理器运算速度较高,运算器位数较多,处理能力较强,但需要在外部配置接口电路。
2、单片机主频一般在100MHZ以下,适合用于独立