0% found this document useful (0 votes)
51 views28 pages

Micro Bit

The Micro Bit is a small, credit card-sized computing device designed by the BBC to encourage computer programming education among kids aged 7-11 in the UK. It features an ARM processor, sensors, LED display, buttons, Bluetooth and USB connectivity. It is programmed using block-based or text-based editors like Microsoft MakeCode or MicroPython. Example programs include flashing LEDs, reading sensor inputs, generating sounds, and simple games. The Micro Bit is intended to make computer programming approachable and fun for kids.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views28 pages

Micro Bit

The Micro Bit is a small, credit card-sized computing device designed by the BBC to encourage computer programming education among kids aged 7-11 in the UK. It features an ARM processor, sensors, LED display, buttons, Bluetooth and USB connectivity. It is programmed using block-based or text-based editors like Microsoft MakeCode or MicroPython. Example programs include flashing LEDs, reading sensor inputs, generating sounds, and simple games. The Micro Bit is intended to make computer programming approachable and fun for kids.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28

MicroBit

Gabriel Anastasiu
CN Dragos Voda Campulung
Moldovenesc Romania
MicroBit
• The Micro Bit (also called the BBC Micro Bit,
stylized as micro:bit) is an integrated hardware
ARM-based system designed by the BBC for
use in computer education in the UK. It was
first announced at the launch of the BBC's
Make It Digital campaign on 12 March 2015
with the intention of delivering 1 million
devices to UK schoolchildren.
• The device is described as half the size of a
credit card and features an ARM Cortex-M0
processor, accelerometer and magnetometer
sensors, Bluetooth and USB connectivity, a 25-
LED display, two programmable buttons, and
can be powered by either USB or an external
battery pack. Device inputs and outputs are
via five ring connectors that are part of a
larger 25-pin edge connector.
• Micro Bit was designed to encourage kids to be actively involved in
writing computer software and building new things instead of being
media consumers. It has been designed to work alongside other
systems such as the Raspberry Pi, building on the BBC's legacy with
the BBC Micro for computing in education. The BBC intended to give
the computer free to 7-year-olds (11 and 12 years old) in the UK
from October 2015 (around 1 million devices). Ahead of the launch,
an online simulator was made available to help educators prepare,
and some teachers were due to receive the device in September
2015. The device was supposed to go on sale in late 2015. However,
issues delayed the launch until March 22, 2016.

• The BBC had a difficult decision to choose which school year group
would be the first to receive free Micro Bits, with the BBC's head of
learning saying that "The reason we dropped year seven [and not
year five] is that had more impact. with that age group ... they were
more interested in using it outside of the classroom"
MicroBit programming
• There are two official code editors on the micro:bit
foundation site:

• Microsoft MakeCode (formerly Microsoft PXT editor)


• MicroPython.
• Along with these two editors there are 3 editors that are no
longer updated:

• CodeKingdoms, using JavaScript;


• Microsoft Block Editor, based on Blockly;
• Microsoft TouchDevelop;
• The Python programming experience on the Micro Bit is
powered by MicroPython. Users are able to write Python
scripts in the Micro Bit web editor, which are then
combined with the MicroPython firmware and uploaded
to the device. Users can also access the MicroPython
REPL running directly on the device via the USB serial
connection, allowing them to interact directly with Micro
Bit peripherals.
• Micro Bit was created using the ARB mbed development
kits. The runtime and API use the mbed cloud compilation
service to compile user code. The compiled code is then
flashed to the device using USB or Bluetooth connections.
The device appears as a USB drive when connected to a
computer, and code can be flashed using drag and drop
Utilizarea Micro Bit
• Se conecteaza modulul Micro Bit la un computer
utilizand cablul microUsb disponibil in kit.
Conectarea se poate face si dupa un dispozitiv cu
Android utilizand conexiunea Bluetooth
• Se acceseaz www.microbit.org sectiunea Let’s Code
• Se creeaza primul program in interfata de lucru
• Se descarca programul utilizand sectiunea
Download si se incarca in modul

• In the following we will make some examples that will help us better
understand how MicroBit works!
• We will start with the basic functions found in the main menu.
• BASIC where we will find the basic functions
• INPUT here we will find input functions that allow the use of sensors
on the MicroBit board or external sensors and devices
• MUSIC the functions contained in this menu allow the use of the
MicroBit to generate sounds or even songs
• LED control functions for light display devices
• RADIO contains a set of functions for using Microbit in applications
that require data transmission via radio waves
• LOOPS loop functions for use in some applications
• LOGIC logical type functions
• VARIABLES here we can create new various functions for personalized
applications, for example the TEMPERATURE function which is
necessary in temperature measurement
https://makecode.microbit.org/#editor
Sound generator
Examples of variables
• Temperature measurement using the onboard sensor
Connecting an LED to Microbit
Python example
from microbit import *
while True:
if button_a.was_pressed(): pin0.write_digital(1)
elif button_b.was_pressed:pin0.write_digital(0)
sleep(20)
2 LEDs flashing
Temperature measurement using the onboard sensor
Game: Truth or Dare
Step tracker code
THANK YOU

You might also like