SandCastleIcon.png This article has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites.
The Robot Kit (left) and Lab (right).

Robbo, formerly known as ScratchDuino, is a Finnish-Russian company that works to improve the quality of STEM education. They focus on teaching Scratch and C+ through robotics. Specifically, they use their in-house line of robots.[1]

Robbo was showcased at the 2016 Scratch Conference, and has since hosted workshops for teachers and students alike.

Robotics

The Robbo Scratch app.

Robbo has packaged an offline version of Scratch 2.0 for use with their robotic kits. It supports both Mac and Linux, and it can be downloaded from the Robbo website. From now on, this program will be referred to as the "Robbo Scratch app".

In the Robbo Scratch app, two new block categories are added: Robot and Lab. The category names correspond with the robot which they are for. The operators category is also recolored to be a lighter green.

Two panels are also added to the Scratch UI, right below the stage. These panels show various input values from the Robot Kit or Lab.

Robot Kit

The robot kit is a robot that focuses more on output. The robot includes two wheels for moving around. It also includes one LED, 1 light sensor, 1 touch sensor, 1 proximity sensor, and 2 line sensors. Sensors are detachable and attach at one of five spots on the robot via magnetics.

The robot can be powered by microUSB or by a battery. It takes either a Krona battery or four AA batteries.

The robot can be controlled either via microUSB or via bluetooth.

Blocks

turn motors on for (1) secs :: #4A3
turn motors on :: #4A3
turn motors off :: #4A3
set Robot direction [forward v] :: #4A3
turn motors on for (10) steps :: #4A3
reset trip meters :: #4A3
turn cw (15) degrees :: #4A3
turn @turnLeft (15) degrees :: #4A3
set motors power (100) % :: #4A3
set motors power L (100) R (100) % :: #4A3
L [forward v] R [forward v] set power L (100) R (100) :: #4A3
(Robot [sensor 1 v] :: #4A3)
<Robot start button pressed? :: #4A3>
turn Robot led in [position 1 v] on :: #4A3
turn Robot led in [position 1 v] off :: #4A3

Example Project

Here are some simple scripts for making the robot kit move around:

when [space v] key pressed
turn motors off :: #4A3
stop [all v]

when [up arrow v] key pressed
set motors power (30) %  :: #4A3
set Robot direction [forward v]  :: #4A3
turn motors on for (1) secs  :: #4A3

when [down arrow v] key pressed
set motors power (30) %  :: #4A3
set Robot direction [backwards v]  :: #4A3
turn motors on for (1) secs  :: #4A3
when [left arrow v] key pressed
set motors power (30) %  :: #4A3
set Robot direction [turn left v]  :: #4A3
turn motors on for (1) secs  :: #4A3

when [right arrow v] key pressed
set motors power (30) %  :: #4A3
set Robot direction [turn right v]  :: #4A3
turn motors on for (1) secs  :: #4A3

when [a v] key pressed
...// This is an extra example script. Wait until sensor 1 reads a certain value, then go backwards.
wait until <(Robot [sensor 1 v] :: #4A3) > (50):: #8C3>
set Robot direction [backwards v]  :: #4A3
turn motors on for (10) steps :: #4A3

Lab

The lab is a robotics kits aimed at input. It includes a light sensor, microphone, speaker, many LED's, linear potentiometer, and several buttons.

Blocks

turn Lab led [0 v] on :: #888
turn Lab led [0 v] off :: #888
turn Lab [red v] led on :: #888
turn Lab [red v] led off :: #888
play note on lab [48 v] :: #888
(Lab [light sensor v] :: #888)
<Lab button [1 v] pressed? :: #888>
(Lab pin [A1 v] :: #888)
<Lab pin [D8 v] :: #888>
set Lab pin [D2 v] [on v] :: #888
set Lab pin [D2 v] PWM value (0) :: #888

External Links

See also

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.