2
2
Meet the Micro:bits
Coding is easy and fun when students meet the micro:bits. Learn to write and download code, so you are ready to create your own scientific tools!
Meet the Micro:bits
Coding is easy and fun when students meet the micro:bits. Learn to write and download code, so you are ready to create your own scientific tools!
Student Edition
(English/Spanish)
Student Edition
(English/Spanish)
Student Edition
(English/Spanish)
California Wildfires
Make a Remote Light Sensor With Your micro:bit
Program your micro:bit so that you can use it to sense light and send the reading to another micro:bit. 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!
1 - Start a new project in MakeCode
Go to "MakeCode.microbit.org" 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:bits talk to each other.
Make a radio group number for your micro:bits. This creates a channel to allow them to talk to one another. Try these blocks:
3 - 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. Try these blocks:
4 - Send the light level.
Program your micro:bit to send the measurement of light it reads to the other micro:bit. Try these blocks:
5 - Display the light level.
Program your second micro:bit to display the light level it receives. Try these blocks:
Hooray! You Did It!
You made a light meter!
If you need help, click me to see the finished product!