Difference between revisions of "12 S2m Scratch2"

From Banana Pi Wiki
Jump to: navigation, search
(Install Scratch on Linux)
(Install Scratch on Linux)
Line 54: Line 54:
 
==Install Scratch on Linux==
 
==Install Scratch on Linux==
  
Prerequisite for software preparation ,Confirm python3 and pip3 installed, and then type the command shell box pip3 install git+https://github.com/junhuanchen/s2m, confirm for the installation is complete.
+
Prerequisite for software preparation ,Confirm python3 and pip3 installed, and then type the command shell box  
 +
 
 +
pip3 install git+https://github.com/junhuanchen/s2m  
 +
 
 +
confirm for the installation is complete.

Revision as of 02:00, 20 February 2019

BPI:bit Scratch2 support

about Scratch2

In order to help you understand computer language more quickly and let children make their own works, experts from MIT's multimedia lab developed a computer language for children --Scratch. In Scratch, there is no need to memorize complex syntax and statements. Scratch is similar to building blocks, and programs can be written by dragging and dropping. Therefore, Scratch looks more visual, intuitive and easy to operate. Students can easily make their own works!

Scratch2 1.png

BPI:bit for Scratch2

Here's how Scratch2 works on Linux ARM hardware running on Bananapi M64,and development for BPI:bit

Bpibit s2m.gif

Hardware prerequisite

Learn how to burn image first, take a look, and then burn this firmware: s2mb_firmware.bin.

Note: that we can change the name to firmware.bin, otherwise the hardware will not be recognized.

There is no need to unplug the hardware after the burn. The hardware is now ready to complete.

Install Scratch2

Install Scratch2 on Windows system

To access the Scratch 2.0 editor, install Adobe AIR first and then Scratch Offline editor.

Install (1).png

then open the s2m-bpi-bit.sb2 file with Scratch2

Open project.png

Now you can see more blocks:

More .png

The red dot indicates that the device is not connected. At this point, it is necessary to download the s2m-windows.exe software of the s2mb release page.

At this point to determine the firmware has been burning provide s2mb_firmware. Bin firmware, specific burning tutorial : Learn how to burn image firs

Make sure it works:

Now open s2m-windows.exe and you will see that the green light has been turned on. Start using it.

Running scratch.png

If you don't insert the hardware, it will prompt you.

Scratch error (1).png

Install Scratch on Linux

Prerequisite for software preparation ,Confirm python3 and pip3 installed, and then type the command shell box

pip3 install git+https://github.com/junhuanchen/s2m 

confirm for the installation is complete.