Lessons 2 and 3 – Block Editor Challenges

Learning Objectives

  • Design programs using the Microsoft Block Editor language for the Microbit
  • Develop your problem solving abilities

Learning Outcomes

All must develop simple programs using the instructions on the BBC Microbit website.  Give a brief description of how each program works. (Level 3)

Most should develop a mixture of simple and intermediate programs using the instructions on the BBC Microbit website.  Be able to describe how the programs work and suggest possible improvements to each.  (Level 4)

Some could develop intermediate and maker programs using the instructions on the BBC Microbit website.  Use crocodile clips to connect Microbits to other devices.  Be able to describe how the programs work and carry out improvements to each. (Level 5)

Keywords

Words to learn: program, crocodile clips, Microbit, calibrate, compass

Click here to open the Microbit Block Editor

Starter

eightball

A Magic 8 ball is normally a ball you shake and it gives yes or no answers.  We can do the same thing with the Microbit!  Your teacher will go through how to make a Magic 8 Ball using the Block Editor and your Microbit.  You can also look here to find out how it is done.

Main 1 – Night Light

bulb

A night light is a dimmed light which allows you to see but isn’t so bright it keeps you awake. Using this link create a program that turns on all of the LEDs – when Button A is pressed the LEDs should dim.

Once you have completed the initial activity, try these challenges to further develop your night light program.

Main 2 – Love Meter

heart

We are going to develop a love meter using your Microbit!  The way it works is that you and the person you want to see if you’re in love with hold hands (awww).  With your other hand one of you holds on to the pin marked 0 and the other person holds onto the pin marked GND.  When you do this you form a circuit and the Microbit will give you a rating from 0 (not in love at all) to 10 (omg, when are you getting married?  LOL!).

Click here to open the exercise and give it a go.  You can then try the challenges to further improve your love meter.

Main 3 – Rock, Scissors, Paper

rock-paper-scissors

A common way of settling who goes first is to have a game of rock, scissors, paper.  But this is the 21st Century, let’s get our Microbit to do the difficult work of choosing one.  In this activity you will be able to shake the Microbit and it will choose a symbol that will represent rock, scissors or paper.

Click here to open the activity.  Once you’ve done that you can have a go at the challenges.

Main 4 – Temperature Gauge

hot

Phew, computing rooms get warm in the summer.  Fortunately the Microbit has a built in temperature sensor so we can read how warm it actually is!

Click here to open the activity.  Once you’ve done that you can have a go at the challenges.

Main 5 – Where am I?

COMPASS

If you tell which way is north, then normally you can use that to help you get home.  We can turn our Microbit into a useful compass to help you find your way home.

Click here to open the activity.  Once you have done that have a go at the challenges.

(Top tip – when you run the program the first time you may have to calibrate the compass.  Follow the instructions on the Microbit.)

Extension Work

Done all of the problems above?  Good stuff.  Have a look on the Microbit website and try some of the activities you’ve not had a go at yet!  You can have a go at the “maker” section if your teacher has some crocodile clip wires (and fruit…!)