What type of USB lead do I need for the micro:bit?

How can I load code onto the micro:bit?

How can I power the micro:bit other than from batteries?


The micro:bit has a USB type-B micro connector. Search for 'micro-B plug' on this wiki page:

You can use the USB to load code onto the micro:bit, and to power it. It is usually best to power the micro:bit from two AAA batteries.

The USB lead that you require will depend on what computer you are plugging the micro:bit in to, but for the majority of cases, you want a USB type-A connector at the computer end, and a USB micro-B plug at the micro:bit end.

You will need to make sure that this cable is designed to be a data transfer cable (i.e. it has all of the wires inside it populated) rather than just being a charging cable. Some charging cables that come with mobile phones and other portable devices only have the power wires fitted - which means that your micro:bit will power up when plugged into the USB of your computer, but you will not be able to drag and drop code on to it.

When the micro:bit is powered from USB, the yellow system LED on the back will light. 

If a successful data connection is made over your USB cable, your computer will add a MICROBIT drive into the file manager view. If it is unsuccessful and you are sure yo are using the correct type of cable, follow our advice on fault finding with a microbit