Page tree
Skip to end of metadata
Go to start of metadata
Content





These are some brief instructions on how to connect your robot to the Open Roberta Lab using an USB cable. You will have to install a small program to test that the connection is working.

Step 1 Install the Open Roberta USB program

To connect your robot to the Open Roberta Lab with USB you need to first install the Open Roberta USB software. The Open Roberta USB Software is available for different operating systems. Follow the instructions for the operating system that is installed on your computer.

Windows XP

Follow the numbered instructions under Windows 7.

Windows 7

Driver for LEGO Mindstorms NXT

If you program your NXT for the first time on your computer, you have to download and install the NXT Fantom Driver. Please follow this link: https://www.lego.com/en-us/mindstorms/downloads?ignorereferer=true

To install the program you need administrator rights for your computer. Unfortunately, the program can not be installed without administrator rights.

  1. Choose the latest installer file OpenRobertaUSBNXTSetupEN_x_y_z.msi from this link.
  2. Locate the file »OpenRobertaUSBNXTSetupEN_x_y_z.msi« in your download folder. The folder where your downloaded files are saved depends on your browser's settings, most often it is the "Downloads" folder in your home directory.
  3. Double click on the installer file to start the installation process.
  4. During the installation process you will have to confirm several times with »yes« or »next« .
  5. After the installation is done you will find a shortcut »Open Roberta USB NXT« in the start menu and on the desktop. Start the program by double clicking on the Open Roberta USB NXT shortcut.

continue with step 2 (see below).

Windows 8, 10

For Windows 8 and 10 you can use the same installer for the Open Roberta USB program as for Windows 7. 

Linux

  1. Choose the latest installer package OpenRobertaUSBNXTLinux_x_y_z.tar.gz from this link.
  2. Find »OpenRobertaUSBNXTLinux_x_y_z.tar.gz« in your download folder.
  3. Extract the package content at desired location.
  4. Run the install.sh script in terminal: 
    sudo sh install.sh
  5. After the installation is done you will find the OpenRobertaUSBNXT in Apps.

Mac OS X

  1. Choose the installer package OpenRobertaUSBMacOSX_x_y_z.pkg from this link.
  2. Find »OpenRobertaUSBMacOSX_x_y_z.pkg« in your download folder.
  3. Right click on it and choose Open with installation program.
  4. During the installation process you will have to confirm several times with »yes« or »next«.
  5. After the installation is done you will find the OpenRobertaUSB in Apps. Start the program by double clicking on it.



Step 2 Connect a robot to the Open Roberta Lab

The following instruction will help you to connect your robot to the Open Roberta Lab.

  1. Turn on the robot; it may take some time to start.
  2. Open the Open Roberta USB program (you should see the screen below).



  3. Connect your robot to your computer. Plug in:
    1. The big end of the USB cable from the robot into a free USB port on your computer, and
    2. the mini USB connector into the robot brick, on the top, next to motor port D, if you have an NXT for example.
  4. On the first time it may take a while before the computer finds the pre-installed drivers for this connection. Wait until the »connect« button is activated in the program and the robot icon turns red.

     

  5. Click on »connect«. The program calculates the token for your robot.

     

  6. Insert the token in the Open Roberta Lab in robot/connect and click »OK«.

     

  7. The connection is established.
    1. The robot plays a melody and displays on its screen in the upper right the Roberta icon or may just beep.
    2. In the Open Roberta USB program the robot symbol is shown in green color and also the name of the robot is shown.
    3. In the Open Roberta Lab the connection is monitored by the green robot symbol shown in the upper right corner.

     


NXT Robot configuration

We have modelled the NXT brick in the Robot Configuration menu. It is important to declare which motors and sensors are connected to the robot. It is also important to define the types of motors and sensors (e.g. large motor or color sensor), and the connection ports have to be correctly assigned (1 to 4 for the sensors and A to C for the motors) on your robot. The program will only be executed correctly if the robot configuration is defined exactly as your robot is constructed. If the robot construction & configuration does not match the program created, then the robot either will do nothing or it will throw an error.

Wheel diameter and track width

The wheel diameter and track width (the distance between the middle of the left and the middle of the right wheel) has to be assigned. This is important, because if you are using blocks from the Action category the distance parameter for the calculation of how much the robot has moved is based on this assignment.

 

Standard configuration

To simplify the robot configuration, we have created a default configuration. This configuration contains one touch sensor (on sensor port 1), one sound sensor (on sensor port 2), one light sensor (on sensor port 3), one ultrasonic sensor (on sensor port 4), and two big motors (on motor ports B and C). The wheel diameter is 5.6 cm and the track width is 12 cm.

This configuration corresponds to the robot specified in the building instructions.

Your own robot configuration

You can save your own robot configuration so that you do not always have to reconfigure your settings. To do this you need to log in to the Roberta Open Lab. Then you go to the »Robot configuration NXTbasis« menu to configure the settings so that they match your NXT robot. When finished click the menu »edit« and »save« - or »save as«. Using »save as« you can give your robot configuration a new name. If you click only on »save«, the existing setting will be overwritten with the name »Robot configuration NXTbasis«.



 

Sensors

This is where you declare which sensors are connected to the sensor ports. To do this you need to drag one of the available sensors to the corresponding sensor port.

 


 

Motors

Drag the corresponding motor to the motor port, according to your NXT robot. It is also possible for other power consumers to be connected to an engine port.

 

  • No labels