1、摘 要 I 摘 要 单片微型计算机简称单片机, 它是把微型计算机的各个功能部件: 中央处理器 CPU、 随机存取存储器 RAM、只读存储器 ROM、I/O 接口、定时器/计数器以及串行通信接口 等待集成在一块芯片上,构成一个完整的微型计算机,故又把它称为单片微型计算机。 当今信息科技高速发展,随着集成电路制造工艺的进步,集成度越来越高,出现了 大规模和超大规模集成电路,使用方便、低成本、通过软硬件结合而达到一定功能的智 能电子设备已逐步成为我们日常生活中电子产品的主力军。 本设计是以 AT89C52 单片机为主控制芯片, 同时配合外围时钟电路、 温度采集电路、 键盘电路、显示电路和相关软件程序
2、,从而实现年、月、日、时、分、秒、星期、开学 周数、温度以及重要节假日的的显示。该方案既涉及到硬件的设计,同时也涉及到程序 的编写,能够使设计者在程序设计和硬件设计方面得到很大的锻炼和提高。 关键词:单片机;数码管;程序设计;硬件设计 Abstract II Abstract Single chip microcomputer hereinafter referred to as microcontroller, it is the function of the microcomputer components: central processing unit CPU, RAM, rando
3、m access memory, read-only memory ROM, I/O interfaces, timer/counter and the serial communication interface for integration on a chip, constitute a complete microcomputer, so it is also known as single chip microcomputer. In todays information technology high speed development, along with the progre
4、ss of the integrated circuit manufacturing technology, the integration is more and more high, a large and very large scale integrated circuit, convenient use, low cost, combining software and hardware and reaches a certain function of intelligent electronic devices have gradually become the main for
5、ce of electronic products in our daily life. Of this design is based on AT89C52 single chip microcomputer control chip, at the same time, cooperate with the peripheral clock circuit, temperature collection circuit, keyboard circuit, display circuit and relevant software program, so as to realize yea
6、r, month, day, hours, minutes, seconds, weeks and weeks of school, temperature, and major holidays of the display. The plan involves the design of the hardware already, also involves the writing of the program at the same time, can make designers in the program design and got a lot of exercise and improve the hardware design. Keywords: single chip microcomputer;digital tube;hardware design;program design 目 录 1 目 录 摘 要 . I ABSTRACT . II 1 绪 论 .1 1.1 电子校历的发展史 .1 1.2 设计的目的与意义 .2 1.3 设计的基本思路与主要