摘要
为了实现人机交互场景中按键矩阵的硬件通用化设计,功能软件自定义设置、按键数量可扩展,对OLED显示按键进行了研究,并设计了基于OLED显示按键的按键矩阵。根据OLED显示按键的驱动原理,设计了基于LPC1788控制器的按键矩阵电路原理图,提出了基于硬件通用化设计方案,及各部分电路的工作原理。根据OLED显示按键的控制时序、状态变换,进行了LPC1788控制器的固件设计,以及OLED显示按键的上位机配置软件设计,实现了显示文字、图片的软件可配置。对设计OLED显示按键矩阵进行了测试,实现了硬件的通用化设计、按键功能可定义、可扩展设计。设计实现表明,可以将OLED显示按键设计为人机交互场景中按键矩阵,按键显示分辨率96×64像素,180°视角,调光范围0~250cd/m^2,高清晰度、高对比度,全屏幕显示,通过软件灵活配置,实现矩阵翻页设计,扩展为更多的按键需求,节省了结构空间。基于LPC1788的OLED显示按键矩阵设计,共18个按键,可实现18×N组按键的扩展,稳定可靠、清晰度高、通用性强、外形美观、人机界面友好,可以广泛地应用于车载、舰载、机载等按键需求的人机交互系统中。
In the human-computer interaction scenario,in order to realize the hardware universal design of key matrix,function software custom settings,and the number of keys can be expanded,the OLED display keys are studied,and the key matrix based on OLED display keys is designed.According to the driving principle of OLED display keys,the circuit schematic diagram of key matrix based on LPC1788 controller is designed.The design scheme based on hardware generalization and the working principle of each part of the circuit are proposed.Then,according to the control sequence and state transformation of OLED display keys,the firmware design of LPC1788 controller and the configuration software design of the upper computer of OLED display keys are carried out,which realizes the configurability of the software for displaying text and pictures.Finally,the design of OLED display key matrix is tested,and the universal hardware settings,key function definable and extensible design are realized.The design and implementation show that OLED display keys can be designed as key matrix in human-computer interaction scene.The key display resolution is 96×64 pixels,180°perspective,dimming range is 0~250 cd/m^2,high definition,high contrast and full screen display.Through flexible configuration of software,matrix page turning design can be realized,which expands to more key demand and saves structure space.The OLED display key matrix design based on LPC1788 is stable,reliable,clear,versatile,beautiful in appearance,friendly in man-machine interface,and can be widely used in man-machine interaction system for keyboard requirements of vehicle,ship and airborne.
作者
周国良
曾范昌
ZHOU Guo-liang;ZENG Fan-chang(China Shipbuilding Industry Corporation Jiangsu Automation Research Institute,Lianyungang 222006,China)
出处
《液晶与显示》
CAS
CSCD
北大核心
2019年第12期1148-1154,共7页
Chinese Journal of Liquid Crystals and Displays