首页 | 本学科首页   官方微博 | 高级检索  
     

基于Modbus协议的单片机与触摸屏通信设计
引用本文:顾波飞,赵伟杰,吴开华.基于Modbus协议的单片机与触摸屏通信设计[J].机电工程,2012,29(1):104-107.
作者姓名:顾波飞  赵伟杰  吴开华
作者单位:杭州电子科技大学生命信息与仪器工程学院,浙江杭州,310018
基金项目:浙江省重大科技专项资助项目(2009C12006)
摘    要:为解决太阳能自动灌溉系统中的人机交互问题,使用触摸屏作为人机界面设计了一种人机交互系统。重点研究了人机交互系统中单片机与触摸屏的通信方法,包括基于Modbus协议,触摸屏作为主机发出获取数据请求或操作请求,单片机作为从机接收并分析请求,返回相应的数据和状态或执行相应的动作。研究结果表明,该方法解决了太阳能自动灌溉系统中单片机和触摸屏之间的数据双向实时通信问题。

关 键 词:串行数据通信协议  单片机  触摸屏  自动灌溉  太阳能

Communication between micro controller unit and touch panel based on Modbus protocol
GU Bo-fei , ZHAO Wei-jie , WU Kai-hua.Communication between micro controller unit and touch panel based on Modbus protocol[J].Mechanical & Electrical Engineering Magazine,2012,29(1):104-107.
Authors:GU Bo-fei  ZHAO Wei-jie  WU Kai-hua
Affiliation:(College of Life Information Science and Instrument Engineering,Hangzhou Dianzi University,Hangzhou 310018, China)
Abstract:In order to solve the problems of human computer interaction of automatiac irrigation systeam, a kind of hunman computer interaction system was designed using touch panel as interface. The communication method was studied mainly between touch panel and micro con- troller unit for the automatic irrigation system which was powered by solar energy. Based on Modbus potocol, touch panel was used as host to sent data acquisition or operation request message and micro controller unit was used as slave to receive the request, judge the request and return the data and state or execute corresponding action. The research results show that the method solves the data real time communication between touch panel and micro controller unit for the automatic irrigation system which is powered by solar energy.
Keywords:Modbus protocol  micro controller unit  touch panel  automatic irrigation  solar energy
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号