Skip to content. Skip to navigation

Jan Torbens homepage

You are here: Home public stuff Access a LEGO RCX via WLAN with JAVA
Document Actions

Access a LEGO RCX via WLAN with JAVA

by jtheuer last modified 2008-09-27 15:51

This library allows you to control the LEGO RCX with java. Additionally you can use it remote: Put a linux pda on top of the rcx, add a wlan card and control your rcx from your laptop!

Overview

This package contains two programs: a infrared-to-tcp (network port) converter (bidirectional) and a java library to access it.

The library
The library is written in c and needs to be cross-compiled if you want to use an IPAQ 3630 as pda-platform (there is a pre-compiled one in the package, might work for you!). The program routes commands from tcp to ir and vice-versa. So you can also receive sensor-events.
The JAVA program
The JAVA program just connects to the pda and sends/receive commands. You can add an event-listener if you want to use events. You can send any possible command to the rcx, some commands are available as constants, but you might look for a complete rcx command reference.

Download

See below at the related items.

Questions

As I didn't write a full documentation yet, please ask me by mail or add you comment below.
Related content