
1
毕业设计论文
毕业设计(论文)中文摘要

2
题目:电子万年历的设计
摘要:电子万年历是生活当中相当多见的,也是使用广泛的电子产品之一。此次电
子万年历的设计,采用 ATmega32A 单片机作为核心控制。由 DS1302 时钟芯片来
提供年、月份、日期、礼拜等时间数据。用 16*64LED 点阵屏显示。ATmega32 是
由美国的 ATMEL 公司推出的一款低耗能芯片。DS1302 时钟芯片是由位于美国的
DALLAS 公司发行的低功耗实时时钟芯片。它可以对年、月、日、礼拜、时、分、
秒,进行计时,此外还有闰年补偿等多种功能。并且 DS1302 的是有寿命长、误差
小。数字显示采用的 LED 点阵屏,它可以满足人们对日常万年历的美观和显眼的
要求。在软件方面主要包括主程序,独处日期时间程序两部分。所有程序编写完成
后在 Proteus 上进行调试。
关键词:ATmega32A;电子万年历;DS1302

3
毕业设计(论文)外文摘要
Title: Design of electronic calendar
Abstract:Electronic calendar are quite common in our daily life and
is one of the widely used electronic products. The design of the
electronic calendar using ATmega32A controlled by Single Chip
Microcomputer as the core. Provided by the DS1302 clock chip to year,
month, date, week and time data. By 16*64LED Matrix screen. ATMEL
ATmega32 was done by the company launched a low-power chips. It can be
for the year, month, day, week, hour, minute, second, timing, along
with leap year compensation and other functions and DS1302 is a long
life and Low error. The LED lattice screen digital display, it can
satisfy people's requirement of daily calendar appearance and
conspicuous. In terms of software includes main program and the date
and time to be alone program. All programming is completed in Proteus
for debugging.
Keywords: ATmega32A Design of electronic calendar DS1302

0
目录
1 引言..........................................................1
1.1 课题背景....................................................1
1.2 课题意义....................................................1
1.3 国内外现状及水平............................................2
1.4 设计要求及任务..............................................3
2 硬件电路设计..................................................3
2.1 总体电路结构框图............................................3
2.2 时钟芯片 DS1302 .............................................4
2.3 ATmega32A 单片机 ............................................6
2.3.1 主要特性 ..............................................6
2.3.2 工作模式 ..............................................7
2.3.3 单片机的内部结构 ......................................9
2.3.4 单片机 CPU 结构 .......................................10
2.3.5 存储器的结构 .........................................12
2.4 显示电路...................................................13
2.5 单片机最小硬件电路.........................................14
2.5.1 复位电路 .............................................14
2.5.2 电源电路 .............................................15
2.5.3 振荡电路 .............................................15
2.5.4 LED 点阵屏显示电路....................................16
3 系统软件设计与调试...........................................16
3.1 主程序设计.................................................16
3.2 读出日期时间程序...........................................17
3.3 系统的调试及性能分析.......................................18
3.4 PROTEUS 软件简介 ...........................................18
3.4.1 PROTEUS 的特点........................................19
3.5 大功能模块.................................................20
3.6 Proteus 简单应用 ...........................................21

1
3.7 系统调试与仿真结果.........................................22
结论...........................................................25
致谢...........................................................25
参考文献.......................................................25
附录一.........................................................26