ZHU Ke-hua, ZHANG Hua, LI Shou-xuan. Application of touch screen in servo system[J]. 2007, (12): 112-113+116. DOI: 10.13873/j.1000-97872007.12.037.
触摸屏在随动系统中的应用
摘要
介绍一种基于触摸屏的单片机伺服系统。从触摸屏取得跟随目标位置的电压模拟量
经过A/D转换芯片将其处理成数字量
输入单片机系统进行数字处理
经过D/A转换芯片将处理的结果输出
控制马达和继电器动作
使系统的输出能跟随目标的位置
同时将目标位置的坐标显示在LCD上。仿真的结果证明了系统所用方法的正确性。
Abstract
A kind of MCU’s servo system based on touch screen is presented.The analog voltage value of the position of object followed is gained from a touch screen
it is conversed to the digital value by the A/D conversion chip
the digital value is inputted into the MCS system to deal
then the system results is outputted from the D/A conversion chip.The actions of motors and relay are controlled by the outputting result
so the object position is followed and the position axis of object is displayed on the LCD.The simulating result proves the method used in the system is validity.