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

Content


Here you will find answers to questions concerning the robot systems you can program in the Open Robert Lab.

Arduino





 Where do I find the RobertaFunctions.h and all other libraries for the Arduino programs?

The  all libraries can be found in the GitHub project of our Nepo4Arduino implementation:

https://github.com/OpenRoberta/ora-cc-rsc/tree/master/RobotArdu/libraries

 How do I burn a new bootloader onto my Arduino?

How you can burn a new bootloader on an old Arduino and what you need for it, you will learn here.

B-O-B-3


Bot'n Roll


Calliope mini



 How do I transfer a program to my Calliope mini without right-clicking it?

You can download the Calliope mini as soon as you click on »NEPOprog«. The program file will be downloaded to your download folder (usually with the file name »NEPOprog.hex«) and you can simply move it manually to Calliope mini. Calliope mini can be found in the overview of your drives (left in the window that opens) under the name »MINI«.

If you don't want to repeat this action every time, you can change the download folder to »MINI« in your browser's settings and then check the box »Okay, I've changed my download folder. Download my programs directly and don't show this window anymore« under the »NEPOprog.hex« click.

Once you have changed your download folder in your browser, all files you download from the Internet - both »NEPOprog.hex« and other documents - are automatically saved in the »MINI« folder. This can be unfavorable if the computer is not only used for working with the Calliope mini. Don't forget to change the download folder after working with the Calliope mini.

 Can I transfer a program from my smartphone or tablet to my Calliope mini

Yes, this is possible, but only if you use your Calliope mini in combination with the »Calliope mini App«. Check out the Calliope mini preparation page - it explains how to download the app and connect to the Calliope mini.

 With the command block "Play whole note" and "Play frequency", the motor will also start at port A.

The problem only exists when a motor is connected to the motor A pin (see photo). The error occurs because the motor A pin is physically connected to the buzzer. Therefore, with the command "Play whole note" or "Play frequency", power also flows to the motor.

Unfortunately the problem is on the side of Calliope gGmbH and cannot be solved by us.

The same problem exists when using other editors for the Calliope-mini.

 I see "Calliope mini blue" in the robot list - but I haven't found anything about this new Calliope mini on the web yet, will it be available soon?

In fact, we have added a new plugin for Calliope mini, but it's not a new device!

The background is that we've added the latest firmware for Calliope mini, which includes improvements to the Bluetooth connection in particular. Unfortunately, this firmware is much larger than the old one, so that large user programs cannot be compiled anymore. We have therefore decided to offer Calliope mini once with Bluetooth and once with radio.

"Calliope mini blue" is now connected to the Bluetooth stack and is automatically selected by the Calliope mini app via the URL. With this plugin, the message blocks can no longer be used because the radio stack no longer fits into it (in size). "Calliope mini", on the other hand, is compiled with the radio stack and is normally selected automatically. It supports all blocks, including the message blocks.

"Calliope mini 2016" remains unchanged for the 1000 very first Calliope minis.

We are working hard on a more detailed explanation.



 Beim Programmieren des Microbits lassen sich nicht die Daten auf den Prozessor übertragen, obwohl es in der Simulation funktioniert.


Edison





 The program can't be transferred to the Edison.

The transmission of the program depends mainly on the volume at the headphone output of the system used. Unfortunately, the volume is often too low. Even if you hear a creaking sound, this does not mean that the program has been transmitted completely. Only when the Qittung tone comes from the Edison did the transmission work. Edison themselves has a lot of workarounds (depending on the system): https://meQittungstonetedison.com/edison-robot-support/trouble-shooting/ (external Link)

 My Edison doesn't drive in a straight line.

Sometimes Edison doesn't drive straight after unpacking. However, this can be configured, see the instructions here: https://meetedison.com/edison-robot-support/drive-calibration/ (external Link)

 The infraredsensor of the Edison doesn't work or is nearsighted.

The Edison infrared sensor is partially nearsighted, but can be reconfigured. See these instructions for details: https://meetedison.com/obstacle-detection-calibration/ (external Link)



LEGO MINDSTORMS EV3



 How can I connect the EV3 to the Open Roberta Lab?

You can connect the EV3 to the Open Roberta Lab via Bluetooth or a USB cable. Click here for instructions.

 Which LEGO MINDSTORMS set is the right one? Retail or Education?

In general it does not matter if you got the retail set (from the toy department) or the education set (from LEGO Education).

 Why do I need an Oracle account and why do I need to reformat the SD card?

Due to the Oracle license requirements you need an account to download. Formatting the SD card is necessary to install the file system required for the installation on it. Once you have loaded the robot's SD card with the operating system, you do not need to do this again, as the operating system is automatically updated when you connect to the Open Roberta Lab. No installation of any kind is required on your tablet, as the Open Roberta Lab can be accessed via the browser and the connection to the robot is via WLAN.

As a last alternative we can offer you the purchase of already configured SD cards under the following link:

https://www.christiani-shop.de/schule/lego-education/produktlinien/roberta/open-roberta-starter-kit.html?force_sid=8bcd7520e5ce63a2d95b84f10fed5dc4

 Do I need additional hardware besides the EV3 robot?

Yes. You can find the required hardware on the respective setup page.

Depending on the system you will need:

... a WLAN dongle (we recommend the Edimax USB WLAN dongle),

... a mini-USB cable and / or

... a micro SD card.

 The Mindstorms stone shows the error message 'No AP's found' despite a short distance (3m) to the AP.

This error message can have various causes:

On the one hand it can be due to the fact that many different Wi-Fi networks overlap, or on the other hand the same network is often "spammed".

On the other hand, you should make sure that your Wi-Fi is configured to be visible to everyone.

 In Open Robert Lab, do i have to type in the password/token again after restarting the EV3?

Currently, every time you connect your robot to Open Robert Lab, a new password/token is generated on the EV3. If you have restarted the brick, you have to type in a new password/token in Open Roberta Lab.

 The installation is hanging, displaying the message "installing rootfs".

Please reformat your micro SD card and try to install the firmware again. If the error persists, this is most likely because of the micro SD card. We have discovered, that the EV3 runs into trouble with some cards sized of 32 GB or larger (like TS32GUSDHC10E, Lexar, Samsung EVO 32 GB). We suggest to try another micro SD card for the Open Roberta firmware, which size is between 2 and 16 GB.

 The installation was apparently unsuccessful. What to do, to try it again?

It's possible that you were not patient enough and have interrupted the initial installation process of the Open Roberta operating system by mistake. (On delivery of an Open Roberta Starter Kit the microSD card already contains pre-configured files, which are automatically set up when you first start the card inside an EV3 to a functioning system.) This process takes approximately between 10 and 15 minutes. Although seemingly nothing happens on the EV3 brick, there are running internal processes. Only after the EV3 display shows "Open Roberta Lab" the system is ready for use.

During initialization, the microSD card is partitioned. If you want to copy the system on it again later again, you first must remove the partitions of the microSD card. A single-steps instruction, see here: Formatting the microSD card.

When the microSD card has only one partition (free memory = SD card size) and has been formatted, the initialization files must be re-written on the card. You find a single-step instructions for this: Set up. Begin there in step 1

In step 3, you should wait patiently until the Open Roberta main menu appears on the EV3.


On average, we have 8 minutes as the empirical value for the operation. In individual cases, it sometimes takes a little longer. Here, then, you should be patient.


 The installation process was successful. When restarting the brick, it "hangs" while showing the leJOS logo without any text messages.

The reason for this problem is most likely the micro SD card. We have discovered, that the EV3 runs into trouble with some cards sized of 32 GB or larger (like TS32GUSDHC10E, Lexar, Samsung EVO 32 GB). We suggest to try another micro SD card for the Open Roberta firmware, which size is between 2 and 16 GB.

 After starting the EV3 with a micro SD card plugged in, the brick shows the Mindstorms logo with the text "Starting..." below. What can I do?

At first, please check if the problem persists after restarting the brick (remove the battery for a short time, put it back and start the EV3 again). If so, it may have two different causes:

  1. You are using an unofficial LEGO Firmware installed on your EV3 (for example the one which adds support for additional USB Wifi dongles and is compatible to the MINDSTORMS EV3 software)
    Solution: Check the version of the LEGO EV3 firmware. We have observed, that the unofficial LEGO EV3 software is not able to boot the micro SD card any more. Try to install the latest official LEGO MINDSTORMS EV3 firmware (flashing) on your EV3 by using the MINDSTORMS software. The newest version currently is 1.06H. Restart your EV3 afterwards and try again booting from the micro SD card.
  2. You are using a micro SD card with a size of 32 GB or more (for example Samsung EVO 32 GB).
    Solution: The EV3 system runs into trouble when using micro SD cards with a size of 32 GB or more. This can lead to several different errors when trying to start the EV3. We suggest you to try another micro SD card for the Open Roberta firmware, which size is between 2 and 16 GB, or reduce the primary partition to a size of maximum 16 GB (see the Reformatting the micro SD card page to learn how to do this).
 Is the EV3 firmware deleted after Open Roberta firmware is installed?

No, the robot detects the micro SD card. While starting it will run the system SD card firmware if the SD card is bootable. The official EV3 firmware and all the programs on it remain untouched. If you like to run the LEGO EV3 firmware again, you have to remove the micro SD card while the EV3 is powered off and start your robot again.

 Is it possible to run a program from Open Roberta Lab on the old LEGO NXT 2.0?

The current version of Open Roberta makes it possible to run programs also on the LEGO MINDSTORMS NXT.

 Which robot configuration is used in the standard program?

The standard configuration uses a predefined wheel diameter of 5.6 cm (wheels of the education set) and a track width of 17 cm. The diameter of the wheels in the retail set is 4.2 cm.

 »Turn ... degree« block does not work precisely. What is the reason and what can I do?

We have found some problems with the "turn right/left" block. We are using the basic LEGO EV3 robot.

When using the "turn"degree" block with speed 20, the robot turns accurately to any degree, but if we change the speed parameter to 50 the turn of the robot is not very accurate (the degrees of the turn change considerably).

The EV3robot is turning a different number of degrees with speed = 20 and with speed = 50. Is there any reason that explains that behavior?

The problem mentioned is indeed a problem, because the result is not as expected. To be honest, we cannot avoid this unless we make changes in the low level classes of lejos, the system that is used on the robot.

If the turn block with degree/rotation is used, internally there is a loop that is asking the motor encoders how far they already have rotated. When the given limit is exceeded the motor action stops and the loop is returning. When the motors are rotating slowly, everything is fine, but if they rotate fast, the degrees between two checks are increased. So maybe one check internally returns 359. This is below 360 so the next check is already 370! Then the motors stop, but if the speed is low maybe the next check is returning 360 instead of 370.

So currently we recommend to use slow speed parameters to receive more precise turnings.

In general real robots do behave "as they want to" because of the environment. Friction can cause also a lot of problems and the faster the robot is the more friction we have. With the encoders we cannot discover those influences.




 The school filtering software is blocking the Open Roberta USB connection. What to do?

Using the USB connection, the EV3 has the IP address 10.0.1.1. The computer gets an IP address from the EV3 (dhcp) in the range of 10.0.1.10 to 10.0.1.19 automatically. The USB Software is using the standard port 80 for the communication between both devices.

The lab.open-roberta.org server is also accessible on port 80or 443. If you setup a local installation of the Open Roberta server, you can freely choose the port on which the server should run. The default port is 1999.

 The Lab can not connect to my robot via USB.

It is possible that your local firewall blocks the connection between the Lab and the robot via USB. To fix this you have to open the ports 80 and 443 on your local firewall.

 USB connection to EV3

If it is not possible to establish a WiFi conntection to the EV3 you may connect the EV3 via USB cable.

It is well known that the current Windows versions (Win8 ... Win10) will signal problems with our open source drivers because they are not certified by Microsoft.

Our new installer is currently in beta state and can be downloaded from USB connection. Before installation you have to uninstall an older version.

When the connection programm is started the fist time it may take some time (1-2 minutes) until the button "connect" is activated.

 Connect an EV3 to a hidden WLAN (hidden SSID)

EV3 (leJOS 0.9.1)

The menu on the EV3 doesn’t support this function. To connect the EV3 to a hidden network, follow these steps:

  1. On Windows only: First, please follow the steps in the following instructions: USB-connection.
  2. Open a SSH connection to EV3. You can read about it in the following instruction: SSH connection to an EV3. (external page)
  3. Go to the directory (/lejos/config/)
  4. Open the file wpa_supplicant.conf with a text editor, or create it, if it does not exist.
  5. Now put the following text into the file:

    crt_interface=/var/run/wpa_supplicant 
    network={
     scan_ssid=1
     ssid=“Name of the network“
     key_mgmt=WPA-PSK
     PSK=“Passwort of the network“
    }
  6. After that, save the file and restart the robot. Your EV3 will automatically connected with the WLAN whenever it boots up now.


EV3 (leJOS 0.9.0)

The menu on the EV3 doesn’t support this function. To connect the EV3 to a hidden network, follow these steps:

  1. On Windows only: First, please follow the steps in the following instructions: USB-connection.
  2. Open a SSH connection to EV3. You can read about it in the following instruction: SSH connection to an EV3. (external page)
  3. Go to the directory (/home/root/lejos/bin/utils)
  4. Open the file wpa_supplicant.conf with a text editor, or create it, if it does not exist.
  5. Now put the following text into the file:

    ap_scan=2
    crt_interface=/var/run/wpa_supplicant
    network={
    	ssid="Name of the network"
    	key_mgmt=WPA-PSK
    	PSK="Passwort of the network"
    }
  6. After that, save the file and restart the robot. Your EV3 will automatically connected with the WLAN whenever it boots up now.


 Error message Sensor mode

This error is displayed on the EV3 screen and is caused by:

1. The sensor is connect to a different port than specified in the robot configuration EV3basis.
2. A different sensor port is used in the sensor block than specified in the robot configuration EV3basis.

 Connect EV3 to a WPA2 Enterprise (EAP).

The following tutorial explains how to connect an EV3 to WPA2-EAP. This is only possible with Lejos 0.9.0 (does not work with Lejos 0.9.1).

If you decide to use Lejos 0.9.0, you should consider the following restrictions:

  • If you change the moving speed from EV3, (for example in a loop) the robot will stop for a moment.
  • The ‘say’-block will not work at all.

The following steps are necessary to connect the EV3 to a WPA2 Enterprise WLAN:

  1. Windows only: First follow all steps in the USB connection instructions.
  2. Then make an SSH connection to the EV3. For example, how to do this is described in the following instructions SSH connection to an EV3.
  3. Go to the directory /home/root/lejos/bin/utils
  4. Open the file wpa_supplicant.conf with a text editor. If the file does not exist, create it.
  5. The following content must now be written into the file:

    crt _interface=/var/run/wpa_supplicantnetwork{
                    ssid=“NAME OF THE NETWORK“
                    key_mgmt=WPA-EAP
                    eap=PEAP
                    identity=“Login“
                    password=“YOUR password for Netzwek“
                    phase2=“auth=MSCHAPV2“
    }
    
  6. Save the file and restart the EV3. The EV3 should now automatically connect to the WLAN at startup.




 Updating the firmware on the EV3

Here you can learn how to manually update the firmware on the EV3 using LEGO Mindstorms-software.

In the first step you need the right software and firmware. You can find the software under:
https://go.api.education.lego.com/v1/lms-ev3_de-de_win32#nourlrewrite
You can find the firmware under: https://le-www-live-s.legocdn.com/downloads/LME-EV3/LME-EV3_Firmware_1.10E.bin

In the second step, install and run the software you downloaded on your computer. After starting, turn on your EV3 robot and connect it to your computer via USB cable (There should be no SD card in the EV3 block yet).

The program will automatically detect the robot.

To update the firmware, search the "Tools" menu in the upper left bar and select the "Update Firmware" option.

Now you see a new window. In the upper part of the window you can find the actual firmware version. Now select the option "Show details". The window will be extended by further settings.


You should now be able to find and install the new firmware that you have already downloaded.

  1. Press "Browse."
  2. go to the folder where the downloaded firmware is stored and select it.


In the last step press "Update Firmware" and wait a few minutes until LEGO Mindstorms program is finished.

C4EV3


 I can't transfer my program to the robot. The transfer is always interrupted.

You can only transfer a program to your EV3 if no other program is running on the EV3. This means you have to quit all programs before you can transfer a new one. This also includes built-in functions such as motor control.

 My robot can't speak, even though it's in the program.
This is most likely due to the fact that your robot is missing the voice files. If you can fix this problem, we have written it down for you here.
 My robot does not connect to another robot while the program is running.

While your robot is running a program, it cannot connect to a new robot. This connection must be established before you start the program. How to establish a connection between two EV3s is described here.



 Nach Programmstart schaltet sich das Display aus. Neue Programme lassen sich weiterhin starten. Herunterfahren allerdings nicht möglich.


micro:bit



 Probleme beim Übertragen des Programmes. Obwohl das Kopieren der .hex-Datei die angehangenen Dateien auf dem micro:bit generiert.

LEGO MINDSTORMS NXT



 Is it possible to run a program from Open Roberta Lab on the old LEGO NXT 2.0?

The current version of Open Roberta makes it possible to run programs also on the LEGO MINDSTORMS NXT.



 USB-Connection with NXT

The USB connection to the NXT requires the installation of the current Open Roberta Connector version on the PC, as described here:


Before installing the current version, any existing older program version must be uninstalled from the PC:

Control Panel -> Uninstall programs -> Mark OpenRobertaEV3 or similar and uninstall with "Uninstall/Change".

Note: The data will not be saved permanently in this preliminary version. To save programs please use the export function and import them later into the official application.


NAO



 NAO does not execute the programmed movement.

If you control individual joints of the NAO to program movements, but the specified movement (in degrees) is outside the value range, the NAO cannot physically reach this position. It will not execute the movement in the first place.

The value range always depends on the respective joint.

WeDo



 How can I program the WeDo?

LEGO WeDo 2.0 can only be connected to the Open Roberta Lab via the Roberta Mobile App, which can be downloaded from the Apple App Store and Android Play Store. This is used to connect to WeDo 2.0 via Bluetooth. Bluetooth 4.0 is required on the device. We recommend a tablet as the end device.

mBot



 My mBot is not recognized by Windows, I cannot connect to it.

This is probably due to the fact that Windows does not yet have drivers for the mBot. You can easily check this by going into the device manager and checking under "USB devices" if there is a device with the name "USB2.0 Serial Device". If this is the case, you can simply follow the instructions below to fix the problem.

  1. If you have installed the Arduino IDE, go directly to step 2, otherwise install the Arduino IDE with all drivers. You can find the Arduino IDE here.
  2. Now right-click on the "USB2.0 Serial Device«.
  3. Go to "Properties" and then to "Drivers".
  4. Now press "Update driver" and then "Select driver manually".
  5. You will be asked if you have a driver file or want to select one from the list of available drivers. Click on the list of available drivers.
  6. Now you navigate to the "Adafruit Circuit Playground". This can be found under "COM & LPT" - "Adafruit Industries".
  7. Now double-click on this driver and confirm your selection.
  8. Your driver has now been updated and your computer should now recognize the mBot.
  9. You can continue with the setup as described here.
 I cannot transfer my programs to my mBot.

If you have connected your mBot to your computer, but your program is not transferred, this is most likely due to a missing driver. Without this special driver, your computer cannot communicate with the mBot and cannot transfer a program. To fix this problem, you will need to manually install the driver. The driver you need is a driver for a CH340G microcontroller. You can either search for this name or follow this link.

Once you have installed this driver, you need to restart your computer and reconnect to your mBot. Now your computer can communicate with your mBot and transfer your programs.

If this still does not work, there are a number of other things you can try. Since these are sometimes quite comprehensive, we have collected a list of forum entries here:

  • No labels