1、 1 单片机课程设计报告单片机课程设计报告 题题 目目 模拟电话键盘模拟电话键盘 专业、学号专业、学号 电信电信 2 摘要摘要 本设计为了实现电话键盘的拨号功能,根据所学的单片机知识首 先通过编写 C 程序通过 KeiL C 进行调试,编译得到机器代码,调试 成功后通过烧写工具进行功能测试, 并通过串口调试程序验证串口发 送和自动重发功能。设计过程中,一开始程序功能有限,但通过不断 的改进和查阅资料获得了所需的功能, 其中行列式键盘的程序和串口 程序都比较关键。最终实现了按键拨号,数码管显示和自动重播等目 标功能。 关键字:行列式键盘,串口通信 ,数码管显示,自动重播,KeiLC ABSTRA
2、CT In order to achieve the design of telephone keypad dialing function, according to study single-chip knowledge first through writing C program through the KeiL C compiler debugging, get the machine code, debugging success by writing tools for functional testing, and through the serial debugging pr
3、ogram verify serial transmission and automatic retransmission function.In the design process, first the program features a limited, but through continuous improvement and access to information to obtain the desired function, wherein the determinant keyboard procedures and serial procedures are the k
4、ey.Finally realizes the key dialing, digital tube display and automatic replay, target function. KEY WORDS: Determinant keyboard, serial communication, digital display, automatic replay, KeiLC 3 目录目录 1 1系统设计系统设计- 4 4 1.1 1.1 模拟电话键盘设计的目的、要求和指标模拟电话键盘设计的目的、要求和指标 - 4 4 1.2 1.2 组要组件组要组件- 4 4 1.3 1.3 软件流程图软件流程图-7 7 2 2实验结果及讨论实验结果及讨论- 8 8 2.12.1 实际电路设计及程序设计实际电路设计及程序设计- 8 8 2.2 2.2 设计过程中的问题设计过程中的问题- - 8 8 2.3 2.3 实验数据及讨论实验数据及讨论-