摘要
介绍一种水质监测仪器中,单片机与触摸屏之间应用Modbus协议进行串行通信的方法,简要介绍了Modbus协议,并给出了程序工作流程图。实际应用表明,该方案能够实现触摸屏与单片机之间稳定、可靠的连接。
A serial communication method is introduced.With this method,the microcontroller communicates with the touch screen by means of Modbus protocol in the water quality monitoring equipment.At the same time,Modbus protocol is briefly introduced and the flow chart of the program is given.The application shows that this method could achieve stable and reliable connections between the microcontroller and the touch screen.
出处
《海洋技术》
北大核心
2011年第4期42-45,共4页
Ocean Technology
基金
国家高技术研究发展计划(863计划)资助项目(2007AA092101
2010AA09Z101)
海洋公益性行业科研专项经费资助项目(200805014)