没有合适的资源?快使用搜索试试~ 我知道了~
电子设计大赛-单片机数字万年历.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
8 浏览量
2022-07-08
13:09:14
上传
评论
收藏 381KB DOC 举报
温馨提示
电子设计大赛-单片机数字万年历
资源推荐
资源详情
资源评论




I
电子设计大赛
—数字万年历
摘要
在当代繁忙的工作与生活中,时间与我们每一个人都有非常亲密的关
系,每个人都收到时间的影响,为了更好的利用我们自己的时间,我们必
须对时间有一个度量,因此产生了钟表。随着社会、科技的发展,人类得
知时间,从观太阳、摆钟到现在电子钟,不断研究、创新。为了在观测时
间的同时能够了解其他与人类密切相关的信息,比如温度、星期、日期等,
电子万年历诞生了,它集时间、日期、星期和温度于一身,具有读取方便、
显示直观、功能多样、电路简洁等诸多优点,符合电子仪器仪表的发展趋
势,具有广阔的市场前景。随着人们生活水平的提高和生活节奏的加快,
对时间的要求越来越高,精准数字计时的消费需求也是越来越多。
该电子万年历主要采用 AT89S52 单片机作为主控核心,由 DS1302 时
钟芯片提供时钟、LED 动态扫描显示屏显示,AT89S52 单片机具有功耗小,
片内 ROM 全都采用 FlashROM:能以 3V 的超低电压工作,同时也与 MCS-51
系列单片机完全兼容,该芯片内部存储器为 8KB ROM 存储空间,同时具有
89C51 的功能,且具有在线编程可擦除技术,当在对电路进行调试时,由
于程序的错误修改或程序的新增功能需要烧入程序时,不需要对芯片进行

II
多次插拔,所以不会对芯片造成损坏。DS1302 时钟芯片是美国 DALLAS 公
司推出的具有涓流电流充电功能的低功耗实时时钟芯片,它可以对年、月、
日等进行计时,还有闰年补偿等功能,而且使用寿命长,误差小,数字显
示是采用的 LCD 液晶显示,可以同时显示各种需要的信息。此外,该电子
万年历还具有时间校准等功能。
【关键字】 时钟电路 时钟芯片 DS1302 LCD 液 晶 显 示 单 片 机
AT89S52
Abstract
In the contemporary busy work and the life, the time has the very intimate relations
with our each people, each people receive the time the influence, for better uses our time,
we must have a measure to the time, therefore has produced the clock and watch. Along
with social, the technical development, the humanity knows the time, from the view sun,
the pendulum clock to the present electron clock, studies, the innovation unceasingly. For
during hour of observation's can understand that other with the human close related
information, for instance the temperature, the week, the date and so on, the electronic ten
thousand calendars were born, its collection time, the date, the week and the temperature
in a body, have the read to be convenient, the demonstration is direct-viewing, the
function is diverse, electric circuit succinct and so on many merits, conforms to the
electronic instrumentation measuring appliance's trend of development, has the broad
market prospect. Along with the people living standard's enhancement and rhythm of
life's quickening, is getting higher and higher to the time request, the accurate digital
time's consumer demand is also more and more
This electron ten thousand calendars mainly use at89S52 monolithic integrated circuit
to take the master control core, provides the clock, the LED dynamic scanning display
monitor by the DS1302 clock chip to demonstrate, at89S52 monolithic integrated circuit
has the power loss to be small, internal ROM all uses FlashROM: Can by the 3V ultra low
voltage work, also completely be simultaneously compatible with the MCS-51 series
monolithic integrated circuit, this chip interior memory is 8KB the ROM storage space,
simultaneously has the 89C51 function, and has the online programming to be possible to
clean the technology, when carries on the debugging to the electric circuit, because the
procedure wrong revision or the procedure addition functional need burns into time the
procedure, does not need to carry on to the chip inserts many times pulls out, will

III
therefore not create the damage to the chip. The DS1302 clock chip is American
DALLAS Corporation promotes has the brook class electric current charge function low
power loss real-time clock chip, it may to the year, the month, the date and so on carry on
the time, but also has functions and so on leap year compensation, moreover the service
life is long, the error is small, the digital demonstration is LCD which uses liquid crystal
display, may simultaneously demonstrate each kind of need the information. In addition,
this electronic ten thousand calendars also have functions and so on time calibration.
key words: Clock circuit clock chip DS1302 LCD liquid crystal display
monolithic integrated circuit AT89S52

目 录
摘 要 ..............................................Ⅰ
第一章 绪论 ............................................1
1.1 选题背景 ......................................1
1.2 系统目标 ......................................7
1.3 设计意义 ......................................7
第二章 设计要求与方案论证 ..............................9
2.1 设计要求 ......................................9
2.2 系统基本方案选择和论证 ........................9
2.3 电路设计最终方案决定 .........................11
第三章 系统的硬件设计与实现 ...........................12
3.1 系统硬件概述 ..................................12
3.2 主要单元电路的设计 ............................12
第四章 系统的软件实现 .................................19
第五章 设计总结与心得体会 .............................19
致谢 ...............................................22
附录:
1 源代码 ...........................................1
2 参考文献 .........................................1
3 电路原理图 .......................................1

- 1 -
第一章 绪论
1.1 选题背景
在社会迅速发展的今天,单片机的的运用已经渗透到我们生活的每个
角落,也似乎很难找到哪个领域没有单片机的足迹。智能仪表、医疗器械,
导弹的导航装置,智能监控、通讯与数据传输,工业自动化过程的实时控
制和数据处理,广泛使用的各种智能 IC 卡,汽车的安全保障系统,动控
制领域的机器人,数码像机、电视机、全自动洗衣机的控制,电话机以及
程控玩具、电子宠物等等,这些都离不开单片机。
图 1-1 万年历 图 1-2 智能手机 图 1-3 数码相机
所以,单片机的学习、开发与应用将对于现代社会的发展,经济的
繁荣,和提高满足人类日益增长的物质文化需求有着至关重要的作用。也
成就了一批又一智能化控制的工程师和科学家。科技越发达,智能化的东
西就越多。学习单片机是社会发展的必然需求,也是我们现代高级技工所
必须要掌握的技能。
剩余69页未读,继续阅读
资源评论


oligaga
- 粉丝: 26
- 资源: 2万+
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
