> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/sciencekit/watertemp.md).

# 5.水溫測量

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2Fwfrwq78znTkMbFksBsIP%2Fimage.png?alt=media&#x26;token=27978591-caf9-44be-b4e8-68ee866e0d10" alt=""><figcaption></figcaption></figure>

河水海水的溫度是生態鏈重要的一環，人類的工業活動有機會會影響自然環境水溫，影響水中的生物。

### 實驗準備

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

* 未來板Lite 顯示板 / Micro:bit + Robotbit
* 水溫測量儀器
* 白色連接線

### 未來板Lite版本

#### 硬件接線

請同學將水溫儀器連接到未來板Lite顯示板上。

<figure><img src="/files/0HyI3KVsmMi3P3l874Ej" alt=""><figcaption></figcaption></figure>

#### 開啟程式

請同學在未來板Lite上開啟「05\_Temp\_p1.py」檔案。

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

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

#### 進行測量

未來板Lite會一直顯示測量到的水溫(攝氏)。

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

#### Datalogging頁面

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

<figure><img src="/files/5WfIAJkVpF2YwMrRGAap" alt=""><figcaption></figcaption></figure>

數據儲存在tempdata資料夾

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

### Micro:bit版本

#### 硬件接線

<figure><img src="https://sharinghub.kittenbot.hk/~gitbook/image?url=https%3A%2F%2Fkittenbothk.readthedocs.io%2Fen%2Flatest%2F_images%2Fwatertemp_wire.png&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=cc215f6&#x26;sv=1" alt=""><figcaption></figcaption></figure>

#### 參考程式

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

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


---

# 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://sharinghub.kittenbot.hk/sciencekit/watertemp.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.
