It can be connected to your computer or device with a micro USB. Data can be sent and received between the BBC micro:bit and the computer so programs can be downloaded from Windows, Mac, Linux (including Raspberry Pi) onto the micro:bit via this USB data connection.

Connect the small end of the cable to your micro:bit and the other end to your computer's USB port.

Windows 7 users will  need the mBed serial port driver available on your machine. In Windows 10, Windows Update will fetch the driver. For earlier versions,  or if you have used mBed before and upgraded, you may need to re-install the driver. 

Mac OS and LInux require no driver installs.

If possible, avoid using USB ports on computers designed for charging devices (they are often marked with a lightning bolt or 'SS'). They supply a higher current than the micro:bit is designed to handle, and you may cause damage to your micro:bit. You may introduce a USB hub between the high current port and the micro:bit to overcome this issue, providing that the hub is also not marked for high speed 'SS' use.

To check the micro:bit has mounted as the MICROBIT drive:

Windows -  open Device Manager and look under Disk Drives

Mac OS  - open Disk Utility from Aplications > Utilities

Chrome OS - Open the Files app.

Ubuntu  - open Disks

Raspbian - open File Manager

In each utility the micro:bit should be listed as an external drive.

For troubleshooting see our article on fault finding with the micro:bit