摘要
本文以单片机C8051F020为核心控制芯片,对由控制芯片TFT6448b控制NL6448AC33-18彩色显示屏和单片机C8051F020控制四线电阻式触摸屏组成的人机界面控制系统,作了较为深入的分析与研究。介绍了C8051F020单片机的功能特点,端口配置方法和对它的编程具体操作方法;以及液晶芯片TFT6448b和触摸屏的管脚功能和工作原理。描述了单片机C8051F020实现控制彩色液晶进行显示和控制触摸屏按要求正确工作的原理,给出了系统硬件设计原理图以及软件流程图,阐述了硬件设计框图和实现过程。着重论述触摸屏硬件接口电路设计及软件编程与调试,实现了彩色液晶显示及触摸屏控制功能,实现了页面显示及页面切换功能。为便于程序的扩展、修改和今后的应用,应用C语言编程,所有程序按功能采用模块化设计,程序设计的逻辑关系简洁明了。
This paper takes C8051F020 MCU as the core of Control CMOS Unit, making a further analysis and research on the man-machine interface control system which is made up by the modules, with CMOS chip TFT6448b controls NL6448AC33-18 colorful display screen and C8051F020 MCU controls the four-wired Touch Screen. First, introducing the function and characteristic of C8051F020 CMOS Unit, the ways of interface configurations and the detailed programming, the pins function and the operational principle of TFT6448b and Touch Screen; second, making a description of principle which is C8051F020 control LCD and the Touch Screen operation as desired, giving the system hardware design principle and the software flowchart and elaborating the hardware design diagram and the realization process; third, elaborating emphatically the Touch Screen hardware connection circuit design and the software programming and the debugging, realized the colored LCD and the Touch Screen control function, and the page demonstrating and the page switching function; finally, utilizing the C language programming, all procedures will be understood more easily and conveniently with the modular design for the procedure expansion, the revision and the later application according to the function and the related procedure design.
出处
《广西工学院学报》
CAS
2005年第S3期49-52,30,共5页
Journal of Guangxi University of Technology