How to use the Puzzlebox Brainstorms Client Interface

Launch the software

  • Launch the Client Interface software

  • Under the "LEGO Mindstorms" section of the interface enter the name or path to the Bluetooth communications port for the LEGO Mindstorms NXT device.
  • Click the "Connect" button to establish a link to the LEGO Mindstorms NXT robot.

  • Note: When the program is first run it will attempt to auto-connect to the communications port set in the file "puzzlebox_brainstorms_configuration.ini" under the "BLUETOOTH_DEVICE" entry.
  • At this point it should be possible to drive the robot manually using the mouse or keyboard.

Touchscreen / Mouse Control

  • Clicking on any of the arrows on screen will transmit driving commands to your LEGO Mindstorms NXT robot through the PC or mobile device's Bluetooth connection. Optionally the control commands can be routed over a network connection. In this way the communication limits of Bluetooth (10 meters for Class II and 100 meters for Class I) can be extended across a Wireless or mobile data network.

Keyboard Commands

The following keystrokes can also be used to steer the robot:

  • "w" or "up arrow" - "drive forward"
  • "a" or "left arrow" - "drive left"
  • "s" or "x" or "down arrow" - "drive right"
  • "d" or "right arrow" - "drive reverse"
  • "z" - "turn left in reverse"
  • "c" or "page down" - "turn right in reverse"


To test the system, try clicking the "up" arrow

  • You should see a message in the server window which looks like:

--> [Server] drive_forward command received

  • If you see the following error, try editing Bluetooths communications serial (COM or rfcomm) port:

--> [RC] Connection failed to NXT device [COM1]

Last modified 11 years ago Last modified on 07/13/10 09:57:01