基于51单片机数字时钟 毕业设计(论文).docVIP

  • 153
  • 1
  • 约3.84万字
  • 约 49页
  • 2019-07-13 发布于江西
  • 举报

基于51单片机数字时钟 毕业设计(论文).doc

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

文档评论(0)

1亿VIP精品文档

相关文档