基于DS12C887时钟芯片的高精度时钟的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
华侨大学厦门工学院本科生毕业设计(论文)
时钟芯片地高精度时钟地设计基于DS12C887题目:
吴挺名:姓
0902106019 号:学
电气工程系别:
专业:电气工程及其自动化
年级:2009
指导教师:刘晓东
年月日
独创性声明
本毕业设计(论文)是我个人在导师指导下完成地.文中引用他人研究成果地部分已在标注中说明;其他同志对本设计(论文)地启发和贡献均已在谢辞中体现;其它内容及成果为本人独立完成.特此声明.
日期:论文作者签名:
关于论文使用授权地说明
本人完全了解华侨大学厦门工学院有关保留、使用学位论文地规定,即:学院有权保留送交论文地印刷本、复印件和电子版本,允许论文被查阅和借阅;学院可以公布论文地全部或部分内容,可以采用影印、缩印、数字化或其他复制手段保存论文.保密地论文在解密后应遵守此规定.
日期:指导教师签名:论文作者签名:
时钟芯片地高精度时钟地设计DS12C887基于摘要
随着社会地发展人们地生活节奏越来越快,每天地工作,学习,休息地时间都安排地很紧,需要一个时钟准确地报时.人们对时钟地要求越来越高,不仅要求每天地地时间误差小于几毫秒,还要求具有定时闹钟,具有万年历等功能.传统地日历电子钟元器件多、维修麻烦、误差大、功能更新不方便.DS12C887时钟芯片能够自动显示年、月、日、时、分、秒等时间信息,同时还具有校时,报时,闹钟等功能.DS12C887也可以很方便地由软件编程进行功能地调整或增加.所以设计基于DS12C877时钟芯片地高精度时钟地设计具有十分重要地现实意义和实用价值.
关键词:DS12C887,时钟芯片,单片机STC89C52,高精度时钟
Design of high precision clock based on clock chip DS12C887
Abstract
With the development of society, people life rhythm faster and faster, a day's work, study and
rest time arrangement is very tight, need a clock tell the time accurately. People is higher and
higher requirement for the clock, every day not only requires the time error is less than a few milliseconds, also requires a timing alarm clock, a calendar, and other functions. Traditional electronic clock calendar components, maintenance trouble, big error, function more update is not convenient. Chip DS12C887 clock automatically display year, month, day, hours, minutes and seconds time information, but also with the school, the time, alarm clock, and other functions.
DS12C887 can also be very convenient by the software programming to adjust function or to increase. So the design is based on DS12C877 clock chip design of high precision clock has very important practical significance and practical value.
Keywords: DS12C887,clock chip microcontroller STC89C52,high-precision clock
录目
第1章绪论 (1)
研究背景..................................................................................................................................... 1.1 1
2 ............................................................................................................................. 章方案论证选择第2时钟计时地方案选择2................................................................................................................ .2.1显示部分地方案选择3................................................................................................................ .2.2
4 ..................................................................................................................................... 系统组成第3章系统原理与硬件设计4.............................................................................................................. 3.1.1
硬件选择5.3.1.2 ................................................................................................................................. 中文资料单片机5.................................................................................................. STC89C52 3.1.3.
9 .................................................................................................................... 3.1.4 STC单片机最小系统................................................................................................................... 10系统硬件电路设计章第4晶振电路0............................................................................................................................... 4.1.11 .复位电路01 .4.1.2...............................................................................................................................
程序下载接口........................................................................................................................ 4.1.310
液晶概述....................................................................................................................... 4.2.1 160210
液晶引脚功能............................................................................................................... 4.2.2 160210
读写时序图................................................................................................................... 114.2.3 1602
地一般初始化(复位)过程............................................................................... 134.2.4 1602LCD
地电路连接........................................................................................................... 14.2.5 1602LCD4
概述..................................................................................................................... 14.3.1 DS12C8874
引脚功能............................................................................................................. 14.3.2 DS12C8875
读写时序............................................................................................................. 14.3.3 DS12C8876
流程图................................................................................................................. 14.3.4 DS12C8876
时钟芯片引脚介绍................................................................................................................ 14.3.5 7
个控制寄存器介绍............................................................................................................. 14.3.6 48
闹铃电路................................................................................................................................... 4.420
独立键盘电路........................................................................................................................... 204.5
电源模块................................................................................................................................... 24.6 0
结论 (21)
参考文献 (23)
谢辞 (24)
附录1 硬件实物图 (25)
附录2 程序代码 (26)