- 乐高机器人:EV3与Scratch机器人基础与应用实例
- 林文编著
- 767字
- 2025-02-17 22:44:16
5.3 Scratch 3.0连接EV3
5.3.1 下载 Scratch Link
Scratch Link下载页面:https://scratch·mit·edu/ev3


解压缩windows.zip文件

解压缩的ScratchLinkSetup.msi安装文件
5.3.2 安装 Scratch Link
解压缩的ScratchLinkSetup·msi安装文件如下。


运行ScratchLinkSetup·msi安装文件,直接单击“Next”按钮,安装Scratch Link。

Scratch Link会很快完成安装,最后单击“Finish”按钮完成安装。

在开始菜单中找到Scratch Link图标,并双击。

您会在系统任务栏右下角看到Scratch Link的任务栏图标。

使用鼠标右键单击任务栏上的Scratch Link图标,可以查看Scratch Link的版本。单击Exit可以退出Scratch Link。
5.3.3 软件下载网址
软件下载网址如下:


安装Scratch桌面编辑器后,无须联网即可编辑项目。该版本支持Windows和macOS。

Scratch 3·0已翻译成40种以上的语言,在超过150个国家中使用。
直接运行下载好的Scratch Desktop Setup 3·6·0·exe文件。
Scratch 3·0会提示您选择默认(所有用户),安装到你的电脑上。

5.3.4 Scratch连接EV3
Scratch 3·0连接乐高EV3程序块。


Scratch 3.0的下载网址是:https://scratch.mit.edu/download
Scratch 3.0的详细教程可以查看《乐高机器人——Scratch与WeDo编程基础实战应用》
5.3.5 Scratch扩展EV3

打开Scratch 3.0左下角的“添加扩展”。

找到EV3的扩展图标,单击EV3扩展图标,把EV3加入到Scratch 3.0的编程模块里。


Scratch 3.0可以单独连接乐高WeDo 2.0,EV3,BOOST。
Scratch 3.0也可以同时连接乐高WeDo 2.0,EV3,BOOST。
让乐高WeDo 2.0,EV3,BOOST实现相互控制。
5.3.6 Scratch连接界面

单击黄色的感叹号,连接EV3。

在EV3连接列表里找到EV3程序块名字。
单击“连接”按钮,进入连接页面。
如果没有找到EV3程序块名字,可以刷新页面。

EV3的连接是很容易出现错误的。
尝试多连接几次。可以先在“蓝牙”
里配对好需要连接的EV3程序块。

尝试多次连接后,在EV3程序块中确认输入识别码:1234。不要更改识别码(PIN)。

当EV3程序块成功连接上Scratch 3·0,会显示“断开连接”和“返回编辑器”。

返回编辑器后,EV3模块的右上角
会显示绿色的(勾),连接成功。
5.3.7 蓝牙设置
如果连接不成功,可能是因为EV3和Windows 10系统的蓝牙没有配对好。

进入系统的设置>设备>蓝牙和其他设备选项,开启系统蓝牙,并配对好。

进入EV3程序块的设置页面,在蓝牙设置里开启蓝牙。