毕业论文:基于单片机的实时显示系统(终稿).doc

毕业论文:基于单片机的实时显示系统(终稿).doc

  1. 1、本文档共32页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 装 ┊ ┊ ┊ ┊ ┊ 订 ┊ ┊ ┊ ┊ ┊ 线 ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ ┊ 连云港职业技术学院 毕业设计(论文) 题目名称: 基于单片机的实时显示系统 学生姓名: 朱慧敏 学 号: 090104109 专 业: 电子信息工程技术 班 级: 电子091 指导教师: 李红军 2012年5月 目 录 绪论……………………………………………………………………1 1 实时显示系统的设计方案………………………………………………2 1.1实时显示系统的设计意义…………………………………………………2 1.2实时显示的工作原理………………………………………………………2 2主要芯片介绍 ……………………………………………………………4 2.1实时时钟芯片的介绍与比较………………………………………………4 2.2 STC89C51RC单片机介绍…………………………………………………5 2.3 1602液晶模块介绍………………………………………………………6 3系统硬件设计……………………………………………………………10 3. 1主控制器电路设计………………………………………………………10 3. 2其余各电路设计…………………………………………………………11 4系统软件设计……………………………………………………………16 4.1显示时、分、秒子程序流程图……………………………………………16 4.2显示年、月、日子程序流程图……………………………………………17 总结……………………………………………………………18 致谢…………………………………………………………………19 参考文献………………………………………………………………20 附录…………………………………………………………………21 摘 要 本文介绍了以STC89C51RC单片机,DS1302实时时钟芯片为基础的实时显示系统的设计。主要介绍了实时显示的意义及其工作原理,系统设计所用到的主要芯片的介绍,以及设计的系统的软件和硬件的组成。其中DS1302是实时显示的主体。它是美国DALLAS公司推出的一种高性能、低功耗、带RAM的实时时钟电路,它可以对年、月、日、周日、时、分、秒进行计时。本设计可以由上位机通过串口给其提供数据,当独立于上位机存在时,可由8位按键控制年、月、日、周日、时、分、秒的显示。这样本设计既能满足人们对实时控制的需求,又能独立的进行时间的显示,满足人们对计时的需求。 关键词:单片机 DS1302 LCD1602 Abstract This system is divided into seven parts, the microcontroller is the core of the whole system.When the system after power, 220V of electricity through transformer, rectifier, filter and regulator and converted into 5V DC voltage to the MCU, RTC and LCD1602 power, the power light indicates normal power supply at this time.Another indicator is set in the program flashes once every two seconds, if the flicker frequency normal, then the system is working.DS1302 at 5V, this time to work from time, MCU followed by self-inspection, self-correct in the circumstances, the loop reads the data in the DS1302, and constantly refresh the LCD1602 time data.In the first, when the system power, DS1302 will register all of its initialization, for which we set the seven keys to facilitate the calibration of the RTC for time. There are

文档评论(0)

14576 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档