# 8.太陽能

### 實驗準備

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

* 未來板Lite 顯示板 / Micro:bit + Robotbit
* 太陽能電池管理模組
* 黑色連接線

### 未來板Lite版本

#### 硬件接線

請同學將太陽能電池管理模組連接到未來板Lite顯示板上。

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

#### 開啟程式

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

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

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

#### 進行測量

未來板會顯示充電池的現時電壓。可以按A鍵開關USB輸出口。

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

#### Datalogging頁面

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

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

數據儲存在solardata資料夾

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

### Micro:bit版本

#### 硬件接線

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

#### 參考程式

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

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


---

# 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/solar.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.
