2.2 Microbit Coding - Level Sensors  

To complete this tasks you will want two additional tabs open:

  1. Make Code Editor Tutorial
  2. OneNote ClassNotebook

What can we measure with digital tools?

There are many types of digital sensor.  The Microbit has the ability to measure all of these 

  • Sound
  • Light
  • Temperature
  • Motion - orientation
  • Location (Magnetism)
  • Radio Signals  

Spend some time looking at this program and try to decide what it does.   How does it work?  Ask your partner what they think.

Completed Program

What is a variable?

Variables are used in computer programming to store specific values within a program

 For example, the variable in this program is the x and y readings - Acceleration of X and Y.  

Meaning anything >32 (greater than 32) is not level.

Now build the program with your partner.

Good design is all about inclusivity and accessibility while ensuring the tool is reliable and fit for purpose.

Can you think of ways to make this tool more inclusive?

How would you innovate this tool for someone who is blind or with poor vision?


Plenary

How could you adapt (the purpose of) our program to work with these types of sensors?

Learning Intentions

Can I build a program to take a reading?

Success Criteria

I can create a variable

I can create a sensing program

I can test and debug my program

I can share my learning