没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的plc中文输入系统设计.doc
0 下载量 80 浏览量
2023-07-10
11:29:59
上传
评论
收藏 2.07MB DOC 举报
温馨提示
试读
34页
基于单片机的plc中文输入系统设计.doc
资源推荐
资源详情
资源评论
毕业设计(论文)说明书
题 目: 基于单片机的 LCD 中文
输入系统设计
院 (系): 电子工程学院
专 业:
学生姓名:
学 号:
指导教师单位:
姓 名:
职 称:
题目类型:
理论研究 实验研究 工程设计 √工程技术研究 软件开发
年 5 月 25 日
摘 要
随着我国嵌入式技术的迅猛发展,中文汉字的输入与显示在高端电子产品以及智能
终端中的应用越来越广泛。目前广泛应用于数字终端的中文输入法是 Nokia 的 T9 输入
法、Motorola 的 iTAP 输入法和 Erics-son 的字能输入法。目前,以 LCD 和数字键盘实
现的人机交互式界面在智能终端中广泛采用,在不同的应用场合,对人机界面的要求也
不同,一些情况下只要求简单参数的显示和选择,而在一些信息终端中,还要求文字的
输入。
本设计方案在 AT89C55WD 单片机平台上构造简易的拼音输入法,输入形式是用户
通过数字键盘输入一个数字串,LCD 显示出该数字串对应的各种拼音让用户进行选择,
拼音数组中的每一个元素都指向一个同音汉字串。用户在同音汉字串中选择一个汉字就
可以得到该汉字的 GB2312 编码。通过这个 GB2312 码可以在汉字点阵字模库中检索到
该汉字字模的起始位置,最后用带字库的 128×64 点阵式 LCD 模块为输出显示设备,实
现汉字、英文字母、数字,标点符号等文本信息的输入。
关键字:AT89C55WD;拼音输入法;TS12864A-3 液晶;中文字库原理
Abstract
With the rapid development of embedding technology, the inputting and displaying of
the Chinese character in high-end electronic products, as well as the application of intelligent
terminals are widely used more and more. At present, the number of terminals are widely
used in the inputting method of Chinese character which are Nokia's T9 inputting method,
Motorola's iTAP inputting method and Erics-son's words inputting method. At present, LCD
and digital keyboard to achieving the man-machine interactive interface are widely used in
intelligent terminals. In different applications, the requirements of human-computer interface
is different, some cases require only some simple showing and choosing of parameters, and
some information terminals, as well as require the inputting about text.
The design in AT89C55WD single-chip platform makes up simple phonetic inputting
method, the inputting form is to enter a number string through the numeric keypad by users,
the system shows the number of strings which corresponds to the alphabet ,choosing by users,
the array of a homonym elements point to a string of Chinese characters. when users choose r
a Chinese character can be encoded in the GB2312 Chinese characters. It can retrieve the
starting position of the character matrix through the GB2312 Chinese character dot-matrix
code matrix in the database . Finaly the 128 × 64 dot matrix LCD module is used for the
output showing device, to realize the inputting about the Chinese characters, English letters,
numbers, punctuation marks, text input and so on.
Key words: AT89C55WD; Pinyin input method; TS12864A-3 LCD; Chinese font Principle
目 录
引言 ...........................................................1
1 设计任务及要求 ..............................................2
1.1 设计任务 ..............................................................2
1.2 设计要求 ..............................................................2
1.3 设计思路 ..............................................................2
1.4 方案选择与论证 ........................................................2
1.4.1 人机接口模块的选择 ..................................................2
1.4.2 拼音输入法方案 ......................................................3
1.4.3 12864 液晶...........................................................3
1.5 工作原理简介 ..........................................................3
1.6 系统原理框图 ..........................................................4
2 硬件设计 ....................................................4
2.1 4×4 按键..............................................................4
2.2 AT89C55WD 单片机.......................................................5
2.3 12864 液晶.............................................................6
3 软件设计 ....................................................8
3.1 按键扫描模块 ..........................................................9
3.2 LCD 显示模块.........................................................9
3.3 文字输入模块 .........................................................10
4 系统制作过程 ...............................................16
4.1 硬件制作和调试 .......................................................16
4.2 软件调试 .............................................................17
4.2.1 按键部分调试 .......................................................17
4.2.2 12864LCD 部分.......................................................17
4.2.3 中文全拼输入法调试 .................................................18
5 操作说明 .................................................19
5.1 输入汉字 .............................................................20
5.2 输入英文字母 .........................................................21
5.3 输入数字 .............................................................21
5.4 输入符号 .............................................................22
5.5 退格键 ...............................................................22
5.6 总效果图 .............................................................22
6 结论 .......................................................22
谢 辞 ........................................................24
参考文献 ......................................................25
附录一 电路原理图 ............................................26
附录二 电路 PCB ...............................................26
附录三 显示过程图 ............................................27
附录四 实物图 ................................................28
剩余33页未读,继续阅读
资源评论
Mmnnnbb123
- 粉丝: 694
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功