How to Use a micro:bit
A micro:bit is a tiny, programmable board with lots of built-in sensors. You can use one for a variety of fun science projects, even if you do not have any programming or electronics experience! This page contains tutorial videos that will help you with setting up, programming, and using your micro:bit. Check out our list of micro:bit projects when you're ready to move beyond the tutorials!
Purchasing a micro:bit
A micro:bit starter kit is available from our partner Home Science Tools®. The kit contains everything you need to get started programming your micro:bit right away. Additional parts may be required for some of our science projects.
Setting up your micro:bit
This video shows you how to set up your micro:bit for the first time and run your first program.
Buttons
This video shows you how to program your micro:bit to react when you press the buttons that are built into the board.
If/else statements
Learn how to use if/else statements when programming your micro:bit.
Motion control
Learn how to write code that detects when your micro:bit is tilted or shaken.
Accelerometer
Learn how to use your micro:bit's accelerometer for more advanced motion detection.
Light sensor
Learn how to use your micro:bit's light sensor to measure light levels.
Sound sensor
Learn how to use your micro:bit's sound sensor (microphone) to measure sound levels.
Magnet sensor
Learn how to use your micro:bit's magnet sensor, also called a magnetometer, to detect and measure magnetic fields or serve as a digital compass.
Temperature sensor
Learn how to use your micro:bit's temperature sensor to measure temperature near the micro:bit.
Pins
Learn how to use your micro:bit's pins to detect touch or build a switch.
Radio communication
Learn how to make two or more micro:bits communicate with each other using radio signals.
Data logging
Learn how to record data from your micro:bit's sensors that you can download and analyze on a computer later.
















