The micro:bit extension for scratch allows you to connect wirelessly with the micro:bit. There are a couple of steps to set this up and then you can use the blocks in all sorts of programs.
Ensure your device is capable of running the Scratch app: Windows 10 1709+, macOS 10.13+ , Chrome OS or Android 6.0+
For Windows and Mac OS you will also need to be running Bluetooth 4.0 and you will need to be online for Scratch Link to connect
- Click the menu.
- Select About This Mac.
- Click on the More Info... button.
- Click on the System Report... button.
- Select Bluetooth from the sidebar on the left, underneath "Hardware."
- Scan down the list of information until you find "LMP Version."
If your Mac is equipped with Bluetooth 4.0, LMP Version will say 0x6. Anything lower than that is an older version of Bluetooth.
- Right-click the Start button to open its context menu. Select the item called Device Manager.
- In Device Manager, expand the Bluetooth node.
- If your PC supports Bluetooth 4.0, you will see the item named Bluetooth LE Enumerator
2. Download and unzip the micro:bit Scratch Hex file.
3. Flash the micro:bit over USB with the Scratch .Hex File, you will see the five-character name of the micro:bit scroll across the screen eg 'zutiz'.
4. Connect to the micro:bit in the Scratch editor or app
Here's a demonstration of how to do this
Once you're set-up, you can then try out these Scratch cards for micro:bit
If you find that your micro:bit appears to be paired with your computer but is not showing up on scratch, it may be due to the computer attempting to use a previous pairing request.
One thing you could try is to remove any previous pairings you have on the computer. Each time the micro:bit is programmed via USB it erases any previous information on pairing. However, the computer often remembers previous parings to micro:bits and tries to re-establish them. As such you will need to initiate a fresh pairing each time.
If you are using a proxy server within a school environment, you may need to exclude the scratch link URL and port from using the proxy
This is set on the client and not the firewall or proxy.
How to set up an exclusion depends on how the machine's proxy settings have been configured in the first place. This is often done through Windows Group Policy, but may instead be done through a WPAD or PAC file or configured manually on each workstation. (Source: Opendium)
Other ways to interact with Scratch and micro:bit
Scratch to micro:bit bridge
You can use the scratch to micro:bit bridge, developed by MrYslab:
You can use the S2Bot App plug-in with Scratch, which allows any compatible BLE controller to interact directly with Scratch project: