[]C51单片机课程设计--定时闹钟.doc

  1. 1、本文档共32页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[]C51单片机课程设计--定时闹钟

单片机课程设计定时闹钟 PAGE \* MERGEFORMATiii 计算机及信息工程学院 课程设计报告 学年学期 题 目 专业、学号 授课班号 学生姓名 指导教师 QQ:271441324 Email:njcyx6649250#163.com 单片机课程设计定时闹钟 [摘要] 单片机电子闹钟是集电子技术、数字显示技术为一体的产品,具有按时闹铃,使用方便等优点。本论文从电子闹钟系统的功能、软件设计、软件调试等方面论述这一系统。 本设计使用学校提供的单片机试验箱为基础,以AT89C52RC芯片为核心,采用动态扫描方式显示,通过使用该单片机,加之在显示电路部分使用的驱动电路,实现在4个LED数码管上显示时间、定时、闹铃的功能,并通过4个按键实现设置日期、进行调时、设定闹铃等功能。在实现各功能时数码管进行相应显示,闹铃或定时时间到时蜂鸣器响,整点报时等功能。本课程设计主要的问题,在于如何编写与调试用C语言实现的单片机程序。在此,我通过不断地修改程序与仿真,让程序达到我期望的程度。 [关键词]定时闹钟、C52单片机、软件分析、软件设计 Timing alarm of MCU Course Design [Abstract] The design uses microcontroller chamber to AT89C52RC chip as the core, the use of dynamic scanning display, through the use of the microcontroller, in addition to part of the circuit used in the display drive circuit, to achieve the 4 LED digital tube display time, time, alarm functions, and implementation through 4 keys to set the date, the tone, the alarm and other functions, all functions in the realization of the corresponding digital display, alarm or timer time when the buzzer sounds, The whole point timekeeping functions. I use the C language as the programming language, and by the relevant simulation software emulation, through hardware and software to achieve the ultimate goal. MCU-based alarm clock is a set of electronic technology, digital display technology for the integration of products, with time and alarm, ease of use. This paper from the electronic alarm system features, software design, software debugging, we discussed the system. [Key words] Clock, C52 Microcontroller, Software Analysis, Software Programming 目录Contents 摘要………??……………………………………………………ii 关键词……………………………………………………………ii 绪论 …………………………………………………………4 系统设计 电子闹钟要求与提高…………………………………………………………………5 主要器件功能说明……………………………………………………………………5 电路框图………………………………………………………………………………8 软件流程图……………………………………………………………………………8 实验结果与讨论 实际电路设计及主要程序设计……………………………………………………10 串口功能实现………………………

文档评论(0)

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

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

版权声明书
用户编号:6212135231000003

1亿VIP精品文档

相关文档