# pH酸鹼值探測組合+Micro:bit編程教學

### 編程教學

#### <mark style="color:orange;">MakeCode 編程教學</mark>

#### 在擴展頁直接搜尋Robotbit (Robotbit已經過微軟認證，可以直接搜尋)

![](https://kittenbothk.readthedocs.io/en/latest/_images/robotbit_search.gif)

#### 感應器Plus插件：<https://github.com/kittenbothk/pxt-ModulePlus>

#### [詳細方法](https://sharinghub.kittenbot.hk/programmingplatforms/makecode/kittenbotandmakecode)

#### pH感應器積木塊

![](https://kittenbothk.readthedocs.io/en/latest/_images/ph3.png)

#### <mark style="color:orange;">MakeCode參考程式</mark>

{% embed url="<https://makecode.microbit.org/_5kwepMMCwCh2>" %}

打開[參考程式](https://makecode.microbit.org/_hU33u4FHuegC)

#### <mark style="color:orange;">pH酸鹼值探測組合程式解說</mark>

<figure><img src="https://879637118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2FgfCQ9QnBYd1nWndYN2Pb%2Fph_values_import.png?alt=media&#x26;token=fa6665a4-da97-4ff3-89fb-0e7f2f564459" alt=""><figcaption></figcaption></figure>

1. 將pH探測棒上的標貼所顯示的校正值, 分別填進程式的<mark style="color:green;">"設定校正數值"</mark> A和B中。
2. 將程式下載到Micro:bit。
3. 按下A鍵，正式完成模組校正。
4. 將pH探測棒浸到測量液當中，等待大約1分鐘。
5. 按下B鍵，檢測液的pH值便會隨即顯示在microbit上。
6. 檢測其他液體前, 須用蒸餾水洗淨pH探測棒, 並用紙巾徹底抹乾凈。


---

# 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://sharinghub.kittenbot.hk/functional_modules/ph/phuse.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.
