> 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)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learn.pakronics.com.au/primary/mbot/connect-mbot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
