基于单片机定时闹钟毕业论文 - 图文

2019-03-21 18:14

系 专 班 学 学

指导教师:刘秋平

江 西 理 工 大 学 南 昌 校 区

毕 业 设 计(论文)

目:基于单片机定时闹钟系统设计 别:信息工程系 业:电气自动化技术 级:09自动化2班 生:贺明波 号:09321229 职称:助教 江西理工大学2012届专科生毕业设计(论文)

摘要

随着科技的快速发展和生活水平的不断提高,人们对时钟的精确度和实用性要求越来越高。本文采用AT89S52单片机,通过DS1302日历芯片进行定时,并通过LCD1602液晶进行显示。通过C语言程序编写,将设计出更准确定时、更省电的数字时钟。单片机数字时钟具有设置时间、日期、星期的基本功能,并且能够显示年、月、日、时、分、秒、星期。单片机数字钟不管在性能还是在样式上都发生了质的变化,实践证明单片机数字时钟具有更加准确性、精密性等功能。

关键字:数字时钟;DS1302;LCD1602;AT89S52

I

江西理工大学2012届专科生毕业设计(论文)

Abstract

In daily life, time is science, technology and everyday life is one of the most basic physics, we often deal with temporal clocks, such as hand watch, wall clock, even on a computer program, the clock on the phone can be generalized a clock display on the clock, along with the rapid development of technology and the continuous improvement of living standards, people on the clock's accuracy and practical demand is higher and higher. Based on the single chip microcomputer principle, USES the monolithic integrated circuit AT89S52 series, through the hardware circuit and software production procedure formulation, will design a more accurate timing, electricity -saving digital clock, SCM in performance or digital clock no matter in style have undergone a qualitative change, digital clock has proved microcontroller more accuracy, precision sex etc. Function.

Key Words:Digital clock ; DS1302; LCD1602;

II

目录

第一章 引言······················································································ 1

1.1单片机的发展史 ····································································· 1 1.2 单片机的应用 ········································································ 1 1.3 单片机发展趋势 ·································································· 2 1.4 数字时钟方案论证比较 ························································· 3 1.4.1 数字电路与单片机性能比较 ·············································· 3 1.4.2数码管与LCD液晶显示性能比较 ······································· 4 1.4.3单片机编程时钟与时钟芯片性能比较 ································ 4

第二章 系统的硬件设计与实现······················································ 6

2.1 系统概述 ·············································································· 6 2.2模块电路的设计 ····································································· 7 2.2.1时钟电路 ············································································· 7 2.2.3 复位电路与晶振电路 ······················································· 11 2.3 总体电路图设计 ·································································· 11

第三章 系统的软件设计与实现···················································· 13

3.1 程序功能·············································································· 13 3.2 编程思路·············································································· 13 3.3 程序设计流程图 ·································································· 13 3.3.1 DS1302软件设计流程图··················································· 14 3.3.2 LCD1602程序序流程图··················································· 16 3.4写入显示数据到LCD子程序模块设计 ·································· 17

3.5时间闹铃设置流程································································ 18

第四章 仿真软件Proteus ISIS使用方法简单介绍·················· 19

4.1 简介 ····················································································· 19 4.2 简单项目设计过程······························································· 20 4.3仿真执行··············································································· 24 4.3.1一般仿真 ··········································································· 24

第五章 系统组装与调试································································ 26

5.1 硬件系统的组装与调试 ······················································· 26 5.2 软件调试·············································································· 27

总结·································································································· 29

参考文献··························································································· 30

附录1单片机定时闹钟程序源代码·············································· 41 致谢·································································································· 41


基于单片机定时闹钟毕业论文 - 图文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:安规题库 - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: