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

基于串行通信的智能家居上位机设计
引用本文:江永池. 基于串行通信的智能家居上位机设计[J]. 现代电子技术, 2010, 33(13): 133-136
作者姓名:江永池
作者单位:汕头职业技术学院,广东汕头,515078
摘    要:在智能家居系统设计中,串行通信是实现上位机与下端模块通信的最主要的手段。为了提高上位机与下端模块的通信效率,在上位机设计时通过使用Windows的MSComm控件和自编制的串口接收发送动态控件的比较,发现利用MSComm控件虽然可以方便快捷地编制出上位机程序,但其通信效率偏低,误帧和失帧率较高,只适用于单模块测试。对于多模块实时通信系统,采用其他控件或自编制收发程序更为有效。

关 键 词:上位机  单片机  智能家居系统  协议  串行通信  MSComm控件

Upper Computer Control in Intelligent Home System Based on Serial Communication
JIANG Yong-chi. Upper Computer Control in Intelligent Home System Based on Serial Communication[J]. Modern Electronic Technique, 2010, 33(13): 133-136
Authors:JIANG Yong-chi
Affiliation:JIANG Yong-chi (Shantou Polytechnic College, Shantou 515078, China)
Abstract:Serial communication is the most important communication method between upper computer control and lower model(MCU) in the design of intelligent home system. By comparison between MSComm control of Windows and self-written serial transcieving dynamic control during the design of the uppereomputer to improve the communication efficiency of the upper computer control and the model at lower end, it is found that the communication efficiency of the upper computer program written by MSComm control is low, and the rate of error-frame and lost-frame is high though the program can be written out quickly with MSComm control. Two different ways to test the serial port communication abbility and find the follow facts: MSComm control can only use in single model can't use in a multi-model system.
Keywords:upper computer control  MCU  intelligent home system  protocols  serial communication  MSComm control
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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