液晶与显示, 2015, 30 (1): 70, 网络出版: 2015-04-14   

S3C2440A在步进电机控制器人机交互中的应用

Application of S3C2440A in human-computer interaction of stepping motor controller
作者单位
中国科学院航空光学成像与测量重点实验室 中国科学院 长春光学精密机械与物理研究所, 吉林 长春 130033
摘要
为实现步进电机控制器系统升级,深入探讨了S3C2440A在步进电机控制器人机交互接口中的应用.S3C2440A内部具有专用的触摸屏接口和LCD控制器,可方便实现与触摸屏和LCD的无缝连接.在介绍步进电机控制器结构的基础上,给出了S3C2440A与触摸屏和LCD的接口电路,并对其应用程序设计进行了详细分析.通过等待中断模式和X/Y坐标连续转换模式的结合实现触摸屏触点信息的采集,并介绍了触摸屏的三点校正方法,最后给出了示例代码.以320×240 TFT LCD为例,对LCD控制器的时序、缓冲区设置和显示数据格式进行了详细分析,同样给出了应用程序代码.最后,完成了系统运行实验.实验结果表明,S3C2440A与触摸屏和LCD接口方便,采用该结构可简化硬件系统设计,并减轻系统运行负荷.整个系统运行可靠.
Abstract
In order to upgrade the stepping motor controller,the application of S3C2440A in human-computer interaction of stepping motor controller was discussed in detail.The special touch-screen interface and LCD controller in S3C2440A could connect with touch-screen and LCD directly.Based on introducing the architecture of stepping motor controller,circuits among S3C2440A,touch-screen and LCD were given,and related application programming design was analyzed deeply.The information of touched point on touch-screen was sampled by combining interrupting mode and X/Y coordinate sequential conversion mode,meanwhile three-points calibration method was introduced.At last,sampling codes were given.The scheduling,buffer setting and displaying data format of LCD controller were analyzed based on 320×240 TFT LCD.Also,the applied programming codes were given.At last,the above codes were executed in practical system.Result shows that connection between S3C2440A,touch screen and LCD is convenient.So the hardware-design and load of the system could be predigested with this architecture.This system runs well in the application.

徐正平, 许永森. S3C2440A在步进电机控制器人机交互中的应用[J]. 液晶与显示, 2015, 30(1): 70. XU Zheng-ping, XU Yong-sen. Application of S3C2440A in human-computer interaction of stepping motor controller[J]. Chinese Journal of Liquid Crystals and Displays, 2015, 30(1): 70.

本文已被 1 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!