> For the complete documentation index, see [llms.txt](https://3dpaws.comet.ucar.edu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3dpaws.comet.ucar.edu/building-3d-paws/building-the-core-instruments/wind-vane.md).

# Wind Vane

### How the Sensor Works

The wind vane uses the [**AS5600**](https://drive.google.com/file/d/1f8m0zBGUlcEmwGa42xqODvVKy_ajvcer/view?usp=sharing) magnetic encoder to measure the angular position of the vane as it aligns with wind flow. Direction is sampled every second and combined with wind speed data to form vectors. These vectors are averaged over 60 seconds to calculate the mean wind direction, while the peak gust direction is determined by averaging the three vectors corresponding to the highest 3-second wind speed period.

### Instruction Slides for Assembling the Wind Vane

{% embed url="<https://docs.google.com/presentation/d/1fWEpuH6EHiyVtK8szDu9YT-vMGDX7-jr/edit?ouid=102244773211795243299&rtpof=true&sd=true&usp=sharing>" %}

### Aligning the Wind Vane to North (0°)

Follow the directions at the bottom of "Testing the Sensors" to align the pointer to North (0°)

{% content-ref url="/pages/HiggTiSMUVo7rbZde5hE" %}
[Testing the Sensors](/building-3d-paws/building-the-core-instruments/testing-the-sensors.md)
{% endcontent-ref %}

### Tutorial Videos for Assembling the Wind Vane

This video playlist demonstrates the entire assembly of the instrument. You can toggle between assembly videos using the "fast forward" and "rewind" buttons.

{% embed url="<https://youtube.com/playlist?list=PL_rvcKZhmIf02LAZGMwgVSpYQ5ltpMpbt&si=GauiSj5z5saHrMz6>" %}


---

# 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://3dpaws.comet.ucar.edu/building-3d-paws/building-the-core-instruments/wind-vane.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.
