应用电子技术毕业设计论文基于单片机的温度显示数字时钟设计.doc
文本预览下载声明
江西工业职业技术学院 毕业设计
课题名称: 温度显示数字时钟设计
作 者: 学 号:
分 院: 电子与信息工程
专 业: 应用电子技术
指导老师: 专业技术职务 副教授
2012年 3 月
摘要
本设计是基于51系列的单片机进行的实时温度显示和时钟显示设计,可实现温度报警和闹钟功能,具有可调整报警温度和时间功能。在设计的同时对单片机的理论基础和外围扩展知识进行了比较全面准备。
时钟显示的设计过程在硬件与软件方面进行同步设计。硬件部分主要由AT89S52单片机,LCD显示电路,以及调时按键电路等组成,系统通过LCD显示数据,所以具有人性化的操作和直观的显示效果。软件方面主要包括时钟程序、键盘程序,显示程序等。本系统以单片机的汇编语言进行软件设计,为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了,以便更简单地实现调整时间及温度显示功能。所有程序编写完成后,在wave软件中进行调试,确定没有问题后,在Proteus软件中嵌入单片机内进行仿真。
关键词:AT89S52; DS18B20; 1602
Abstract
The design is based on the 51series single-chip real-time temperature display and clock display design, can realize temperature alarm and alarm clock function, can adjust the alarm temperature and time function. In the design at the same time on a single theoretical basis and peripherally extending knowledge undertook comparative comprehensive preparation.
The clock shows the design process of the hardware and software aspects in synchronous design. The hardware part consists of AT89S52chip, LCD display circuit, as well as the timing circuit and other components, the system through LCD display data, so it has a user-friendly operation and visual display effect. The software mainly includes the clock procedures, keyboard, display program. This system based on the MCU assembly language for software design, in order to facilitate the expansion and the change, the software design uses the modular structure, make the logic relation of designing program more concise, so that more simply realize the adjustment time and temperature display function. All programming is completed, in the wave software for debugging, determined that there is no problem, in the Proteus software embedded microcontroller simulation.
Key Words:AT89S52; DS18b20; 1602
目录
1概述 3
2设计方案论证 2
2.1功能要求 2
2.2方案确定 4
2.2.1单片机芯片的选择方案和论证 4
2.2.2显示模块选择方案和论证 5
2.2.3时钟芯片的选择方案和论证 5
2.2.4温度采集模块的选择方案和论证 6
2
显示全部