1 / 41
文档名称:

多功能数字时钟的设计.doc

格式:doc   页数:41
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

多功能数字时钟的设计.doc

上传人:DOC KING 2012/2/29 文件大小:0 KB

下载得到文件列表

多功能数字时钟的设计.doc

文档介绍

文档介绍:学校代码: 10128
学号: 200620107042


本科毕业设计说明书
(
题目:多功能数字时钟的设计
学生姓名:崔海港
学院:机械学院
系别:测控系
专业:测控技术与仪器
班级:测控06-1班
指导教师:徐刚讲师
二〇一〇年六月
摘要
数字时钟在日常生活中最常见,应用也最广泛。本次数字时钟电路根据设计要求采用AT89C51单片机作为控制核心,采用DS1302来实现时、分、秒24小时计时,采用DS18B20来实现温度的测量,采用LED实现显示,采用蜂鸣器实现报警功能。文章的核心主要是硬件设计和软件编程两个大的方面。硬件电路设计主要包括中央处理单元电路、时钟电路、温度测量电路、键盘扫描电路、报警电路。软件用汇编语言及C语言来实现,主要包括主程序、时间设置子程序、温度测量子程序、键盘扫描子程序、报警电路子程序等软件模块。电路实现了显示时间、调整时间、测量并显示温度、报警、闹钟定时等功能,达到了设计的要求和目的。并在伟福软件上进行了仿真和调试。
关键词: 数字时钟;AT89C51;DS1302;DS18B20;LED;蜂鸣器
Abstract
Digital clock in their daily lives the mon applications and the most widely. The digital clock circuit according to design requirements using AT89C51 microcontroller as the control, using DS1302 to achieve the hours, minutes, seconds, 24 hours time, using DS18B20 to achieve the temperature measurement, using LED to achieve display, using a buzzer to achieve alarm function. The core of the article is mainly hardware design and software programming. Hardware design includes a central processing unit circuit, clock circuit, temperature measurement circuit, the keyboard scanning circuit, alarm circuit. Using assembly language and C language for software design, including the main program and time setting subroutine, temperature measurement subroutine, the keyboard scan subroutine, subroutines and other software modules alarm circuit. pleted show time, adjustment time, measuring and displaying temperature, alarms, alarm clock timer functions. plete the design requirements and objectives. And I simulate and test them in Wave software.
Keywords: digital clock; AT89C51; DS1302; DS18B20; LED; buzzer
目录
摘要 2
目录 4
第一章绪论 1
课题研究背景 1
课题研究意义 2
本文的主要内容 2
第二章方案论证及设计 4
总体方向的选择 4
基础FPGA的多功能数字时钟的设计 4
基于VHDL的多功能数字时钟的设计 4
基于单片机的多功能数字时钟的设计 4
控制芯片及数字时钟芯片的选择 5
AT89S51及DS12887芯片 5
AT89C51及DS1302芯片 5
温度测量芯片的选择 7
显示部分的选择 8
静态显示 8
动态显示 8
方案小结 9
第三章核心芯片简介 10
AT89C51简介 10
DS1302简介 14
DS1302引脚功