Scratch is a simple programming environment designed for kids. Instead of typing lines of text, as you do with traditional coding, you drag colored blocks and join them together to build programs.

With Scratch, kids can manipulate variables, use operators, understand control flow, conditional statements and loops, detecting and responding to real-world input and simple multimedia programming, including drawing, animation and sound.

scratch for kids, robot for kids, robot para niños

How to use Scratch & Qbo

Connect via SSH or VNC from your desktop or laptop computer (recommended)

  1. Ip Address: 192.168.xx.xxxx
  2. Login: pi
  3. Password: raspberry

Once you’re connected to your network, run the “configQBO” program (right-click icon and select “Open”) from the desktop, then select the [Execute] option.

thecorpora

Select a “Language” (English or Spanish) and the “Start With” mode (Scratch).

For Scratch mode enter the “Wi-Fi IP address” (e.g. 192.168.0.178) assigned by your network.

thecorpora

Click [Exit]; then [Save]; then [Reboot]

When your robot reboots it will tell you if it is in Interactive or Scratch mode.

thecorpora

Open the following url in your browser:
http://scratchx.org/?url=http://qbo.local:8000/static/scratch/robot_control.js#scratch

Or (Only Windows)
http://scratchx.org/?url=http://qbo:8000/static/scratch/robot_control.js#scratch
Remember that you must be on the same LAN as the QBO robot.

Accept the “Warning” Scratch message & continue.

Note: You may have to reduce the browser’s zoom setting to see the entire message.

thecorpora

Open a project (click “File” then “Load Project”) and select the “Demo Example Project”).

thecorpora

Change the “Wi-Fi IP address” (e.g. 192.168.0.178) assigned by your network. Then [Save] the project to retain the IP address.

thecorpora

Click the Green Flag and then press the keyboard trigger key shown in the Stack Block to try a function. Enjoy testing your new Q.bo One robot.

If you want to know what’s happening when you are running Scratch you can enter “Developer Mode”.

thecorpora

Now you can see all modules running in real time.

thecorpora

Have Fun!!!