Arduino Robot Video 2. LOGO and Remote control your RobotFollow article
In this video you will see where to find code examples on the IDE. The Robot library comes with two folders named “learn” and “explore” with examples on how to use the software to program the top board – this is the board you will mainly interact with while the motor board runs its original firmware.
One of the first examples of coding on the Arduino Robot is called “LOGO” which is very similar to early programming language. This time however, instead of having a small virtual turtle running on a screen, we have a Robot that can respond to commands demonstrating a basic example of movement.
“LOGO” invites users to interact with the Robot using the keypad to tell the Robot whether to move forwards/backwards or to turn left/right. The program can store a series of commands that will then be executed one by one.
Xun and David show users where to find the example and how to upload it to the Robot's control board. You will notice that the Robot's motors are disengaged when the USB cable is connected. The Arduino Robot is very powerful so this is a feature which prevents it running away” with your laptop!
All the motors are different, and therefore users will have to configure the Robot's movement using a different example called “Calibration”. Using a screwdriver on the trimmer on the bottom board, it is possible to balance the strength applied by each one of the wheels so that the Robot moves straight when asked to. The video closes with an example of how to use a simple IR-receiver connected to one of the sensor inputs on the Robot to control it using a small universal TV-remote. This program is also part of the basic list of examples in the library.
The following video will show different way to detect distance to objects in the room.
Make sure to subscribe to the next video tutorial by the Arduino team below.