基于51单片机的时钟设计毕业论文.doc
约26页DOC格式手机打开展开
基于51单片机的时钟设计毕业论文,摘要:单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,51单片机是各单片机中运用比较广泛的。 本设计以stc89c52rc芯片为核心,辅以必要的外围电路,设计了一个简易的电子时钟,它由5v直流电源供电。在硬件方面,除了cpu外,使用四个七段数码管来进行显示。通过数码管能够比较准确显示时、分...
内容介绍
此文档由会员 泰云轩 发布
摘要:
单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,51单片机是各单片机中运用比较广泛的。
本设计以STC89C52RC芯片为核心,辅以必要的外围电路,设计了一个简易的电子时钟,它由5V直流电源供电。在硬件方面,除了CPU外,使用四个七段数码管来进行显示。通过数码管能够比较准确显示时、分,LED一闪一灭显示秒整个电子钟系统能完成时间的显示。
通过这次设计让我更深入了解单片机基本电路、如何控制和定时器的中断编程的基本方法,从而锻炼了我学习、设计和开发软、硬件的能力。
关键词:AT89C51;单片机;数码管
Abstract
SCM since the 1970s, since the advent of its extremely high performance-price ratio, attention by people and attention, 51 SCM is the most typical and various microcontroller is the most representative of a kind. This design based on AT89C51 single chip chip as the core, with the necessary buffer circuit, design of a simple electronic clock, it by 5V dc power supply. In the hardware design, besides the CPU, the use of four seven segment digital tube to display, digital tube is a dynamic scanning display. Through digital tube can compare to accurately display and minutes, LED flash destroy display second one-chip computer programming, design, whole electric clock system can finish time display and reset, and other functions. This design enables me to further understand the basic circuit of SCC, and how to control and timer interruption programming basic methods, thus has tempered my learning, designing and developing software and hardware capabilities.
Keywords: AT89C51; SCM; Digital tube
目 录
1 绪论 1
1.1选题的目的和意义 1
1.2 硬件电路设计 1
1.3 软件设计思路 2
1.4 程序流程图 2
2 程序清单 4
3 电子钟设计误差的修正 8
4操作方法 9
5结论 9
参考文献 10
致 谢 11
附录 12
单片机自20世纪70年代问世以来,以其极高的性能价格比,受到人们的重视和关注,51单片机是各单片机中运用比较广泛的。
本设计以STC89C52RC芯片为核心,辅以必要的外围电路,设计了一个简易的电子时钟,它由5V直流电源供电。在硬件方面,除了CPU外,使用四个七段数码管来进行显示。通过数码管能够比较准确显示时、分,LED一闪一灭显示秒整个电子钟系统能完成时间的显示。
通过这次设计让我更深入了解单片机基本电路、如何控制和定时器的中断编程的基本方法,从而锻炼了我学习、设计和开发软、硬件的能力。
关键词:AT89C51;单片机;数码管
Abstract
SCM since the 1970s, since the advent of its extremely high performance-price ratio, attention by people and attention, 51 SCM is the most typical and various microcontroller is the most representative of a kind. This design based on AT89C51 single chip chip as the core, with the necessary buffer circuit, design of a simple electronic clock, it by 5V dc power supply. In the hardware design, besides the CPU, the use of four seven segment digital tube to display, digital tube is a dynamic scanning display. Through digital tube can compare to accurately display and minutes, LED flash destroy display second one-chip computer programming, design, whole electric clock system can finish time display and reset, and other functions. This design enables me to further understand the basic circuit of SCC, and how to control and timer interruption programming basic methods, thus has tempered my learning, designing and developing software and hardware capabilities.
Keywords: AT89C51; SCM; Digital tube
目 录
1 绪论 1
1.1选题的目的和意义 1
1.2 硬件电路设计 1
1.3 软件设计思路 2
1.4 程序流程图 2
2 程序清单 4
3 电子钟设计误差的修正 8
4操作方法 9
5结论 9
参考文献 10
致 谢 11
附录 12