针对超声波定位系统,设计了串行通信模块。介绍模块的工作流程和硬件电路,以及应用SP Comm控件在Delphi环境下开发的上位机软件。模块实现了PIC单片机与上位机的通信功能,并能够通过上位机软件对采集到的数据进行处理与显示。实验表明,该模块结构简单.性能稳定,在多机器鱼系统得到了应用。
the serial communication module in ultrasonic position system is designed,workflow of the module and the hard circuit,the upper computer software which uses SPComm component under the environment o f Delphi are mainly introduced. The module realizes the communication function between PIC single chip machine and upper computer,it can process and display the data collected by upper computer software. Experiments indicate that the module gets simply structure and powerful stability, possesses of extensive prospect of application.