1、 ( 二二 一一 二二 年年 六六 月月 本科毕业设计说明书本科毕业设计说明书 题题 目 :目 : 基于单片机的定时器的设计与实现基于单片机的定时器的设计与实现 学 生 姓 名学 生 姓 名 : 学学 院院 : 信 息 工 程信 息 工 程 系系 别 :别 : 电 子电 子 信 息 工 程信 息 工 程 专专 业 :业 : 电 子 信 息 工 程电 子 信 息 工 程 班班 级 :级 : 电 子电 子 0808- - 1 1 指 导 教 师指 导 教 师 : 摘 要 近年来随着计算机在社会领域的渗透和大规模集成电路的发展, 单片机的应用正 在不断地走向深入,由于它具有功能强,体积小,功耗低,价
2、格便宜,工作可靠,使 用方便等特点,因此特别适合于与控制有关的系统,越来越广泛地应用于自动控制, 智能化仪器,仪表,数据采集,军工产品以及家用电器等各个领域,单片机往往是作 为一个核心部件来使用,在根据具体硬件结构,以及针对具体应用对象特点的软件结 合,以作完善。 数子时钟在日常生活中最常见,应用也最广泛。本次做的数子时钟是以单片机 (AT89C51)为核心,结合相关的元器件(时钟芯片 DS1302、LCD 液晶显示器) ,达到 制作简易数字时钟的目的,文章的核心主要是硬件设计和软件编程两个大的方面。硬 件电路设计由包括中央处理单元电路、液晶显示电路、人机接口电路等几部分组成, 软件用汇编语言
3、来实现。其硬件部分难点在于元器件的选择、布局及焊接。 关键词:单片机 AT89C51 LCD 液晶显示器 时钟芯片 DS1302 Abstract Recent years , the use of singlechip is moving toward deeply with the filter of computer in the society and the development of the large scale integrated circuit. Singlechip is especially equal to the system relation to the co
4、ntrol because of its strong funtion 、samll volume、low power consumption、inexpensive price、credibility work and its handy.it is used in the area of automata、Intelligent instrument、appearance、data acquisition、production of war industry 、domestic appliance and so on.the singlechip is used usually as the centerpiece,It can be perfect bases the specific Hardware infrastructureand aim at the integrated hardware and software device of the specific complexion. Digital clock is the most