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 Scratch Link: Windows 10 version 1709+, macOS 10.13+, Bluetooth 4.0.To check your Bluetooth version:
- 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
1. Install Scratch Link
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'.
3. Connect to the micro:bit in the Scratch editor
Here's a demonstration of how to do this
Once you're set up, ou 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 Scratch link in a school environment, you may need to enable this URL and port within your Firewall
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: