This article has links to websites or programs outside of Scratch and Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites. |
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
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 :: #55a640 turn motors on :: #55a640 turn motors off :: #55a640 set Robot direction [forward v] :: #55a640 turn motors on for (10) steps :: #55a640 reset trip meters :: #55a640 turn cw (15) degrees :: #55a640 turn @turnLeft (15) degrees :: #55a640 set motors power (100) % :: #55a640 set motors power L (100) R (100) % :: #55a640 L [forward v] R [forward v] set power L (100) R (100) :: #55a640 (Robot [sensor 1 v] :: #55a640) <Robot start button pressed? :: #55a640> turn Robot led in [position 1 v] on :: #55a640 turn Robot led in [position 1 v] off :: #55a640
Example Project
Here are some simple scripts for making the robot kit move around:
when [space v] key pressed turn motors off :: #55a640 stop [all v] when [up arrow v] key pressed set motors power (30) % :: #55a640 set Robot direction [forward v] :: #55a640 turn motors on for (1) secs :: #55a640 when [down arrow v] key pressed set motors power (30) % :: #55a640 set Robot direction [backwards v] :: #55a640 turn motors on for (1) secs :: #55a640 when [left arrow v] key pressed set motors power (30) % :: #55a640 set Robot direction [turn left v] :: #55a640 turn motors on for (1) secs :: #55a640 when [right arrow v] key pressed set motors power (30) % :: #55a640 set Robot direction [turn right v] :: #55a640 turn motors on for (1) secs :: #55a640 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] :: #55a640) > (50):: #8C3> set Robot direction [backwards v] :: #55a640 turn motors on for (10) steps :: #55a640
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 :: #989898 turn Lab led [0 v] off :: #989898 turn Lab [red v] led on :: #989898 turn Lab [red v] led off :: #989898 play note on lab [48 v] :: #989898 (Lab [light sensor v] :: #989898) <Lab button [1 v] pressed? :: #989898> (Lab pin [A1 v] :: #989898) <Lab pin [D8 v] :: #989898> set Lab pin [D2 v] [on v] :: #989898 set Lab pin [D2 v] PWM value (0) :: #989898