下载此文档

毕业设计(论文)-基于AT89C52单片机的多功能电子钟设计.doc


文档分类:通信/电子 | 页数:约45页 举报非法文档有奖
1/45
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/45 下载此文档
文档列表 文档介绍
多功能电子钟的设计
摘要
单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,应用很广、发展很快。而51单片机是各单片机中最为典型和最有代表性的一种。
本次设计以AT89C52芯片为核心,辅以必要的外围电路,设计了一个简易的电子时钟,它由220V交流电源供电。在硬件方面,除了CPU外,使用6个七段LED数码管来进行显示,LED采用的是静态显示。通过LED能够比较准确显示时、分、秒。两个简单的按键实现对时间的调整。软件方面采用汇编语言编程。整个电子钟装置能完成时间的显示、调时、定时闹钟、秒表、复位等功能。
通过这次设计让我更深入了解单片机基本电路、如何控制和定时器和中断编程的基本方法,从而锻炼了我学****设计和开发软、硬件的能力。
关键词:电子时钟、多功能、AT89C52、LED数码显示
The Design with Investigation of the Multi-function Electron Clock
Abstract
Because of its extremely high performance-price ratio, the single-puter (SCC) has been paid great attention to ever since it came out in 1970s of 20th Century, and has gained an extensive applicable field and fast development. Among all kinds of SCCs, 51 SCC is the most typical and representative one.
This design, adopting AT89C52 chip as the core part with some necessary peripheral circuits, is a simple electronic clock which uses 220V AC as the power supply. In hardware aspect, besides the CPU, six seven-segment LED digi-tubes are used for display, which work in a statically display mode. The LEDs can accurately indicate hour and minute and two buttons can be used to adjust the time. While in the software aspect, the programming language is assembly language. The whole electronic clock system has functions of time display, adjustment, bell-setting , stopwatch and reset, etc.
This design enables me to have greater insight into the basic circuit of SCC, and the basic methods of timer control and interruption programming, so that is a training of my ability of learning, designing and developing software and hardware.
Key Words:Electronic clock、Multi-function、AT89C52、LED
目录
引言 1
第1章绪论 2
方案要求 2
方案设计 2
硬件框图 3
第2章硬件设计 4
AT89C52的管脚说明 4
T0和T1的设置 7
T2的设置 8
模块设计 11
电源部分 11
复位部分 11
振荡器部分 12
发声部分 12
显示部分 13
第3章软件设计 17
主程序流程图 17
中断程序流程图 17
源程序 20
结论与展望 21
参考文献 22
致谢 22
附录A 系统电路原理图 24
附录B 引用的外文文献及其译文 25
附录C 主要参考文献的题录及摘要 31
附录D 电子时钟源程序 33
插图清单

毕业设计(论文)-基于AT89C52单片机的多功能电子钟设计 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数45
  • 收藏数0 收藏
  • 顶次数0
  • 上传人3346389411
  • 文件大小0 KB
  • 时间2013-11-03
最近更新