Topic outline
ACTIVITY DESCRIPTION
The activity is about to program the mBots so they can play petanque among themselves.
This activity will be a competition between two or more teams. Each team will control the robot with the remote control.
The ball will be thrown without exceeding a throwing line (placed on the floor). The direction and speed of the ball can be chosen.
The idea is that the ball must be left as close as possible to the small ball. The big ball may be also used to push away the balls from the opposite team. The team which brings its balls the closest to the small ball, wins.
In order to let each robot to carry its point count, other keys will be programmed.
The code will be recorded on the Arduino board, so that the development of the game will not depend on the use of a laptop.
FIRST VERSION
The work of the students consists of learning to program the remote control of the robot and record the programs that are developed on the Arduino board of the robot. To be able to play the game petanque with the mBot, they will have to plan which keys they want to program and with what function (movement, speed, counter, light and sound effects).
SECOND VERSION
The second option of pushing the ball is to use servomotor. We can use remote control to run with mBot (arrows) and move servomotor.
ACTIVITY RESOURCES
Folder: 1File: 1