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

# Anemometer

### How the Sensor Works

The three-cup anemometer measures **wind speed** using a **Hall effect sensor (SS451A)** that detects rotations. Two magnets on the anemometer generate 2 interrupts per revolution, enabling precise tracking of rotational speed. Wind speed is sampled **every second** by recording interrupt counts and millisecond durations. These 1-second samples are converted into instantaneous wind speeds using the anemometer’s calibration factor. Observations are logged every minute, with:

* **Wind Speed**: Average of 60 consecutive 1-second samples.
* **Wind Gust**: Highest 3-second average (three consecutive samples).

Wind speed is calculated using:<br>

$$
\text{Speed (m/s)} = \left( \frac{\frac{\text{interrupts}}{2} \cdot 2\pi \cdot \text{radius}}{\text{time (s)}} \right) \cdot \text{calibration factor}
$$

* **Radius**: 0.079 meters (distance from center to cup)
* **Calibration factor**: 2.64 (empirically determined from wind tunnel testing)

### Instruction Slides for Assembling the Anemometer

{% embed url="<https://docs.google.com/presentation/d/1hDxI2VXYWU8e3g-MxkWPEuZZY1h1np-v/edit?ouid=117036005519516778359&rtpof=true&sd=true&usp=sharing>" %}

### Tutorial Videos for Assembling the Anemometer

This video playlist demonstrates the entire assembly of the Anemometer. **It demonstrates the glue in version of the bearing housing and hub using Qwiic cables. Please follow the manual instructions if using the twist version of the bearing housing or M5 stack Grove cables.**

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_rvcKZhmIf0pVc3sgLi5L2UCpbDumTmw&si=yCZf57mjFfVSm7Mz>" %}


---

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