> 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/scientific_measures/uv.md).

# 2.紫外線測量

### 實驗準備

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

* 未來板Lite 顯示板 / Micro:bit + Robotbit
* 紫外線測量儀器
* 黑色連接線

### 未來板Lite版本

#### 硬件接線

請同學將紫外線測量儀器連接到未來板Lite顯示板上。

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

#### 開啟程式

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

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

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

#### 進行測量

未來板Lite會一直顯示測量到的紫外線指數和光照度。

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

### Micro:bit版本

#### 硬件接線

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

#### 參考程式

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

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