电子设计大赛单片机数字万年历

上传人:枫** 文档编号:512891465 上传时间:2022-09-23 格式:DOC 页数:70 大小:359KB
返回 下载 相关 举报
电子设计大赛单片机数字万年历_第1页
第1页 / 共70页
电子设计大赛单片机数字万年历_第2页
第2页 / 共70页
电子设计大赛单片机数字万年历_第3页
第3页 / 共70页
电子设计大赛单片机数字万年历_第4页
第4页 / 共70页
电子设计大赛单片机数字万年历_第5页
第5页 / 共70页
点击查看更多>>
资源描述

《电子设计大赛单片机数字万年历》由会员分享,可在线阅读,更多相关《电子设计大赛单片机数字万年历(70页珍藏版)》请在金锄头文库上搜索。

1、电子设计大赛 数字万年历摘要 在当代繁忙的工作与生活中,时间与我们每一个人都有非常亲密的关系,每个人都收到时间的影响,为了更好的利用我们自己的时间,我们必须对时间有一个度量,因此产生了钟表。随着社会、科技的发展,人类得知时间,从观太阳、摆钟到现在电子钟,不断研究、创新。为了在观测时间的同时能够了解其他与人类密切相关的信息,比如温度、星期、日期等,电子万年历诞生了,它集时间、日期、星期和温度于一身,具有读取方便、显示直观、功能多样、电路简洁等诸多优点,符合电子仪器仪表的发展趋势,具有广阔的市场前景。随着人们生活水平的提高和生活节奏的加快,对时间的要求越来越高,精准数字计时的消费需求也是越来越多。

2、该电子万年历主要采用AT89S52单片机作为主控核心,由DS1302时钟芯片提供时钟、LED动态扫描显示屏显示,AT89S52单片机具有功耗小,片内ROM全都采用FlashROM:能以3V的超低电压工作,同时也与MCS-51系列单片机完全兼容,该芯片内部存储器为8KB ROM存储空间,同时具有89C51的功能,且具有在线编程可擦除技术,当在对电路进行调试时,由于程序的错误修改或程序的新增功能需要烧入程序时,不需要对芯片进行多次插拔,所以不会对芯片造成损坏。DS1302时钟芯片是美国DALLAS公司推出的具有涓流电流充电功能的低功耗实时时钟芯片,它可以对年、月、日等进行计时,还有闰年补偿等功能,

3、而且使用寿命长,误差小,数字显示是采用的LCD液晶显示,可以同时显示各种需要的信息。此外,该电子万年历还具有时间校准等功能。【关键字】 时钟电路 时钟芯片DS1302 LCD液晶显示 单片机 AT89S52Abstract 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 hav

4、e 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 observations can understand tha

5、t 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, t

6、he function is diverse, electric circuit succinct and so on many merits, conforms to the electronic instrumentation measuring appliances trend of development, has the broad market prospect. Along with the people living standards enhancement and rhythm of lifes quickening, is getting higher and highe

7、r to the time request, the accurate digital times consumer demand is also more and moreThis 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 demon

8、strate, 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 spac

9、e, 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

10、 on to the chip inserts many times pulls out, will 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 ca

11、rry 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 thou

12、sand calendars also have functions and so on time calibration.key words: Clock circuit clock chip DS1302 LCD liquid crystal display monolithic integrated circuit AT89S52目 录摘 要 第一章 绪论11.1 选题背景11.2 系统目标71.3 设计意义7第二章 设计要求与方案论证92.1 设计要求92.2 系统基本方案选择和论证92.3 电路设计最终方案决定11第三章 系统的硬件设计与实现123.1 系统硬件概述123.2 主要单

13、元电路的设计12第四章 系统的软件实现19第五章 设计总结与心得体会19致谢 22附录:1 源代码12 参考文献13 电路原理图1第一章 绪论1.1选题背景在社会迅速发展的今天,单片机的的运用已经渗透到我们生活的每个角落,也似乎很难找到哪个领域没有单片机的足迹。智能仪表、医疗器械,导弹的导航装置,智能监控、通讯与数据传输,工业自动化过程的实时控制和数据处理,广泛使用的各种智能 IC 卡,汽车的安全保障系统,动控制领域的机器人,数码像机、电视机、全自动洗衣机的控制,电话机以及程控玩具、电子宠物等等,这些都离不开单片机。 图 1-1 万年历 图1-2 智能手机 图1-3数码相机所以,单片机的学习、

14、开发与应用将对于现代社会的发展,经济的繁荣,和提高满足人类日益增长的物质文化需求有着至关重要的作用。也成就了一批又一智能化控制的工程师和科学家。科技越发达,智能化的东西就越多。学习单片机是社会发展的必然需求,也是我们现代高级技工所必须要掌握的技能。1.1.1单片机的简介(1)微型计算机(Single Chip Microcomputer)微型计算机的主要特点:CPU集成于一个芯片中。单片机(Micro Controller Unit)是把组成微型计算机的各功能部件:CPU、RAM、ROM、定时/计数器、中断控制器、并行和串行接口均集成在一个芯片中。其一个芯片就构成了一个比较完整的计算机系统。微

15、型计算机与单片机是微电子领域的两个分支。微型计算机的特点是运算速度快、存储容量大,适合于信息管理、科学计算等领域;而单片机的特点为体积小、价格低,适合于仪器、设备的控制,常常嵌入到仪器、设备中。故单片机也称作微控制器(Microcontroller)。(2)单片机的生产与发展目前世界上单片机的生产公司有上百家,如Intel、Philips、Microchip、Motorola、Siemens、NEC、AMD、Zilog、TI、Atmel等。但在国内广泛应用的只有Intel 系列和Microchip PIC系列,第1阶段(19761980):单片机发展初级阶段。集成了8位CPU、RAM、ROM、定时器、并行口(无串行口)等部件,但性能低,寻址范围小(4KB),中断系统、定时器也简单。典型机型:Intel MCS-48系列。第2阶段(19801983):高性能单片机阶段。此阶段的单片机普遍带有串行口,有多级中断处理系统,多个16位定时/计数器,片内ROM、RAM的容量加大,寻址范围达64KB。典型机型:Intel MCS-51系列。第3阶段(198380年代末):16位单片机和高性能8位机并行发展阶段。此阶段Intel推出16位单片机MCS-96系列,其他公司也推出了各种1

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号