> For the complete documentation index, see [llms.txt](https://learn.arduinosa.co.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.arduinosa.co.za/blocking-coding-lessons/beginner-lessons/setting-up-mblock.md).

# Setting up mBlock

## What will we do <a href="#what-will-we-do" id="what-will-we-do"></a>

In this lesson we will show you how to setup and use the the web based mBlock IDE.

To understand more about mBlock, please visit this [link](https://www.mblock.cc/doc/en/quick-start/quick-start.html)​

## Launching mBlock <a href="#launching-mblock" id="launching-mblock"></a>

Go to [https://ide.mblock.cc/](https://ide.mblock.cc) on a **chrome** browser.

Under the devices section, click **Add** and select **Arduino Uno** from the selection list

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M8tymYL7eqowqUT33a2%2F-M8u2Zj3e_-fENm16h0l%2Fmblock1.png?alt=media\&token=df1e9ea9-99d2-421d-ac5b-71dd7d67c316)

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M8tymYL7eqowqUT33a2%2F-M8u2l78BQXE_uQOUFi9%2Fmblock2.png?alt=media\&token=402bc4fc-635c-4295-bc68-28c9aeb3dec2)

## Install the WebLink <a href="#install-the-weblink" id="install-the-weblink"></a>

Install the **WebLink** and following the details in this link <https://www.mblock.cc/doc/en/part-one-basics/mlink-quick-start-guide.html>​

Once installed, test that you can connect to your device.

## Connect your Arduino Uno <a href="#connect-your-arduino-uno" id="connect-your-arduino-uno"></a>

Connect you Arduino to your PC using the USB Cable

Click in the **Connect** buttonClick on Connect

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M8u2n0RTB0Hwt41tfbr%2F-M8u92QkE7ucq6A-1lMw%2Fmblock3.png?alt=media\&token=5042732d-eead-4bc9-b0b8-28c439d6dac5)

Select on the check box and select your device

![](https://gblobscdn.gitbook.com/assets%2F-LskXJjPT2bXMIodrtZq%2F-M8u2n0RTB0Hwt41tfbr%2F-M8u9CRaWgocax9xbyCK%2Fmblock4.png?alt=media\&token=97935f7f-0187-4c16-9197-a8b204e7f36f)

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>


---

# 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.arduinosa.co.za/blocking-coding-lessons/beginner-lessons/setting-up-mblock.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.
