1、I 摘 要 随着当今世界经济的快速发展和信息化时代的来临,各种各样的小型智能 家电产品陆续出现在我们的生活当中。日历是人们不可或缺的日常用品。但一 般日历都为纸制用品,使用不便,寿命不长。电子万年历采用智能电子控制和 显示技术,改善了纸制日历的缺陷。本设计以 AT89S52 单片机为核心,构成单 片机控制电路, AT89C52 是一种带 8K 字节闪速可编程可擦除只读存储器 (PEROM) 的低电压、高性能 CMOS 8 位为控制器。该器件采用 ATMEL 非易失存储器制造技 术制造,与工业标准的 80C51 和 80C52 指令集和输出管脚相兼容。在基于单片 机系统的数字钟电路中,除了基本的
2、单片机系统和外围电路外,还需要外部的 控制和显示装置。本电路主要以单片机 AT89S52 为核心而设计的,通过单片机 对信息的分析与处理,控制外围设备。系统由复位模块、时钟模块及显示模块 组成,后来在时钟模块的基础上又加载了日历、星期的模块。 关键词:关键词:电子万年历、电子万年历、单片机、单片机、时钟芯片时钟芯片 II Abstract With the rapid development of world economy and the forthcoming of information era, many kinds of mini-type intelligent domestic
3、electric appliances appear in our life one after another. Calendars are necessary daily goods in peoples life. But they are generally paper goods with inconvenient use and short life. Electronic calendar adopts the technology of intelligent electronic control and display, and then improves the defic
4、iency of paper calendars. The design adopts the core of AT89S52 MCU, which is a low-power, high-performance, CMOS 8-bit microcomputer with 8K bytes of Flash programmable and erasable read only memory memory (PEROM).The device is manufactured using Atmels high density nonvolatile memory technology an
5、d is compatible with the industry standard 80C51 and 80C52 instruction set and pin out. In digital clock circuit based micro controller unit system, there are the external controlling and display device besides the fundamental monolithic machine system and the outer-ring circuit. The key of the circ
6、uit in this design is AT89S52, using the micro control system to process information to control the outer-ring circuit. The system is made up of circuit and clock circuit. Date and week modul is the external part. Key Words: electronic calendar; MCU; clock chip III 目录目录 摘 要 .I ABSTRACT II 第 1 章 引言 1 第 2 章 单片机系统介绍 2 2.1 单片机的发展过程 2 2.2 单片机的技术发展史 2 2.3 单片机的特点和应用领域 3 第三章 89C51 单片机结构和原理 .5 3.1 单片机的结构和控制原理单片机的基本结构 5 3.1.1 CPU 系统 5 3.2 89C51 引脚封装 .6 3.2.1 89C51 引脚说明 .6 3.2.2 89C51 系列单片机引脚功能分类 .7