1、 摘要 随着电子技术的迅速发展,特别是大规模集成电路的出现,人类生活发生 了根本性的变化。以单片机技术为核心的产品已走进了千家万户,数字万年历 的出现更是给人们的生活带来诸多方便,本文就实现了基于 AT89S52 单片机的 多功能数字万年历的设计。 本设计以 AT89S52 单片机技术为核心,以各种硬件电路为基础,软件采用 汇编语言进行编写,为了便于扩展和更改,采用模块化的程序设计方法,使程 序设计的逻辑关系更加简洁明了,系统升级更加简单方便。系统以点阵式带字 库 12864 液晶模块为载体显示数据,所以具有人性化的操作界面和美观的页面 效果,可以显示公历日期、时间、农历日期、星期、温度,并有
2、闹铃功能。用 户可以通过按键调节系统时间、设定闹铃时间。最后完成了组装与调试。 关键词:AT89S52 单片机;数字万年历;12864 液晶模块 Abstract With the rapid development of electronic technology, especially the emergence of large-scale integrated circuits, human life there has been a fundamental change. The products have entered tens of thousands of household
3、s whose core is single-chip technology, the emergence of digital calendar is to bring a lot of peoples lives easy, This article worked out a design of multi-functional digital calendar based on the single chip AT89S52. The design of single-chip AT89S52 technology as the core, based on a variety of h
4、ardware circuitry and used assembly language for the preparation of software, In order to facilitate the expansion and changes to the design, procedures for the use of modular design method so that the logic of the relationship between program design more concise, the system more simple and convenie
5、nt to upgrade. System use dot-matrix LCD Module 12864 font display as the data carrier and therefore have a human interface and aesthetic page will show the calendar date, time, Chinese date, week, temperature, and has alarm functions. Users can adjust the system time or set the alarm time through the button. I completed the assembly and commissioning finally. Key words: Single-chip AT89S52 Digital Calendar LCD Module 12864 目录 1 引言 1 1.1 课题研究背景与现状 1 1.2 本课题所做