PROJECT INFORMATION
|
|
INSTITUTION NAME |
Esebel srl – University of Perugia Spinoff Company |
ESTIMATED DURATION |
3 hours |
AGE OF KIDS ADRESSED |
14-15 |
MATERIALS |
|
TECHNOLOGY |
Arduino Robots and PCs with Arduino IDE installed. One PC for each student (or student group) and one Arduino Robot every 5-6 PCs. Not
|
Nº OF STUDENTS |
It depends from the available PCs and Robots. |
Nº OF STUDENTS/TEACHER |
A teacher without any other help can easily manage 1 robot. If the teacher is supported by an assistant able to manage the robot and its connection with the PC, 1 robot for each assistant can be added. |
Nº OF STUDENTS/RESOURCE |
1-3 students / PC. 5-6 PC / Robot |
CODING ACTIVITY GOAL
|
The main objective was a playful coding activity oriented to programming the Arduino Robot.
|
SPECIAL REQUIREMENTS |
||
Knowledge level |
Skills required |
|
Teacher |
Programming (basic-medium level) |
None |
Student |
None |
Basic skills on the PC use |
To take into account |
Programming skills on C language are preferable for the teacheres. |
PROJECT DESCRIPTION
Students learn how programming the Arduino Robot (see Fig.4). Arduino Robot is a full open source product; it is a robot running on two wheels, composed by two programmable boards and a set of sensors and actuators. During the project, students learned to recognize the main components of the robot and how to program them.
Students write simple programs that are executable by the Arduino Robot. The project can be implemented in one or more workshops. Workshops are interactive: students write their own code following the teacher’s instructions and compile it using the Arduino IDE; the executable code is uploaded on the robot and it is executed; students can try their own code on the robot. Students are provided by the program sketches and starting from them they are stimulated to change function parameters or command sequences in order to produce different programs resulting on different robot behaviors.
The project is designed for students with no prior experience with coding.
STEPS TO FOLLOW TO CARRY OUT THE ACTIVITY
At the first time, Arduino IDE must be installed on the PCs. It is available from the official web site of Arduino Project https://www.arduino.cc/
First of all, the structure of the robot (simply showing sensors and actuators on the boards) and the main functionality of the IDE should be presented. Then, some simple programs can be introduced.
The first activity we suggest, the “BeepSeries” program, is very simple. It allows students to learn the main components of an Arduino program and the use of the IDE. It is playing of pre-configured beeps on the robot’s speaker. The initial code of the program “BeepSeries” is shown in Fig.1. Starting from it, students wrote their own sequence in a sort of composition competition, also trying to recreate a given sequence.
The second activity is the “DisplayYourText” program. Students learn how displaying a text on the robot’s screen. The initial code of the program is shown in Fig.2. Starting from it, students have to design the screen display. They had to decide how to create different colors by means the RGB space and to manage the space on the little screen in order to create a simple (but nice) image with text characters.
The third activity is the “ProvaMotori” program. Students learn how move and turn the robot. The initial code of the program is shown in Fig.3. Starting from it, students wrote their own sequence of movements. Also a funny competition can be run: while a group propose a sequence of movements, the other groups have had to reproduce the same movements after seeing them only once.
LINKS RELATED TO THE PROJECT
Official web site of Arduino Project http://www.arduino.cc/