> 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/kits/smartweatherstation/instructions_asr/asr_windvane.md).

# 風向計

<figure><img src="/files/3BkT0R8Vmb0w6rQz6orX" alt=""><figcaption></figcaption></figure>

### 模型搭建說明書

{% content-ref url="/pages/Vj31nvrVk8U1dpM3Td3I" %}
[風向計說明書](/kits/smartweatherstation/building/windvane_building_instructions.md)
{% endcontent-ref %}

### 模型接線圖

### Robotbit EDU接線圖

<figure><img src="/files/542qSMQaSn543Lzx58ZK" alt=""><figcaption></figcaption></figure>

### Robotbit 2.2接線圖

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

### 參考程式

{% hint style="info" %}
請自行因應東南西北四個方位的數值修改程式。
{% endhint %}

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

#### 模型玩法:

1. 模型會一直顯示現時的風向

### 校正步驟

首先下載參考程式，OLED模組會一直顯示灰度感應器的讀數。

利用套件附帶的指南針，將指針撥向北的方位。記錄灰度感應器的讀數，這讀數就是北這個方位的校正數值。

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

打開MakeCode，將北的校正數值填入程式裡面。

{% hint style="info" %}
例如，指針在北這個方位時讀數為443，將此數值填入程式中。
{% endhint %}

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

重複以上步驟，對其餘3個方位進行校正。

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

完成後再次下載程式到Micro:bit。


---

# 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/kits/smartweatherstation/instructions_asr/asr_windvane.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.
