Producing and Implementing
The Micro:Bit:
The micro:bit is a pocket sized computer. Although it seems simple, there are two programmable buttons that can be used to control games or pause and skip songs on a playlist. It has an accelerometer so it can detect motion and knows when you're on the move. The built-in compass knows which direction you're heading in and it can use a low energy Bluetooth connection to interact with other devices and the Internet.
Producing and Implementing
Definition of terms-
Bluetooth
Bluetooth is a wireless technology standard used for exchanging data between mobile devices within a short-range distance.Bluetooth can work with mobile phones, computers and other electronic devices.
CPU
CPU also known as a central processing unit is the electronic circuitry within a computer that executes instructions that make up a computer program.
Micro USB
Micro USB is a miniaturised version of the USB- (Universal Serial Bus). Micro USB are developed for connecting compact and mobile devices such as phones.
Accelerometer
An Accelerometer is an instrument used to measure proper acceleration. It is the acceleration of a moving or vibrating body in its own instantaneous rest frame.
RAM
RAM also known as Random-access memory is a form of computer memory that's purpose is to read and it can be changed in any order.
LED
LED also known as light emitting diode is a semiconductor light source. The LED provides light when the currents flow through it.
Digital
Digital- is the use of numbers and the term comes from the digits used. Numbers and letters are commonly used as representations.
Analogue
Analogue- is relating to or using signals or information represented by a continuously variable physical quantity. I
Producing and Implementing
Step 1 to the Micro:Bit
To start step 1 I started out by getting my micro:bit and working out which one I will be working with for my assessment. I then set it up and plugged it into the computer I was using. Plugging it into the computer syncs the micro:bit to do what I have coded on the computer.
Producing and Implementing
Step 2 to the Micro:bit
For step 2 I had to write my first micro:bit code. I had to put the code blocks into the Simulator which is in the Javascript Blocks Editor. I tested this code virtually on this site.
The picture above was the first code I wrote. It is a dice. When you press the start button it will give you a random number from 1-6-like on a normal dice.
Producing and Implementing
Step 3 to the Micro:bit
To start step 2 of my Micro:Bit: i downloaded my finished code of the dice. I downloaded the code as a hex file which is a compact format of my program that the micro:bit reads. Once this was done I copied it to my micro:bit which prepares it to work.
Producing and Implementing
Step 4 to the Micro:bit
To start step 4 I needed to get it to play. I started by pressing the play button. As soon as I pressed play and then shake-(to shake the dice) my micro:bit: gave me a random number. I did this multiple time to make sure it worked which it did.
Producing and Implementing
Introduction to coding exercise:
These are some small exercise which introduced me to coding. I find little exercises like these really helpful for me to get used to coding on the micro:bit:
Producing and Implementing
Activity-Introduction to coding:
This is my activity to practice coding. It displays my name letter by letter when I press the start button.
Producing and Implementing
Scrolling Name- Using Strings- Activity
In this activity I had to choose out of 3 options of which one would display my name when I pressed the start button. I chose this one because I experimented with all potions and this is the one that worked.
Producing and Implementing
Scrolling Name- Using Strings- Activity
In this activity I had to also choose out of 3 options of which one would display another message of my choice when I pressed the on button A. I chose this one because of the 3 choices this one was the only one that worked.
Producing and Implementing
Compatibility Tester – Variables/Data Types
This is another practice activity that I did. I was given instructions from the Fitness Tracker workbook. I did this code on the make code micro:bit: code website.
Producing and Implementing
Compatibility Tester – Variables and Data Types- Question
This is another activity I did. I had to copy a code exactly from the work booklet and then work out what each component/feature does. To do this I had to individually evaluate each feature and then combine them and play the code on the micro:bit.