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

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

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

计算机及信息工程学院

课程设计报告

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

QQ:271441324Email: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
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值