资源预览内容
第1页 / 共36页
第2页 / 共36页
第3页 / 共36页
第4页 / 共36页
第5页 / 共36页
第6页 / 共36页
第7页 / 共36页
第8页 / 共36页
第9页 / 共36页
第10页 / 共36页
亲,该文档总共36页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
牡丹江师范学院学士学位论文基于单片机的实时时钟设计姓 名:李艳红 指导教师:曹望成 系 别:计算机科学与技术系 年 级:2006 级 专 业:计算机科学与技术基于单片机的实时时钟的设计II目 录摘 要.III 英文摘要.IV 1 单片微型计算机 .1 1.1 单片机的概念.1 1.2 单片机的特点.2 1.3 单片机的介绍.2 1.4 单片机的应用.4 1.5 单片机的发展概况.5 1.6 单片机的发展趋势.6 1.7 单片机 AT89C52 简介.7 2 时钟芯片 DS1302 简介.8 2.1 DS1302 的结构及工作原理.8 2.2 引脚功能及结构.8 2.3 DS1302 的控制字节.9 2.4 数据输入输出(I/O).9 2.5 DS1302 的寄存器.10 3 Proteus 的简介.11 4 系统的硬件设计.13 4.1 电路设计框图.13 4.2 系统硬件介绍.13 4.2.1 AT89C52.13 4.2.2 DS1302 引脚功能和内部结构.14 4.2.3 LCD 1602.14 4.2.4 各硬件部分的连线.16 5 系统的软件设计 .17 5.1 系统流程图.17 5.2 主程序.19 5.3 运行结果.19 总 结.20 致 谢.21 参考文献.22 附 录.23基于单片机的实时时钟的设计III摘要:本文采用单片机控制系统的基础上综合应用时钟芯片DS1302 和 Proteus 软件。单片机是一个基本微型计算机,由AT89C52 单片机一个芯片通过简单的电路连接,便可组成最小的应用系统,利用集成在单片机内部的接口,实现并行、串行数据传输,定时计数控制,中断等功能,从而完成一定检测控制功能。希望通过研究与设计了解 DS1302 芯片的内部结构、工作方式、各引脚功能及 I/O 口的使用,并对 Proteus 软件的安装、使用和运行环境进一步了解掌握;以及学习 LCD1602 液晶显示屏的引脚功能,用 LCD显示器代替显示器代替指针显示进而显示时间,减小了计时误差,这种表具有时,分,秒显示时间的功能,还可以进行时和分的校对,片选的灵活性好。在运行后可得到与当时对应的时间。关键词:单片机;AT89C52 单片机;DS1302 芯片;Proteus 软件;实时时钟基于单片机的实时时钟的设计IVThe Design of Real-Time Clock based on Single-chip MicrocomputerAbstract:In this paper, single-chip microcomputer control system used to carry out the real-time clock with help of DS1302 and Proteus software, from MCS-51 microcontroller chips through a simple circuit connections, will be composed of the smallest system, integrated within the single-chip microcomputer in the pretext of achieving and, crossed the data transmission, Timing counts control, interrupt, and other functions, thereby completing a certain measurement and control functions. Hope that the understanding through research and design of the DS1302 chips internal structure, work methods, pin functions and I/O usage, you must further master the setup,usage and play station of Proteus. We can learn pin functions of LCD1602, we can use the LCD instead of common indicator to reduce the timing errors , this clock can show hour, minute, second and proofread the hour and minute. you
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号