WebRCX

WebRCX is a program that lets you connect your Lego Mindstorm's robot to a webpage user interface. When anyone on the internet connects to your web page, they can press buttons on the page that activate your robot. Commands can be used to simply activate one of the five programs that are stored in the LEGO RCX brick. With a more advanced programming language, like NQC, you can program up to 50 buttons for your user interface.

If you have a webcam, WebRCX is especially fun, since you can set it up so they can watch as the robot responds to their commands. I used this program to make a remote-controlled pointable webcam. When people connect to my webcam, they can press buttons to move the camera.

If you know how to program in JavaScript, you can add even more power to your robot interface. WebRCX can send and receive data, so you can have the web page interact with the robot. For example, you can create a web page that alerts you whenever a light is turned on in your office (as seen by the robot's light sensor). You can have a user interface that appears only when the robot is turned on and has sufficent battery power to complete its task. The possibilities are endless for creative inventors!


Features

WebRCX works under Win98. It may work under WinNT, Win2000 and WinME, but has not been tested. Before you run WebRCX, you must install the software that comes with your Lego set, since WebRCX uses spirit.ocx that is included with the Lego software. However, be sure to shut down the Lego software and any other program that may communicate directly with the brick before running WebRCX to avoid conflicts between the two programs. Some of the program's features are listed below:

Version 2.10

  • Simple user interface
  • Select program and task from the web
  • Retrieve sensor data from the web
  • Set variable data from the web
  • User selectable PC com port
  • User selectable TCP/IP port
  • Block task 0 option
  • Filter command option
  • FTP option
  • View last web user (IP, timestamp, command)
  • LOG interface
  • Retrieve log data from the web
  • Configuration interface
  • Runs in systray
  • Mini web server

  • Examples

    Javascript programming examples can be found here.


    Download

    First, you need to download the executable to your machine. It will only run if you have the Lego software installed. By downloading the software you agree to the following conditions:

    The software is copyright Scott Ireland 2001, and may not be resold or redistributed in any manner without prior written permission from its author.

    The software is provided as-is, and it may contain defects. There is no warranty of any kind, express or implied. The fitness of the software for any purpose is not implied. If you use this software, you do so at your own risk. IN NO EVENT WILL SCOTT IRELAND BE LIABLE FOR LOSS OF DATA OR FOR DIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL (INCLUDING LOST PROFIT), OR OTHER DAMAGE, WHETHER BASED IN CONTRACT, TORT, OR OTHERWISE.

    Lego, Lego Mindstorms are copyrights of the Lego Group. This software uses the Spirit.ocx, and it has its own restrictions described at the Lego Mindstorms web page. This software was not developed in affiliation with the Lego Group.

    I AGREE TO THE ABOVE CONDITIONS (v2.10)

    I AGREE TO THE ABOVE CONDITIONS (v3.00-beta)


    History

    Version 2.10

  • Simple user interface
  • Select program and task from the web
  • Retrieve sensor data from the web
  • Set variable data from the web
  • User selectable PC com port
  • User selectable TCP/IP port
  • Block task 0 option
  • Filter command option
  • FTP option
  • View last web user (IP, timestamp, command)
  • LOG interface
  • Retrieve log data from the web
  • Configuration interface
  • Runs in systray
  • Mini web server
  • Version 2.00
  • Simple user interface
  • Select program and task from the web
  • Retrieve sensor data from the web
  • Set variable data from the web
  • User selectable PC com port
  • User selectable TCP/IP port
  • Block task 0 option
  • Filter command option
  • FTP option
  • View last web user (IP, timestamp, command)
  • LOG interface
  • Retrieve log data from the web
  • Configuration interface
  • Runs in systray
  • Version 1.10
  • Simple user interface
  • Select program and task from the web
  • Retrieve sensor data from the web
  • Set variable data from the web
  • User selectable PC com port
  • User selectable TCP/IP port
  • Block task 0 option
  • Filter command option
  • FTP interface
  • View last web user (IP, timestamp, command)
  • LOG interface
  • Retrieve log data from the web
  • Version 1.00
  • Simple user interface
  • Select program and task from the web
  • Retrieve sensor data from the web
  • Set variable data from the web
  • User selectable PC com port
  • User selectable TCP/IP port
  • Block task 0 option
  • FTP interface
  • View last web user (IP, timestamp, command)
  • Powered by WebRCX