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

# 7.電子磅

### 實驗準備

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

* 未來板Lite 顯示板 / Micro:bit + Robotbit
* 電子磅儀器
* 黑色連接線

### 未來板Lite版本

#### 硬件接線

請同學將電子磅儀器連接到未來板Lite顯示板上。

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

#### 開啟程式

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

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

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

#### 進行測量

未來板Lite會一直顯示測量到的重量。

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

#### Datalogging頁面

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

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

數據儲存在balancedata資料夾

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

### Micro:bit版本

#### 硬件接線

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

#### 參考程式

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

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