多功能时钟系统开题报告

更新时间:2024-06-12 14:24:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

JIANGSU TEACHERS UNIVERSITY OF TECHNOLOGY 电子系统设计综合训练

多功能电子时钟系统设计

学院名称: 电气信息工程学院 专 业: 电子信息工程 班 级: 姓 名: 学 号: 指导教师姓名: 刘晓杰、戴霞娟

2012年11月

电子系统设计报告

多功能电子时钟系统设计

摘要:

20世纪末,电子技术获得了飞速的发展,在其推动下,现代电子产品几乎渗透了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快。

本设计主要为实现一款可正常显示时钟/日历、秒表、带有定时闹铃的多功能电子时钟。电子时钟是采用数字电路实现对“时”、“分”、“秒”数字显示的计时装置。电子时钟的精度、稳定度远远超过老式机械钟。在这次设计中,我们采用LCD1602液晶显示屏显示年、月、日、时、分、秒。在此次设计中,电路具有显示时间的其本功能,还可以实现对时间的调整,并带有秒表功能和记录功能。该电子时钟可以应用于一般的生活和工作中,也可通过改装,提高性能,增加新功能,从而给人们的生活和工作带来更多的方便。

关键词: 电子时钟;多功能;STC89C52;DS1302;秒表

Abstract:

At the end of twentieth Century, electronic technology has obtained the rapid development, under its impetus, the modern electronic products almost infiltrated every field of the society, effectively promoted the development of social productivity and social information of the extent of the increase, but also makes the modern electronic products to further improve the performance, product upgrading has become increasingly fast pace.

This design is mainly to achieve a normal display clock / calendar, stopwatch, alarm clock with timing of multifunctional electronic clock.The electronic clock is a digital circuit implementation of the \figures show that the timing device.Electronic clock precision, stability, far more than the old mechanical clocks.In this design, we adopt the LCD1602 LCD screen display year, month, day, time, minutes, seconds.In this design, the

电子系统设计报告

circuit has the functions of time display, also can realize the adjustment of time, and with a stopwatch and recording functions.The electronic clock can be applied to the general living and working, can also be modified, improved performance, adding new functions, thereby to people's lives and work more convenient.

Keywords: Electronic clock; function; STC89C52; DS1302; stopwatch

电子系统设计报告

目 录

前言 ...............................................................................................................1 第1章 绪论 ................................................................................................2

1.1 课题的意义和目的 ...................................................................................................... 2 1.2 课题的研究内容 .......................................................................................................... 3 1.3 课题的任务要求 .......................................................................................................... 3

第2章 系统方案设计 .................................................................................4

2.1系统方案设计 ............................................................................................................... 4 2.2 方案的选择与论证 ...................................................................................................... 5

2.2.1 方案的比较与论证 ............................................................................................ 5 2.2.2 系统结构实现框图设计 .................................................................................... 6

第3章 系统各模块的硬件设计 ..................................................................7

3.1 电源模块设计 .............................................................................................................. 7 3.2 单片机控制模块设计 .................................................................................................. 7

3.2.1 单片机时钟电路设计 ........................................................................................ 8 3.2.2 单片机复位电路设计 ........................................................................................ 8 3.3 电子时钟电路模块设计 .............................................................................................. 9

3.3.1 DS1302简介....................................................................................................... 9 3.3.2 DS1302引脚说明............................................................................................. 10 3.3.3 DS1302控制字和读写时序说明..................................................................... 10 3.4 显示电路模块设计 .................................................................................................... 13 3.5 按键电路模块设计 .................................................................................................... 14 3.6 闹铃电路模块设计 .................................................................................................... 16

第4章 系统软件设计 ...............................................................................17

电子系统设计报告

4.1 主程序的设计 ............................................................................................................ 17 4.2 子程序的设计 ............................................................................................................ 18

4.2.1实时时钟子程序设计 ....................................................... 错误!未定义书签。 4.2.2 秒表子程序设计 .............................................................. 错误!未定义书签。 4.2.3 整点报时子程序设计 ...................................................... 错误!未定义书签。

第5章 系统调试与数据分析 ....................................................................22

5.1 硬件电路的制作和调试 ............................................................................................ 22

5.1.1单片机基础电路调试 ....................................................................................... 22 5.1.2显示电路调试 ................................................................................................... 22 5.1.3DS1302电路调试 ............................................................................................... 22 5.2 软硬件功能分析 ........................................................................................................ 23 5.3 测试结果分析 ............................................................................................................ 23

第6章 总结与展望 ...................................................................................24 参考文献......................................................................................................25 致谢 .............................................................................................................26 附录1 电路原理图 ....................................................................................27 附录2 程序 ...............................................................................................28 附录3 实物图 ...........................................................................................65 附录4 元器件清单 .................................................................................... 66

本文来源:https://www.bwwdw.com/article/9dg6.html

Top