课程设计说明书
课程设计名称: 专业课程设计
课程设计题目: 电子钟的设计
学 院 名 称: 信息工程学院
专业: 电子信息工程 班级: XXXXXX
学号: XXXXXXXX 姓名: XXXX
评分: 教师: XXXXXX
20 XX 年 X 月 X 日
摘要
当今信息科技高速发展,使用方便、低成本电子设备已逐步成为我们日常生活中电子产品的主力军。用软件代替硬件的电子设备能大大地节省成本,且有利于资源的节约,因此,以软代硬的设计必将成为我们现代设计的主流。本设计是利用MCS-51系列单片机内部的定时器/计数器进行中数年定时,配合软件延时实现时、分、秒的计时。该方案节省硬件成本,且能够使设计者在定时/计数器的使用中及程序设计方面得到锻炼和提高,因此本系统将采用软件方法实现计时。
关键词: 单片机 计数器 软件
目录
第一章 实验要求及设计思路····························4
1.1 设计内容及要求································4
1.2 设计的目与和意义······························4
1.3 设计的基本思路与主要内容······················5
第二章 系统组成及工作原理····························6
2.1 系统组成······································6
2.2工作原理·······································7
第三章 硬件设计与分析································9
3.1 硬件设计原理··································9
3.2 AT89C51单片机介绍·····························9
3.3单片机最小应用系统·····························9
3.4显示电路······································11
3.5 键盘及其接口·································12
第四章 软件设计·····································14
4.1 主程序设计···································14
4.2 定时中断程序·································17
4.3 显示子程序···································17
第五章 调试与运行····································19
第六章 结论与体会···································20
参考文献·············································21
附录一 系统原理图···································22
附录二 元件清单·····································23
附录三 程序清单·····································24
第一章 实验要求及设计思路
1.1 设计内容及要求
设计一个电子钟,要求如下:
(1) 利用单片机最小系统设计一个电子钟(不能采用单片机开发系统)
(2) 用8255扩展键盘及显示接口
(3) 显示方式:** 时** 编写c语言的软件分** 秒
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论