摘要
为了提高制管机的人机交互性,课题组设计了基于STM32控制器的人机界面系统。在硬件设计方面采用四线电阻式触摸屏,CPU采用基于ARM9内核的32位处理器芯片的S3C2416;在界面设计方面,引入了自主研发的组态软件参与设计,在软件编程方面,用面向对象的方法,实现触摸屏与上位机软件的数据传输;通过对通信协议的研究,给出了STM32与触摸屏通信的软件实现流程图,完成触摸屏与STM32的数据交互。经调试表明系统运行稳定、响应速度快、通用性强。该设计在制管机系统中能够基本达到预期显示和控制效果。
In order to improve the human-computer interaction of the pipe manufacturing machine,a HMI system based on STM32 controller was designed.The four-wire resistive touch screen was used in hardware design,and the S3C2416 based on 32-bit processor chip of ARM9 core was adopted as CPU;the self-developed configuration software was introduced to participate in the interface design;the object-oriented method was used to realize the data transmission between the touch screen and the upper computer software in software programming;through the research of the communication protocol,the software implementation flow chart of the communication between STM32 and the touch screen were presented and the data interaction between the touch screen and STM32 was completed.The debugging results shows that the pipe manufacturing machine system has stable operation,fast response speed and strong universality.The design can basically achieve the expected display and control effect in the pipe manufacturing machine system.
作者
季俊
蔡锦达
JI Jun;CAI Jinda(College of Communication and Art Design,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《轻工机械》
CAS
2020年第6期68-71,76,共5页
Light Industry Machinery
关键词
制管机
人机界面
S3C2416
组态软件
数据交互
pipe manufacturing machine
HMI(Human Machine Interface)
S3C2416
configuration software
data interaction