摘要
在该系统中,一个运行在本地PC上的Java程序,读取游戏杆的数据,通过蓝牙连接来控制一个装有4只发动机的模型飞机的飞行。作为设计的第一步,模型飞机是在一台远端PC上仿真的,两台PC以蓝牙方式连接。文中建立了系统的控制原型,定义了应用层的协议,给出了系统的流程图,并对程序包进行了简单的描述。这一设计可用于模型飞机的实际控制,只要将远端程序移植到模型飞机上的微控制器,而本地程序无需作多大的修改。
In this system, a special quad - motor model aircraft is controlled via a Bluetooth link hy a Java- based application on a local PC being connected to a joystick and a Bluetooth USB Adapter. As a first step of the design, the model aircraft is simulated on a remote PC connected to a Bluetooth Serial Port Adapter. The system model is built; the protocols at the application layer are defined; flow charts of the system are given and program packages are described briefly. The result shows that the system is reliable and it can be applied into practical control of a model aircraft without much change in the local system and with some software transplant to a microcontroller on the model aircraft.
出处
《微机发展》
2005年第12期110-112,115,共4页
Microcomputer Development