好文档就是一把金锄头!
欢迎来到金锄头文库![会员中心]
电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

液晶显示电子时钟论文.doc

28页
  • 卖家[上传人]:M****1
  • 文档编号:488133459
  • 上传时间:2022-07-25
  • 文档格式:DOC
  • 文档大小:883.50KB
  • / 28 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 存档编号赣南师学院学士学位论文基于单片机的液晶显示电子时钟 教学学院 物理与电子信息学院 届 别 2014届 专 业 电子信息工程 学 号 100802002 姓 名 军祥 指导教师 玲丽 完成日期 20XX 3 月 / 目 录摘要....................................................................1关键词..................................................................1ABSTRACT................................................................1Key Words...............................................................2第一章绪论.............................................................3 1.1国外的研究现状和发展趋势.......................................31.2系统设计任务与要求...............................................3第二章设计任务分析及方案论证...........................................32.1设计任务要求分析.................................................32.2设计总体方案及其方案论证.........................................4第三章硬件设计.........................................................43.1单片机最小系统设计...............................................43.2键盘控制系统设计.................................................63.3闹钟设计.........................................................63.4液晶屏显示电路设计...............................................8第四章软件设计.........................................................84.1主程序流程图.....................................................94.2系统初始化流程图.................................................94.3延时中断子程序设计..............................................104.4时间设置子程序设计..............................................10第五章 系统测试........................................................115.1测试方法........................................................115.2测试结果........................................................115.3结果分析........................................................12参考文献...............................................................12致谢...................................................................13附录I:源程序..........................................................14附录II:电路总体原理图.................................................27摘要:单片机应用技术飞速发展,纵观我们现在生活的各个领域,从导弹的导航装置,到飞机上各种仪表的控制,从计算机的网络通讯与数据传输,到工业自动化过程的实时控制和数据处理,以及我们生活中广泛使用的各种智能IC卡、电子宠物等,单片机都起到了举足轻重的作用。

      单片机是集 CPU,RAM,ROM,定时,计数和多种接口于一体的微控制器,它体积小,成本低,功能强而52系列单片机是各单片机中最为典型和最有代表性的一种本设计是利用基于AT89C52单片机用液晶显示器制作的实用液晶电子钟,可完成计时、 计分、记秒和校时、校分的功能 微处理器是单片机的核心,完成运算和控制操作串行口数据存储器与复位电路时钟电路校对电路由微处理器控制完成各自的任务最后通过液晶显示时分秒在振荡器正在运行时,复位是靠RST或在RST引脚上施加持续两个2个机器周期的高电平来实现,在RST引脚上施加高电平的第二个周期执行部复位,以后每个周期执行一次,直到RST变化复位时,ALE和∕PSEN输出高电平,ALE和∕PSEN=1,片RAM不受复位的影响,复位后PC指向0000 H 使单片机从起始地址0000H开始执行程序设计中采用部时钟方式,在XTAL1和XTAL2两端接晶振,与部反向器构成稳定的自激振荡器,其发出的时钟脉冲直接送入片定时控制部件,该液晶电子钟最后由六个液晶显示管显示,时分秒段式LCD显示采用七段显示,其结构除在上电极板喷上a到g这七个笔画外,还在下电极板喷上与笔画相对应"日"字形的电极并接公共端COM。

      另外时钟的校对采用与校对普通电子表相同的操作方式来完成,只需按K1、K2这两个键来校时校分AT89C52的XTAL1和XTAL2分别为反向器的输入和输出,RST为复位输入,由它再接一个上拉电阻,引脚被拉高P1口作为电子钟的位选,P3口部分作为电子钟的输出端关键词:单片机;电子钟;AT89C51ABSTRACT:SCU application technology develop rapidly, throughout all areas of our life, from the missile navigation devices to various kinds of instrument control to plane, from the computer network communication and data transmission to real-time control and data processing of the industrial automation process, and all kinds of smart IC card、electronic pets has been widely used in our life, ,SCU play a pivotal role. SCM is a concentration of CPU, RAM, ROM, timing, count and various interfaces in the integration of micro controller, its small size and low cost, strong function. And 51 series microcontroller is the SCM most typical and most representative. This design is to use made of liquid crystal display based on AT89C51 practical LCD electronic clock, can complete the timing, scoring, seconds and the school, the school's function. Is the core of single-chip microprocessor, complete the operation and control operation serial port data memory clock circuit and reset circuit check circuit is controlled by a microprocessor to complete their tasks finally through the liquid crystal display minutes. The oscillator is running, is reset by RST or places for two on the RST pin 2 machine cycle of high level, places of high level on the RST pin internal reset the second cycle, after each cycle time, until the RST changes. Reset, the ALE and the/PSEN output high level, the ALE and the/PSEN = 1, on chip RAM is not affected by the reset, reset after the PC to single-chip microcomputer 0000 H in the starting address of 0000 H began to execute a program. Way adopted in the design of the internal clock in XTAL1 and XTAL2 crystals at both ends, with internal reverser form stable self-excitation oscillator, the clock pulses directly into the chip from the timing control unit, the LCD electronic clock finally by six, according to the liquid crystal display tube minutes when sections of the LCD display using seven segment display, in addition to its structure on the electrode plates on spray a to g the seven strokes, sprayed on the plates correspond to stroke ", "glyph COM on the tip of t。

      点击阅读更多内容
      关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
      手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
      ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.