1、 0 摘摘 要要 单片机应用技术飞速发展,纵观我们现在生活的各个领域,从导弹的导航装 置,到飞机上各种仪表的控制,从计算机的网络通讯与数据传输,到工业自动化 过程的实时控制和数据处理,以及我们生活中广泛使用的各种智能 IC 卡、电子 宠物等,这些都离不开单片机。单片机是集 CPU ,RAM ,ROM ,定时,计数和多 种接口于一体的微控制器。它体积小,成本低,功能强,广泛应用于智能产业和 工业自动化上。而 51 系列单片机是各单片机中最为典型和最有代表性的一种。 这次毕业设计通过对它的学习,应用,从而达到学习、设计、开发软、硬的能力。 本文通过对一个基于单片机的能实现万年历功能电子时钟的设计,
2、从而达 到学习、了解单片机相关指令在各方面的应用。系统由主控制器 AT89C51、时 钟电路 DS1302、显示电路、按键电路、和复位电路等部分构成,能实现时钟日 历显示的功能,能进行时、分、秒的显示。 关键词关键词 : 单片机单片机, 农历查询农历查询, 万年历万年历 1 Abstract SCM application technology develop rapidly, looking around us now in all spheres of life, from missiles, navigation equipment, to the various instruments
3、 on the aircraft control from a computer network communications and data transmission, industrial automation to real-time process control and data processing, and our lives extensive use of the smart card, electronic pets, which is inseparable from the microcontroller. Monolithic single-chip is the
4、set of CPU, RAM, ROM, the timing, number and variety of interface integrated microcontrollers. Its small size, low cost, high performance, which are widely used in smart industries, and industrial automation. And 51 Series SCM is the most typical and the most representative one. The graduation design Through the study, and thereby achieve the study, design, development hardware and software capabilities. Based on a microcontroller based on the will to achieve calendar of a multi-functional el