2009年4月7日星期二

通过使用标准蓝牙协议的网络和NXT进行通讯



今天在网上,看到有乐高达人进行了这样一项实验,简单翻译一下。

The NXT network server makes it possible to communicate with the NXT over a network using the LEGO Bluetooth protocol. The idea is simply to have a server between a number of network clients and the NXT. This makes it possible to forward messages from TCP/IP to Bluetooth and vice versa. This provides a very easy way to read sensor value, start a program, upload a file and even control the motors over the Internet.

NXT网络服务器可以使用乐高蓝牙协议的网络和NXT之间建立通讯。这个实验的想法非常简单,就是想在一定数量的客户端和NXT之间建立一个服务器。通过她可以信息从TCP/IP转换成蓝牙,当然也可以从蓝牙转换成TCP/IP。这样还提供了一种简单的方式来读取传感器的数值,启动一段程序,上传文件,甚至通过网络控制马达。

如果想尝试一下,可以下载一下两个文件:C++ communication libraryNetwork and BT remote

预祝成功!

没有评论:

Who are you?