2.3 Microbit Coding - Light Sensors 

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

  1. Make Code Editor Tutorial
  2. OneNote ClassNotebook

What were the key points from the video?

  • Monsters are silly!
  • Conductors allow electricity to flow through them
  • Insulators do not allow electricity to flow through them
  • Semiconductors allow some electricity to flow.
  • An LED is made of two different materials (Semiconductors).  When you shine a light on them, the materials change slightly.  This change can be measured.
  • You can use LEDs as a crude light sensor.  

Can I build a program to take a reading?

Test the program here.

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 light reading - a number between 0-255.

Now build the program with your partner.

Plenary

Which of these sensors do you have in your home?

What are they used for?

Learning Intentions

Can I build a program to take a reading?

Success Criteria

I can think about hardware  and components (LEDs)

I know materials have different properties.  (Conductors / Insulators)

I can create a variable

I can create a sensing program

I can test and debug my program

I can share my learning