Logo and Remote control your Arduino Robot – Video tutorial
RS Components released the second video focused on the first steps with the Arduino Robot with Massimo Banzi, David Cuartielles and Xun Yang:
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 an early educational programming language that controlled a virtual turtle moving across the screen with simple instructions. 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 at a time.
Xun and David show users where to find the LOGO 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 can be pretty powerful and this feature prevents it from running away with your laptop!
Since all motors are slightly different, 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.
Go and run with the first Arduino on wheels!
Leave a Reply
You must be logged in with your Arduino account to post a comment.