top of page

Make a Light Meter With Your micro:bit

Program your micro:bit so you can use it to sense light. Every computer processor is equipped with a light sensing device.  You can utilize the micro:bit's light sensor to measure the amount of light in the surrounding environment

Light meter sun.png
New project.png

1 - Start a new project in MakeCode

Go to "" to start a new project by clicking the new project icon above. Click the purple plus box labeled "New Project" to begin.

2 - Make your micro:bit light up. 

Program your micro:bit to light up its LEDs on start. LEDs are the lights on the front of the micro:bit. Get creative and make any pattern in the block below.

Show LEDs.png
Need Help_ Heres a Tip.png

3 - Show the light level.

Program your micro:bit to display the amount of light it receives from your environment. Use the forever block so that you can see the reading scroll continuously across the screen. Try these blocks: 

Screen Shot 2019-07-08 at 3.11.08 PM.png
Screen Shot 2019-07-08 at 3.13.06 PM.png
Need Help_ Heres a Tip.png

Hooray! You Did It!

You made a light meter!

If you need help, click me to see the finished product!

Pick Me.png
bottom of page