摘要本文设计了一种基于 PC 机与单片机构成的串口无线通讯方案,讨论了有用的基于 RS-232 串口的通信协议,并利用无线模块 nRF905,探讨了 FSK 等调制方式。通过对方案的设计,可以利用单片机与 PC 机组建成低成本、可控性强、使用灵活的控制系统,在工程控制方面体现出单片机较 PLC 的优势,同时也可以由多台单片机构成无线通信网络,为通讯提供无线方案,并且降低了网络的开发成本,这为个人组建合适的通讯网络提供可行性方案。上位机控制平台采纳 DELPHI 开发工具进行编写,所使用的 DELPHI 编程工具具有开发效率高、入门容易、开发周期短等特点,较之 VB 优势明显,更贴近英语格式。因控制系统需要根据具体的应用环境,本文只介绍了简单的事例应用,控制简单的单片机输入输出端口。 根据设计要求和功能实现,模拟调试了控制台控制终端,编写了控制台的串口通讯控制软件,调试实现了串口通讯和无线通讯的结合,实现了理想的控制命令,介绍了编码方法以及在实验中运用了单片无线芯片。介绍了无线模块的设计及其应用电路的设计要求,阐述了串口无线通讯在控制中的运用,并且展望了串口无线通讯的进展与未来无限通讯的进展趋势。本文还提出了方案的二次开发和高级应用,为二次开发提供了软硬件的接口,实现了知识应用及专业技能的培育,为串口通讯提供了新的方向及进展前景。关键词:RS-232; DELPHI;nRF905; AVR-MCU; 无线通讯电路AbstractIn this paper,the serial wireless-comunication which bassed on practical RS-232 serial communication protocol, is constituted by Personal Computer-software and MCU, and using of wireless modules nRF905, which researchs FSK modulation and so on. The design of the program can be used to unit a systerm,which is controllability, flexible useful and controllable, with Microprocesser and Personal computer. It will no only reflect the advantages of Microprocesser than the PLC in engineering cyberne, but also can be constituted by numbers of Microprocesser with wireless communications chip to build a network communication program. The design provide a wireless programme, and reduce developing costs. It also provide ...