摘 要万年历设计是采纳数字电路实现对.时,分,秒.数字显示的计时装置,广泛用于个人家庭,车站, 码头办公室等公共场所,成为人们日常生活中不可少的必需品,由于数字集成电路的进展和石英晶体振荡器的广泛应用,使得数字钟的精度,远远超过老式钟表, 钟数字化给人们生产生活带来了极大的方便,而且大大地扩展了钟表原先的报时功能。诸如定时自动报警、按时自动打铃、时间程序自动控制、定时广播、自动起闭路灯、定时开关烘箱、通断动力设备、甚至各种定时电气的自动启用等,但是所有这些,都是以钟表数字化为基础的。因此,讨论万年历及扩大其应用,有着非常现实的意义。本课题基于单片机设计的万年历设计,用 AT89C51 来完成电路的控制,用DS1302 完成时钟的显示部分。本设计涉及到了单片机与外围器件的串行、并行通信原理和 INT0,INT1 中断原理,定时器计数器原理,键盘原理,液晶显示原理等。关键词:单片机;万年历;液晶技术;AbstractCALENDAR digital circuit design is right. Hours, minutes and seconds. Figures show that the timing devices, widely used in individual households, stations, terminals offices and other public places, become an indispensable necessity in daily life, due to the number of integrated circuits the development and extensive application of quartz crystal oscillators, making digital clock accuracy, far more than old-fashioned clocks and watches, clock digital production and life to people brings great convenience, but also greatly expanded the original chime clocks. Such as regular auto-alarm, schedule automatic rang the bell, the time automatic control, regular radio, automatic closed-circuit from lights, oven timer switch, on-off power equipment, and even a variety of regular electrical automatically enabled and so on, but all these are based on clocks and watches digitization basis. Therefore, the study calendar and expand its application, has a very practical significance. The topic of perpetual calendar design based on single chip design, with the ...