1 / 26
文档名称:

(毕业论文)基于STC单片机的电子时钟毕业设计.doc

格式:doc   页数:26
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

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

分享

预览

(毕业论文)基于STC单片机的电子时钟毕业设计.doc

上传人:精品文档 2013/6/23 文件大小:0 KB

下载得到文件列表

(毕业论文)基于STC单片机的电子时钟毕业设计.doc

文档介绍

文档介绍:电子时钟
[摘要] 本设计是基于STC单片机的电子时钟技术,由STC12C5A16S2芯片和LCD1602液晶显示屏,DS18B20进行温度测量,辅以必要的的电路,构成一个单片机定时闹钟。电子钟可采用数字电路实现,也可以采用单片机来完成。LCD显示“时”,“分”,LED闪动来做秒计数,定时时间到能发出警报声或者启动继电器,从而控制电器的启停。现在是自动化高度发达的时代,特别是电子类产品都是靠内部的控制电路来实现对产品的控制,达到自动运行的目的,这就需要我们这里要做的设计中的电器元件及电路的支持。在这次设计中主要是用STC12C5A16S2来进行定时,也结合着其他辅助电路实施控制,在定时的时候,按一下控制小时的键对小时加一;按一下控制分钟的键对分钟加一;到达预设的时间,此电路就会发出报警声音提示已经到点。
[关键词] 定时闹钟 STC12C5A16S2 LCD1602
Time clock
[Abstract] The regular alarm clock designers design, by the microcontroller STC12C5A16S2 chip and LCD1602 display、 DS18B20 , combined with the necessary circuitry to form a single-chip timer alarm clock. Clock can be digital circuit, the microcontroller can also be used plete. LCD display "when", "sub", LED flash to do the second count, regular time to be able to sound an alarm or start relay to control the electrical start and stop. Now is the era of highly developed automation, especially electronic products are relying on the internal control circuitry to achieve control of the product to achieve the purpose of automatic operation, which requires us to do the design of ponents and circuits to support . In this design it is mainly used to carry out regular AT89S51, but bined with other auxiliary circuit implementation of the control, in time, when you click a control button on the hour plus one hour; click the button on the control minutes plus one minute; reach preset time, this will sound an alarm circuit has prompted the point.
[Key Words] time clock STC12C5A16S2 LCD1602
目录
引言 1
1 电子时钟的设计目的和要求 2
2
2
2 电子时钟的设计流程 3
3
3
3 系统硬件设计 4
STC12C5A16S2单片机 4
5
复位电路与晶振电路 5
5
7
7
7
8
8
9
4 系统软件设计 10
10
电子时钟主要程序 11
5 安装调试 17
总结 18
参考文献 19
附录电路原理图 20
引言
随着微电子技术的不断发展,微处理器芯片的集成程度越来越高,单片机已可以在一块芯片上同时集成CPU、存储器、定时器/计数器、并行和串行接口、看门狗、前置放大器、A/D转换器、D/A转换器等多种电路,这就很容易将计算机技术与测量控制技术结合,组成智能化测量控制系统。这种技术促使机器人技术也有了突飞猛进的