How to Set Up the BBC micro:bit

The BBC micro:bit is built for learning, with an LED display, buttons, sensors, and radio on a single small board. You do not need to install a heavy toolchain to start, since you can program it from a web browser. If you would rather have the micro:bit plus matching add-ons and a tested program arrive together, Compoden's AI build assistant turns a described project into a parts list, wiring, and code, then ships the kit. Here is how to get going on your own.

What you need

You need a BBC micro:bit (V1 or V2), a micro USB data cable, and a computer or supported tablet. No drivers are required on current operating systems; the board appears as a USB drive called MICROBIT when you plug it in.

Choose MakeCode or MicroPython

There are two common ways to program the board. MakeCode is a block-based editor that is ideal for beginners and classrooms. MicroPython, edited in the Python editor at python.microbit.org, suits anyone who wants to write text-based Python. Both run in the browser and both produce a .hex file that you copy to the board.

Write a program in MakeCode

Open makecode.microbit.org in your browser and start a new project. Drag a "show string" block into the "on start" slot and type a short message. The simulator on the left previews it instantly, which is useful for checking your logic before flashing.

Flash the program

Plug the micro:bit in with the USB cable and confirm the MICROBIT drive appears. In MakeCode, click Download to get a .hex file, then drag that file onto the MICROBIT drive. The yellow LED on the back blinks while it copies, then the board restarts and runs your message across the LED display. On supported browsers you can pair the board with WebUSB and flash with one click instead.

Try MicroPython instead

If you prefer Python, open python.microbit.org, then enter from microbit import * followed by display.scroll("Hello"). Click Send to micro:bit, or Download the .hex and drag it onto the MICROBIT drive as before. The message scrolls across the display, confirming MicroPython works on your board.

If it does not flash

If the MICROBIT drive does not appear, use a data USB cable rather than a charge-only one, and try a different USB port. If the board copies the file but does not run, the .hex may have been built for the wrong micro:bit version, so confirm whether you have a V1 or V2 and rebuild. A flashing yellow LED that never stops usually means the file was corrupted in transfer, so download it again.

Build it with Compoden's AI

Describe your project to Compoden's AI build assistant, for example a step counter or a simple radio messaging pair, and it selects the micro:bit plus any add-on boards, sensors, or battery packs you need, provides wiring notes for the edge connector, and writes starter code in MakeCode blocks or MicroPython. The kit ships to your address in India, so your first session goes into building, not into setup.

Tell Compoden's AI assistant what you want to build and get a micro:bit kit prepared for it. You can also browse the full catalog for add-ons and accessories.

FAQ

Do I need to install software for the micro:bit? No. You can program it entirely in the browser with MakeCode or the Python editor, then drag the .hex file onto the MICROBIT drive.

What is the difference between V1 and V2? The V2 adds a microphone, a speaker, a touch logo, and more memory. Most programs run on both, but build the .hex for the version you own.

Why is the MICROBIT drive missing? Use a data-capable USB cable, try another port, and check that the board is getting power, shown by the LED on the back lighting when plugged in.

Back to blog