1 / 39
文档名称:

电子信息科学与技术毕业设计.docx

格式:docx   大小:270KB   页数:39页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

电子信息科学与技术毕业设计.docx

上传人:小雄 2021/2/22 文件大小:270 KB

下载得到文件列表

电子信息科学与技术毕业设计.docx

文档介绍

文档介绍:The design of clock circuit based on MCU
专 业:电子信息科学与技术
学 号:04111103
姓 名:乔波臻 指导教师:孙南海
摘要:
文章主要采用AT89c51单片机最小化应用设计,LED显示采用动态扫描方式 实现,P0 口输出段码数据,- 口作扫描输出,P0. 1—P0. 4 口接按钮开 关S1,S2,S3,S4,S5, rest接S6复位按键。P0. 0控制秒的调整,每按一次加1 秒;P0. 1控制分的调整,每按一次加1分;P0. 2控制时的调整,每按一次加1 个小时。为了提供LED数码管的驱动电流,用741S595作电源驱动输出。实际设 。电子时钟电路采用12h记时方式,时间用8 位数码管显示。该电路采用AT89c51单片机,使用5V电池供电。
关键词:单片机;抖动;数码管;中断;低功耗;时钟
The design of clock circuit based on MCU
Abstract:
This article mainly uses at98c51 monolithic integrated circuit minimum application design, LED demonstrated that selects the dynamic scanning method to realize, the PO mouth output section code data, the - mouth makes the scan out, the - mouth meets push-button switch SI, S2, S3, S4, S5, rest. control of the second adjustment, and each time one second; control points of adjustment, each time at 1 pm; control of the adjustment, and each time one order to provide the LED nixietube the drive current, 9012 makes the power source with the triode to actuate the output. The actual design uses according to the situation the crystal oscillator. The electron clock circuit selects the 24h time method, the time demonstrated with 8 nixietubes. This electric circuit uses at98c51 monolithic integrated circuit, uses the 5V battery power supply.
Key words: SCM; jitter; digital control; interrupt; low power consumption; the clock
1引言 1
2以AT89C51单片机为核心的时钟电路结构和工作原理 2
AT89C51的结构组成及引脚功能 2
AT89C51的结构组成 2
AT89C51的引脚功能 3
时钟电路工作原理及原理图 6
9
10
3以AT89C51单片机为核心的时钟电路的程序设计 12
12
13
14
15
4 Kei I与Proteus软件的联调仿真 16
Keil Software 及 Proteus 简介 16
17
5结束语 19
[参考文献] 20
附录 21
致谢 33
单片机模块中最常见的是数字钟,数字钟是一种用数字电路技术实现时、 分、秒计时的装置,与机械式时钟相比具有更高的准确性和直观性,且无机械 装置,具有更更长的使用寿命,因此得到了广泛的使用。
数字钟是采用数字电路实现对•时,分,,广泛用于 个人家庭,车站,码头办公室等公共场所,成为人们日常生活中不可少的必需品, 由于