 Maybe you've been coding in Scratch for a little while and want to bring your code to the real world. Well, the BBC Micabit helps us do just that, and in this Micabit basics tutorial, I'll show you how to connect Micabit to Scratch using ScratchLink. And we'll go through some of the Micabit features that are available to us in Scratch. Coming up! Hello world, Serving Scratcher here, a teacher-surfer programmer bringing you the goodness of learning to code through video tutorials. If that sounds like something that you're into, consider hitting that subscribe button. You're going to need a Micabit for this tutorial, and if you're wondering how to get a BBC Micabit, then head on over to the BBC website and find Reseller. Or use the link in the description below to get yours, and you'll be supporting this channel. Alright, let's connect Micabit to Scratch. You haven't already, head across to this URL here, it's just the Scratch website, forward slash Micabit. The landing page here gives us a little bit of information about the Micabit that you can go and read. But more importantly for us, tell us what we need in order to connect Micabit to Scratch. Just going to scroll down. It should have already defaulted to the operating system that you're using. I'll be demonstrating this on the Mac operating system, but the steps are exactly the same for Windows. You're going to need to download Scratch Link, and Scratch Link allows you to connect and control devices in the real world. Once you've downloaded Scratch Link, just unzip it. Double-click the installer package to install it, and run through the sequence of steps. Find the Scratch Link application, and then open it. An icon should appear in your top toolbar. If you want to win those device, then it will appear down the bottom toolbar. You can all want to follow these next steps. First, connect your Micabit to your computer, and download this hex file. Once you've got the file, unzip it. And then step three, you need to drag and drop this hex file onto your Micabit. So you see here that Micabit is now at location. We can drag and drop that hex file onto it. It will tell us that the disk is not ejected properly. That's exactly what should happen. All right, we're just about ready to jump over into the Scratch Project Editor. Feel free to power your Micabit through the computer, or you can use the battery pack. Head on over to the Scratch Editor, and over in the category section, jump all the way down to the bottom to see this blue rectangle with the Scratch blocks, and an addition sign. Add extension is what we're looking for here. And then find the one that is the Micabit extension, and you will need to click that. It's going to look for your Micabit. Make sure that you've got Scratch Link open, and your Micabit is connected to a power source. Once you see your Micabit in the list, press connect. Cool. Our Micabit is now connected. Let's go to the editor. You'll see that we've got a new category here for Micabit, and this green check mark here signals that our Micabit is currently connected to Scratch. I'm now going to unplug the Micabit from its power source. Watch what happens. Okay, so we've lost our connection to our Micabit. We can press reconnect, and it's looking for devices. You'll see here in the Scratch Micabit blocks, we've got this orange circle with an exclamation mark, which signifies to us that our Micabit is not connected. To reconnect, we can press this orange circle. We reattach our Micabit to a power source. It should come back up in the list, and it does. Hit the connect, and we're good to go again. I'm just back over here at the Scratch Micabit page. We've got some troubleshooting here that you can go through if you're still encountering some issues. The most important piece of information here is that only one computer can be connected to a Micabit at a time. Shortly, I'm going to talk about the Micabit features for Scratch, but if you want to get your hands busy coding, I've got a card and hot pan caught in there that will get you into these blocks. I'm over here on the features page of the Micabit website. The Micabit has a whole heap of features, but we can only use some of these in Scratch. Which ones are they? I'll talk you through them now. The first is the 25 LEDs on the front of the Micabit. You can see here this flashing heart animation. We've got the ability to individually manipulate each of those LEDs. We've also got access to two programmable buttons that users can interact with. You can press them down at the same time. In Scratch, we can detect when these three pins have been connected to. We also have access to this accelerometer, and this essentially detects motion with the Micabit. We've got the ability to measure some shake, some tilt, and some motion. At the time of the recording this video, we can't access the light sensor, the temperature sensor, the compass, radio, or Bluetooth via Scratch at this stage. I could well change the stay in the loop on the Scratch website. If you want to explore these other features of the Micabit, head on over to the Matecode website. And I've also got a card in the top corner that will put you onto some Maker Tutorials. Alright, time for a Scratchy question, and I want to know how did you find out about the Micabit? Drop your answer in the comment section below. Thanks for checking out this Micabit tutorial. Like, subscribe, ring the bell if you're new around here, and have a scout of some of my other content on your stream right now. Show your support for this channel by checking out exclusive content on my Patreon page, my funky red bubble teas, or by joining the mailing list. All links below in the description. But until then, I'm off to go find a way. I'll catch you in the next one.