- 153
- 1
- 约3.84万字
- 约 49页
- 2019-07-13 发布于江西
- 举报
PAGE i
本科毕业设计(论文)
题目:基于51单片机的数字时钟
系统软件设计
PAGE iv
PAGE i
基于51单片机的数字时钟系统软件设计
摘要
本文介绍了一款多功能数字时钟系统的软件设计。该系统能够显示当前日期、时间,并且具有日期、时间设置以及闹钟等功能。该系统采用51系列STC公司生产的STC89C51单片机,以及DALLAS公司生产的数字时钟芯片DS1302,利用液晶显示器LCD1602显示数字时钟的结果。
本系统的软件设计使用C语言进行编程,利用目前流行的Keil软件编程环境对源程序进行编译。系统的软件程序主要包括主程序、DS1302初始化程序、读DS1302程序、写DS1302程序、LCD1602显示程序、日期时间调整、定时报警等子程序的设计。
该系统具有友好的用户界面、操作简单、性能稳定。该数字时钟系统能够长期、连续、可靠、稳定地工作,同时系统还具有体积小、功耗低等特点,便于携带、使用方便。
关键词:DS1302数字时钟芯片;STC89C51单片机;LCD1602液晶显示器;
软件设计
Software Design of Digital Clock System Based on 51 MCU
Abstract
This article describes the multi-functional digital clock system software design. The system can display the current date, time, and has the date and time settings and the alarm clock functions.
What is introduced in this article is about the software design of a digital clock system which is multifunctional. This system can display the present time and date, it also has function such as setting time and date or being used as an alarm clock. The system uses a STC89C51 microcontroller of the 51 series produced by the STC corporation and a DS1302 digital clock chip produced by the DALLAS corporation. It shows people how the digital clock goes with a liquid crystal display LCD1602.
The software design of this system is programmed with the C programming language and the program is compiled with the Keil software programming environment which is quite popular now. The software programs of the system mainly include the designs of some subroutines such as the DS1302 initialization program、the DS1302 program of reading、the DS1302 program of writing、the LCD1602 display program、adjustment of the date and time, timing alarm and so on.
The system is provided with a friendly user interface、 simple operation and stable function. The digital clock system can work long、continuously、reliably and stable while it also has characteristics like small volume and low power consumption which allow people to use conveniently and take it with themselves easily.
Key wor
您可能关注的文档
- 花卉树木介绍.ppt
- 花卉学实习_各种常见植物PPT_拉丁文名_生态特征_园林用途.ppt
- 花生收获机论文:花生收获机中输送链及链轮部分的设计研究.doc
- 华北工学院电子信息工程系VI手册.doc
- 华电福建发电有限公司操作票、工作票实施细则(A版).doc
- 华鸿水云轩比基尼时尚派对.ppt
- 华南农业大学珠江学院社团联合会章程条例.doc
- 华师大版八年级下册全册数学教案.doc
- 华师大版九年级上册全册数学教案.doc
- 华铁与竞品媒体介绍及优劣势对比 (NXPowerLite).ppt
- 超大社区(“睡城”)的职住分离问题、通勤痛苦与规划反思 _2026年1月.docx
- 医疗机器人(如手术机器人、护理机器人)的应用研究_2026年1月.docx
- 卫星通信在偏远地区的应用效果研究——以中国“村村通”工程为例_2026年1月.docx
- 某自然保护区红外相机盗猎监测数据应用实效研究_2026年1月.docx
- 扩展现实(XR)在 military 中的应用研究_2026年1月.docx
- 某共享充电宝归还难、扣费乱导致用户流失案例研究_2026年1月.docx
- 某中外家庭对“哭声免疫法”是否采用的激烈争论案例_2026年1月.docx
- 农村电商物流“最后一公里”配送模式创新——以XX县域为例_2026年1月.docx
- 高校动物实验的伦理审查标准与执行_2026年1月.docx
- 民间公益组织在突发事件应急响应中的协作机制与效能评估 _2026年1月.docx
最近下载
- 《工业控制系统简介》课件.ppt VIP
- 村委员竞选演讲稿汇总7篇.docx VIP
- 客户服务管理.ppt VIP
- 给排水国标图集-04S520:埋地塑料排水管道施工.pdf VIP
- 小学生主题班会通用版《珍爱生命,远离毒品》课件(共24张PPT+视频).pptx VIP
- 聚集性事件、药品群体不良事件调查处置标准操作规程.docx VIP
- 团圆绘本教学省公开课一等奖全国示范课微课金奖PPT课件.pptx VIP
- 2026年度江苏旅游职业学院单招《数学》综合提升测试卷及答案详解(典优).docx VIP
- 2025至2030中国烟草包装行业发展研究与产业战略规划分析评估报告.docx VIP
- 青岛天信BPJ-500-1140矿用隔爆兼本质安全变频器说明书.pdf VIP
原创力文档

文档评论(0)