To program Robobo from ScratchX, it is necessary to follow the steps explained in the initial configuration page. The current page simply shows the different options the app has, but its use to program Robobo is not explained here.
The Robobo app can be downloaded from Google Play. It is important to read the app considerations that appear on this page to ensure that the smartphone you wish to use with Robobo is compatible. Once downloaded and installed, the following main screen appears when you start the application:
It shows, in the upper part, the device IP (smartphone) in the WI-FI to which it is connected (review the steps explained in the initial configuration page) and that it should be used in ScratchX to connect with the computer. In the central area of the screen we can see the Robobo base selection box, which shows a larger or smaller list depending on how many different bases we have connected to the Smartphone before (for the first time, only one Robobo base should be present in the list).
In the lower part we can see the action buttons:
This screen represents the programming mode, that is, it will be present while are programming with ScratchX. If we press the back button of the smartphone, we will return to the initial screen.
Pressing now the SETUP button, it takes us to the following options screen:
The options that can be selected are the following:
Each of these options is explained in more detail in the following sections.
It allows to select the language that Robobo will use in the voice production blocks (this option does not change the language of the app menus):
It allows to calibrate the colors detected by the ScratchX color blocks.
The color calibration is very important for the color blocks to work correctly, since there is a very large influence of the ambient light level on the color values. When clicking on this option, a screen opens showing us the image captured by the front camera of the smartphone with a white circular area in the middle:
We must select between one of the four colors to calibrate (red, green, blue or customized), fit in the circular area the object of the color to be calibrated, and click on calibrate. This will mean that, until a new calibration is made, the application takes that color reference as the value to be detected. The custom value can be used to add a different color of red, green and blue in the programming.
By clicking on show preview, we can see the color that has been stored as reference for calibration. It is important that this preview shows as much of the object as possible. If we click on save, the new calibration is established.
On the Robobo wiki page, we have added a small tutorial about how to calibrate the camera colors in a more robust way:
This option runs the Robobo presentation tutorial that comes out the first time we start the application. It is recommended the execution of this tutorial with Robobo on the ground, since it will move to show some of its capabilities. You can exit the tutorial at any time by pressing the back button of the smartphone, which will return the application to the main menu.
It enters firmware update mode. To update the Robobo base firmware, you must follow the indications shown in the different screens of this tutorial.
In the first screen, ‘STEP 1’, you must connect the Robobo base to the power supply (it can be connected to a USB port in a laptop or desktop computer, but it is preferable to connect it to an electric outlet). Once it is plugged, then press the NEXT button.
A second screen appears, ‘STEP 2’, and you must turn off and on the Robobo base, without unplugging the power cord. The Robobo base will enter in firmware update mode, which is indicated by a flashing of the left rear LED of the base.
The application will remain paused until it detects that the base has been restarted in firmware update mode, and then it will show a screen similar to this one:
The following base’s firmware information will be displayed:
In case the base already has the latest firmware version, the update button will appear disabled, and you must cancel the update process by pressing the back button of the smartphone:
If a new firmware version is available, the UPDATE button will be activated and you can launch the update process by pressing such button, like for instance:
Once the update process is started, the status of the firmware update process will be indicated on the screen. It usually lasts a few minutes, and it is important that during this process you do not turn off the Robobo base, do not close the Robobo app, and do not move the smartphone away from the Robobo base. In any of those cases, the update could fail. If the process is successful, a screen similar to this will appear:
Once the update is completed correctly, the Robobo database will automatically restart with the latest firmware.
In case of a failure during the firmware update, either because the base has been turned off during the process, or there has been a connection problem between the smartphone and the base, the firmware of the base will be disabled, and therefore, the base will not be usable. In such case, the base will always start in ‘firmware update’ mode, indicating it by the flickering of the left rear LED. If so, it will be essential to carry out the firmware update process again from the beginning in order to correctly load a new firmware into the database. In these cases, the firmware update screen will indicate, as the current firmware version, the base version ‘0.0.0’. You must proceed to update firmware again by pressing the UPDATE button:
RESET CONFIGURATION VALUES
This option returns the language and camera calibration settings to default values. If a custom configuration of the camera has been made, with this restoration, that configuration will be lost and the default configuration will be returned.
In this option, you can view information about the licenses of the software libraries and music pieces used in the app as well as information about the copyright of the software.