Introduction to Embedded Programming (Micro:bit) (Week 6)

Introduction

The micro:bit is a tiny computer that makes coding tang-able and promotes digital creativity. You can create a program to tell it what to do using “Make-code editor” or “Python. We are going to start with the basics which is “Make-code editor”. Next you download the software to your computer as a hex.file which is a version of software which your micro bit can use.

Connect your micro:bit

Plug the micro USB cable into the USB socket on top of the micro:bit. Next connect the other end of the cable into your computer. This means you can transfer the code from your computer to your micro:bit.

34res

 

 

How to find your micro:bit and upload the hex.file.

Your micro:bit should turn up on ur desktop just like a hard drive. When you are finished with your coding and download the code it should be in your downloads (the hex.file). Next you should drag your hex.file into the micro:bit drive. This should upload your micro:bit straight to your micro:bit and the program should begin automatically depending on what code you uploaded.

The video below shows how to upload the hex.file.

The video below shows a “Die” program that i uploaded to my micro:bit. When you shake your micro:bit it will generate a random number between 1-6.

Tips:

  • Your micro:bit is only pretending to be a USB drive so you cant store stuff on it.
  • You can attach a battery pack to your micro:bit to allow it to run without the computer.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Print Friendly, PDF & Email
Written by:

Be First to Comment

Leave a Reply

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