Starting New Project Microbit

Starting New Project Microbit

To start your first project on MakeCode for micro:bit, follow these steps:

1. Open MakeCode for micro:bit

  • Please open the site https://makecode.microbit.org/ using your favorite web browser such as Google Chrome, Microsoft Edge, Opera, Mozilla Firefox and many others.
  • After the site opens, it will display a page like the image below

2. Create New Project

  • After the makecode page appears, the next step is to click the “New Project” button,
  • and a dialog will appear in which it gives commands to create a project name. for example like First Project or something else
  • if so, the next step is to click the Create button

3. Display Project and Create Block Code

  • After creating a new project, we will be directed to a page like the image above, where this page is divided into several sections such as the left side there is Microbit Control board information.
  • and in the middle there is a Function Block code that we can later run.
  • and on the right side there is an arrangement of Code Blocks that we will arrange which can later be executed by the Microbit Control Board.

4. Create a Simple Project

  • in the first project, we will display an F-shaped LED light, it’s quite easy, try to follow the steps below
  • in the block section in the center, please click the “BASIC” category which will display blocks such as “Show Number”, “Show Led”, “Show Icon” and many others
  • we select “SHOW LED” and do drag and drop, then insert the block in the “on Start” or “Forever” section
  • then, please shape the letter F on the Show Led to form as shown below

5. Testing Project on Simulator

  • after finishing making the letter F, the next step is to click the “Start The Simulator” button in the form of a green triangle.
  • and wait a few moments for the Microbit Circuit Board to display the results of the LED we made, and yes the results can be seen in the image below
  • Good Jobs, our first project has been successful and there are no errors.

Download and upload to your micro:bit

for this part we need a physical Microbit Board, but if we don’t have one, we can still learn but run it only through the Simulator. if you already have a physical Microbit Board, please follow the steps below

  • Once you’re happy with your code, click the “Download” button at the bottom of the screen.
  • A .hex file will be downloaded. Drag and drop this file onto the micro:bit device connected to your computer (it will appear as a USB drive).
  • The micro:bit will reboot, and you should see your project running on the actual device.

    That’s it! You’ve successfully created and uploaded your first micro:bit project. and we will try microbit with other projects.

    Comments

    No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *