Realization of Serial Port Communication in Wireless Command System

The paper introduces the operational principle of wireless command system and the important position of serial port communication in the system,and analyses the realization mechanism of serial port communication in Windows32,kinds of realization methods and programming ideas.Based on VC++6.0,the asynchronous communicational program on computer compiled by transferring Windows32 API,and the communicational program on single chip compiled with assemble language,combining the example of wireless command system,realize the communication between PC and single chip.The effect of communication is very good.