失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > c语言编写闹钟主程序流程图 []C51单片机课程设计--定时闹钟.doc

c语言编写闹钟主程序流程图 []C51单片机课程设计--定时闹钟.doc

时间:2022-08-16 12:17:14

相关推荐

c语言编写闹钟主程序流程图 []C51单片机课程设计--定时闹钟.doc

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

单片机课程设计定时闹钟PAGE \* MERGEFORMATiii

计算机及信息工程学院

课程设计报告

学年学期 题 目 专业、学号 授课班号 学生姓名 指导教师

QQ:271441324Email:njcyx6649250#

单片机课程设计定时闹钟[摘要] 单片机电子闹钟是集电子技术、数字显示技术为一体的产品,具有按时闹铃,使用方便等优点。本论文从电子闹钟系统的功能、软件设计、软件调试等方面论述这一系统。本设计使用学校提供的单片机试验箱为基础,以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串口功能实现………………………

如果觉得《c语言编写闹钟主程序流程图 []C51单片机课程设计--定时闹钟.doc》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。