TelosB节点的串口双向传输技术研究
Research on Serial Port Bidirectional Transmission Technology of TelosB
-
摘要: TelosB节点是一款应用于无线传感器网络的嵌入式节点,其通过串口与PC机进行通信。目前,TelosB节点与PC机的通信多数是在TinyOS系统下的Cygwin窗口中进行的,数据包不透明传输,造成节点的数据不能直接被用户使用。设计一种基于TelosB节点的串口传输技术,通过VC++下的串口程序实现TelosB节点最原始数据的双向传输,并在此基础上,对串口传输技术进一步改进,使得用户更加直接、方便的使用节点。实验显示,各种数据包通过串口以透明的形式,快速、准确的在节点与PC机间上下行传送。Abstract: TelosB is an embedded node which is usually used in wireless sensor network. It communicates with PC through the serial port. At present, most of communication between TelosB and PC are carried through the Cygwin window which is worked under the Tiny OS system. The data packet can not be used directly by the consumer because they are transmitted opaquely. We designed a serial port transmission technology based on TelosB node. Original data of TelosB can achieve bidirectional transmission under the VC++ serial program. Moreover, based on this technology, the improved serial transmission technology make consumer more conveniently and directly to use TelosB. The experiment result shows that every kinds of data packet are transferred fast and accurately with transparent form.