> For the complete documentation index, see [llms.txt](https://learn.pakronics.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.pakronics.com.au/primary/mbot/connect-mbot.md).

# Connect mBot

You can connect mBot to mBlock 5 via the USB or Bluetooth 4.0.

* [Method one: via the USB](http://docs.makeblock.com/mbot/en/tutorials/connect.html#method-one-via-the-usb)
* [Method two: via Bluetooth 4.0](http://docs.makeblock.com/mbot/en/tutorials/connect.html#method-two-via-bluetooth-40)

**Method one: via the USB**

1\. Use the USB Cable that came with mBot to connect your mBot to a USB port on you computer.

2\. Power on your mBot.

![](/files/-Lr3QIR8oU27sEsng-FR)

3\. Under "Devices", click "add", and choose "mBot" from the pop-up Device Library window.

![](/files/-Lr3QIR9R7VXkfcHoctH)→ ![](/files/-Lr3QIRAFYlKjZNvglzI)

4\. Click "Connect", and from the pop-up device connection window, click "Connect" under "USB".

![](/files/-Lr3QIRBTzwh_PSIDtcG)→ ![](/files/-Lr3QIRCdJ7Gq9gxsprq)

**Method two: via Bluetooth 4.0**

System requirements:

* **Windows**: the version of Bluetooth must be 4.0; for other Bluetooth versions, a Bluetooth 4.0 adapter is recommended (refer to [Bluetooth 4.0 Adapter](http://www.mblock.cc/doc/en/part-one-basics/connect-devices.html#3-bluetooth-40-instructions-for-windows-users) for detailed instructions)
* **Mac OS**: support most Mac OS models

1\. Power on your mBot.

![](/files/-Lr3QIRDP3Iis5nuDaBs)

2\. Turn on the Bluetooth on your PC.

* Windows: on the task bar, select **action center** > **Bluetooth**
* Mac OS: choose **Apple menu** > **System Preferences**, then click **Bluetooth**

3\. Under "Devices", click "add", and choose "mBot" from the pop-up Device Library window.

![](/files/-Lr3QIREidOBBarPFFtK)→ ![](/files/-Lr3QIRFwZXNwP-96O3J)

4\. Click "Connect", and from the pop-up device connection window, click "Connect" under "Bluetooth 4.0".

![](/files/-Lr3QIRGXTwcrHLg0mvX)→ ![](/files/-Lr3QIRHVRQRtLkZOTeR)
