基于Modbus协议的单片机与触摸屏通信设计  被引量:13

Communication between micro controller unit and touch panel based on Modbus protocol

在线阅读下载全文

作  者:顾波飞[1] 赵伟杰[1] 吴开华[1] 

机构地区:[1]杭州电子科技大学生命信息与仪器工程学院,浙江杭州310018

出  处:《机电工程》2012年第1期104-107,共4页Journal of Mechanical & Electrical Engineering

基  金:浙江省重大科技专项资助项目(2009C12006)

摘  要:为解决太阳能自动灌溉系统中的人机交互问题,使用触摸屏作为人机界面设计了一种人机交互系统。重点研究了人机交互系统中单片机与触摸屏的通信方法,包括基于Modbus协议,触摸屏作为主机发出获取数据请求或操作请求,单片机作为从机接收并分析请求,返回相应的数据和状态或执行相应的动作。研究结果表明,该方法解决了太阳能自动灌溉系统中单片机和触摸屏之间的数据双向实时通信问题。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.

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

分 类 号:TP393[自动化与计算机技术—计算机应用技术] TH39[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象