# 認識micro:bit

外觀如下：

![背面](/files/-LNbqSJlYqH8DtsKc-35)

板子實際的大小，和10元硬幣比較如下：

![](/files/-LNbt4gf28SHaOw1Ylit)

以下是連接了擴充接頭之後的樣子：

![正面（已連接上擴充接頭）](/files/-LNbqaQvTZZfvoUPPPxa)

![針腳擴充接的外觀，可利用此接頭讓micro:bit放到麵包板上做實驗](/files/-LNbqw3IhCnDA7Xwj8I0)

電路板大小：5 cm x 4 cm

採用ARM Cortex-M0處理器，內建以下裝置：

* &#x20;5 x 5 LED
* 加速度感應器
* 磁力感應器
* 無線電通訊功能&#x20;
* 藍牙通訊模組&#x20;
* 2個可程式按鈕
* 1個RESET按鈕&#x20;
* Micro USB 接頭
* 3.3V輸出
* 具備輸出入連接針腳

micro:bit基金會網址：

<https://microbit.org>

總結，micro:bit的主要特色如下：

* 是英國BBC和三星、微軟以及ARM合作開發的產品
* 支援Javascript、Python程式語言，可使用視覺化的方式編輯
* 可以線上編輯，也可以下載安裝專屬的離線編輯器（如MU），也可以透過Arduino IDE以C/C++的方式開發程式
* 支援藍牙BLE連線功能
* 有25顆LED以及2個按鈕和1個Reset按鈕
* 具有加速度計、電子羅盤、光感測器、以及溫度感測器
* 具有底功率的無線訊號，裝置間可以彼此以廣播的方式通訊

只要把它連接到電腦之後，不需要安裝任何的驅動程式，在電腦作業系統中看起來，它就是一個隨身碟而已，那麼如何寫程式呢？直到到micro:bit的網站中選取「Let’s code」，選擇其中一個程式碼編輯環境，可以使用積木程式，也可以使用Javascript，也有Python程式可以選用。在環境中測試沒問題之後，使用「下載」把位元檔載下來，複製到micro:bit所在的磁碟機目錄中就可以了。

在寫入了程式進去之後，由於它自己就是一部電腦，因此之後只要連接電源，它就可以自己獨立地運作了。


---

# Agent Instructions: 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:

```
GET https://nkust.gitbook.io/micro-bit/microbit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
