# 9.pH酸鹼值測量

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2FGyPNdp0KfxcB7sXjSU86%2Fimage.png?alt=media&#x26;token=e59432f7-bf84-41bd-a4ee-47b167b93876" alt=""><figcaption></figcaption></figure>

人類的工業及農業活動會將例如重金屬、農藥、化學物等的污染物排到河流及海洋，影響水中的酸鹼值

### 實驗準備

#### 請同學準備以下實驗硬件:

* 未來板Lite 顯示板 / Micro:bit+Robotbit
* pH酸鹼值測量儀器
* 黑色連接線

### 未來板Lite版本

#### 硬件接線

請同學將pH酸鹼值儀器連接到未來板Lite顯示板上。

<figure><img src="/files/pC4iOTsKjZrJNgYzzW8e" alt=""><figcaption></figcaption></figure>

#### 開啟程式

請同學在未來板Lite上開啟「09.PH\_i2c.py」檔案。

<figure><img src="/files/N3Gda3cysNvWgQwcSMYM" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/t0IWq0CMLTk>" %}

#### 進行測量

未來板Lite會一直顯示測量到的酸鹼值(pH)。

<figure><img src="/files/qXZ7I37mAsWIDJETVBxk" alt=""><figcaption></figcaption></figure>

#### Datalogging頁面

{% hint style="info" %}
未來板IP地址/html/ph.html
{% endhint %}

<figure><img src="/files/nUtLW04vmNJ8D25Z9TCU" alt=""><figcaption></figcaption></figure>

數據儲存在phdata資料夾

<figure><img src="/files/9gAWo0ShqXSrIIQt6EzK" alt=""><figcaption></figcaption></figure>

### Micro:bit版本

#### 硬件接線

<figure><img src="/files/hVhLktBa3VfeunXcHIUW" alt=""><figcaption></figcaption></figure>

#### 參考程式

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

[下載參考程式](https://makecode.microbit.org/_5R0cJ012FdoC)

### 注意事項

1. 感應器頭部帶有保護蓋，使用前請小心扭下保護瓶，然後將瓶蓋拆下來。
2. 請勿弄污、弄花感應器的頭部。
3. 請小心不要倒瀉保護瓶的液體。
4. 每次使用後都需要使用蒸餾水清潔感應器。
5. 使用過後請將保護瓶裝回，不要將感應器暴露在空氣中。
6. 這種感應器並不是即時有反應，請耐心等待1分鐘。
7. 使用上強酸/強鹼時，請加以小心並佩戴護目鏡。


---

# 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/sciencekit/phmeasure.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.
