帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

基于Modbus协议的单片机与触摸屏通信设计
Communication between micro controller unit and touch panel based on Modbus protocol

作  者: ; ; ;

机构地区: 杭州电子科技大学

出  处: 《机电工程》 2012年第1期104-107,共4页

摘  要: 为解决太阳能自动灌溉系统中的人机交互问题,使用触摸屏作为人机界面设计了一种人机交互系统。重点研究了人机交互系统中单片机与触摸屏的通信方法,包括基于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.

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

领  域: [自动化与计算机技术] [自动化与计算机技术] [机械工程]

相关作者

作者 张玉君
作者 雷瑞庭
作者 刘耕
作者 白平
作者 陈维州

相关机构对象

机构 中山大学法学院
机构 暨南大学
机构 东莞理工学院
机构 华南理工大学
机构 华南师范大学

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 黄晓宇
作者 孟显勇