1、 数码显示器数码显示器 作 者 姓 名 : 专 业、班 级: 电信工程 0801 班 学 号: 校内指导教师: 校外指导教师: 完 成 日 期 : 2011-6-13 目 录 LCD 数码显示器的设计与制作 引言 . - 2 - 1 设计要求 . - 3 - 1.1 基本要求 . - 3 - 1.2 发挥部分 . - 3 - 2 方案设计与论证 . - 3 - 2.1 控制部分方案论证 . - 3 - 2.2 显示部分方案论证 . - 3 - 3 系统框图及工作原理 . - 4 - 3.1 系统框图 . - 4 - 3.2 工作原理 . - 4 - 3.2.1 硬件工作原理 . - 4 - 3
2、.2.2 软件工作原理 . - 4 - 4 硬件原理分析及设计 . - 5 - 4.1 单片机时钟电路 . - 5 - 4.2 单片机复位电路 . - 5 - 4.2.1 复位电路的可靠性设计 . - 5 - 4.3 键盘电路 . - 6 - 4.4 显示电路 . - 6 - 4.4.1 LCD 显示电路 . - 6 - 4.4.2 七段数码管显示电路 . - 6 - 4.4 整体电路图 . - 7 - 4.5 系统硬件设计所需的元件 . - 8 - 5 软件设计 . - 8 - 5.1 软件总体设计及框图 . - 8 - 5.2 软件重要子程序设计及框图 . - 9 - 5.2.1 显示部分
3、 . - 9 - 5.2.2 键盘扫描部分 - 10 - 5.2.3 时钟部分 - 10 - 5.2.4 延时部分 - 11 - 6 硬件安装制作 - 12 - 6.1 PCB 板制作 - 12 - 6.2 元件焊接 - 12 - 7 电路调试 - 12 - 7.1 硬件调试 - 13 - 7.2 软件调试 - 13 - 8 测试结果 - 13 - 9 结论 - 13 - 致谢 - 14 - 参考文献 - 14 - 摘摘 要要 本设计以数字集成电路技术为基础、单片机技术为核心。软件设计模块化结构、C 语 言编程。系统通过带字库的 LCD12864 显示数据,通过 4*4 矩阵键盘控制显示文字、
4、公历 日期(年、月、日、星期) 、时间(时、分、秒) 、文字反白、自定义字符、图片显示,可 以通过键盘调整时间、日期,同时按下键盘时,七段数码管显示相应键位的键位标识。在 内容安排上首先描述系统硬件工作原理,着重介绍了各硬件接口技术和各个接口模块的功 能;其次,详细阐述了程序的各个模块和实现过程。 The design is based on digital integrated circuit.microcontroller technology is the core of the system,The software design uses module structure,C pro
5、gramming language. System by taking the fonts LCD12864 display data, through 4 * 4 matrix keyboard control displays text, calendar dates (year, month, day, week), time (hour, minutes and seconds), word against white, customize characters, photos. Can via keyboard adjust time, date, and press the key
6、board, 7 segment digital pipe display corresponding cryogenically keys logo. First the arrangement of the content of the system hardware principle are introduced, and the hardware interface technology and the function of each interface module, Secondly, this paper expounds the program modules and realization process. 关键词:关键词:单片机;键盘显示单片机;键盘显示模拟模拟系统;系统;LCD1286LCD12864 4;时钟;时钟 Key word:MCU; Keyboard display the simulation system;LCD12864;The clockKey wo