基于单片机数字钟的设计制作

 2022-12-31 10:12

论文总字数:19368字

摘 要

20世纪以来,电子技术得到了很快的成长,并且在它的影响下,现代电子产品在生活中使用非常广泛,数字钟的飞速发展很好的提升了人们的工作效率以及改善了社会的信息化程度,人们对数字钟的研究加深,产品性能也变得更好了,新的数字钟产品也越来越多。

运用单片机的定时器能很好实现时钟计时,数字钟用数字电路技术来进行走时,与传统时钟相比较误差更小而且直观,由于不是机械装置,不会磨损,能用的更长,因此使用很广泛。

这次毕设课题是基于单片机的数字钟设计制作,控制芯片用的是AT89c51单片机,使用LCD1602显示电路,按键电路,加上单片机最小系统组成一个简单的数字钟。能够通过按键进行时间的校准,闹钟的设定。

关键词:数字钟;单片机;定时器

Abstract

Since the 20th century, electronic technology has been growing very fast, and under it’s influence, modern electronic products has be used very extensive, well enhance the people's working efficiency and improve the degree of the information society, to enhance the research of electronic products, product performance is getting better and more and more new products.

The use of single-chip timer can be very good to achieve the clock timing, digital clock with a digital circuit technology to travel time, compared with the traditional clock error is smaller and more intuitive, because it is not a mechanical device, will not wear, can be used longer. Therefore, the use of very extensive.

The topic is design based on single-chip digital clock design, the control chip is used is AT89C51 microcontroller, using the LCD1602 display circuit, key circuit and MCU minimum system consisting of a simple digital clock. Be able to calibrate the time by pressing the button, setting the alarm clock.

Keywords:Exam pool;Create paper;Timer

目录

摘要 I

Abstract II

第一章 绪论 5

1.1 论文研究背景 5

1.2 论文研究意义 5

1.3 论文研究内容 7

第二章 系统总体结构 8

2.1系统任务规划 8

2.2可行性分析 8

2.3 系统结构框图 8

2.4 系统方案论证和比较 9

2.4.1控制模块 9

2.4.2时钟控制模块 9

2.4.3显示模块 9

2.4.4按键模块 10

2.4.5其他 10

2.5 最终方案 10

第三章 硬件设计 11

3.1 主控芯片 11

3.1.1 P0口 11

3.1.2 P1口 11

3.1.3 P2口 12

3.1.4 P3口 13

3.2 显示模块 13

3.2.1 数码管优点 13

3.2.2 引脚功能说明 14

3.2.3 lcd1602的使用 14

3.3 电源和下载电路 15

3.4 按键复位晶振电路 15

第四章 软件设计 18

4.1 Altium Designer 18

4.1.1 原理图的设计和绘制 18

4.1.2 印制电路板的设计 18

4.2 Protues 19

4.3 KeilC 20

4.3.1 KeilC编译环境 20

4.3.2 软件设计流程图 21

4.4 Protues与KeilC联调 23

第五章 实物调试及总结 28

5.1实物调试 28

5.2总结 29

致谢 30

参考文献 30

附录一 32

剩余内容已隐藏,请支付后下载全文,论文总字数:19368字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;