Summary
Wind speed is measured using an anemometer, but different anemometers use different physical principles. Cup and propeller anemometers measure rotational speed, while sonic, hot-wire, and laser Doppler anemometers use sound, heat transfer, and light respectively. For DIY electronics, a cup anemometer can be combined with a Hall effect sensor, magnets, and an ESP32 to measure and log wind speed.

What Instrument Measures Wind Speed?
The primary instrument used to measure wind speed is an anemometer. Depending on its design, an anemometer can measure wind speed from the rotation of cups or a propeller, the travel time of ultrasonic signals, heat loss from a heated wire, or the Doppler shift of laser-scattered light.
For weather stations and DIY projects, cup anemometers are particularly common because their rotating mechanism can be converted into electrical pulses using a magnetic sensor.
Components and Supplies
5 Instruments to Measure Wind Speed
There are several types of wind speed measuring instruments. The five covered here are:
| Instrument | Working principle | Typical application |
|---|---|---|
| Cup anemometer | Measures cup rotation | Weather stations, outdoor monitoring |
| Propeller anemometer | Measures propeller rotation | Weather monitoring, HVAC |
| Sonic anemometer | Measures ultrasonic travel-time differences | Meteorology, research |
| Hot-wire anemometer | Measures convective heat loss | HVAC, airflow testing |
| Laser Doppler anemometer | Measures Doppler shift of scattered laser light | Fluid dynamics, research |
1. Cup Anemometer
A cup anemometer uses three or more cups mounted on arms around a central shaft. Wind pushes against the cups, causing the assembly to rotate. The rotation rate is related to wind speed.
Traditional cup anemometers can use a mechanical counter, while electronic versions can use a magnetic or optical sensor to detect each rotation.
Uses
- Weather stations
- Wind monitoring
- Agriculture
- Renewable-energy site assessment
- Educational projects
- DIY weather stations
A Hall effect sensor is particularly useful for a DIY version because it can detect a magnet passing the sensor without physical contact. Robocraze's Hall Effect Sensor Module is designed for magnetic detection and lists motor speed measurement and pulse counting among its applications.
2. Propeller Anemometer
A propeller anemometer uses a small propeller that rotates as air flows through it. The propeller generally needs to face the airflow, so these instruments often incorporate a tail or vane to maintain the correct orientation.
The rotational speed is converted into a wind-speed reading using the instrument's calibration.
Uses
- Weather monitoring
- HVAC testing
- Industrial airflow measurement
- Environmental monitoring
Unlike a cup anemometer, a propeller design is directional because its measurement depends on the propeller facing the airflow.
3. Sonic Anemometer
A sonic anemometer has no rotating cups or propeller. Instead, it uses ultrasonic transducers to send sound signals between measurement points.
Moving air changes the travel time of the ultrasonic signal. By measuring these differences, the instrument can determine wind velocity and, depending on its configuration, wind direction.
Uses
- Meteorological stations
- Atmospheric research
- Environmental monitoring
- Wind-energy research
Because there are no moving parts, sonic anemometers can be useful where mechanical wear or moving components are undesirable.
4. Hot-Wire Anemometer
A hot-wire anemometer uses a thin electrically heated wire exposed to airflow. Moving air cools the wire, changing its temperature and electrical characteristics.
The instrument measures this change and uses calibration data to determine airflow velocity.
Uses
- HVAC testing
- Airflow measurement
- Aerodynamics
- Laboratory experiments
- Turbulent-flow measurements
Hot-wire anemometers are particularly useful when measuring relatively small or rapidly changing airflows.
5. Laser Doppler Anemometer
A Laser Doppler Anemometer (LDA) uses laser light to measure the movement of particles carried by the airflow.
Laser beams intersect at a measurement point. Particles passing through that region scatter the light, and the resulting Doppler frequency shift can be used to determine particle velocity and therefore airflow velocity.
Uses
- Aerodynamics research
- Fluid dynamics
- Wind-tunnel testing
- Laboratory measurements
- Research-grade flow analysis
LDA systems are considerably more complex than mechanical anemometers and are generally used for specialized measurement rather than basic weather monitoring.
How Does an Anemometer Work?
The exact working principle depends on the instrument.
A cup or propeller anemometer converts rotational motion into wind-speed information. An electronic version can use a sensor to count rotations or pulses over a known time interval.
For a DIY cup anemometer with one magnetic pulse per revolution:
RPM = pulses per second × 60
If the cup assembly produces one pulse per revolution, measuring the pulse frequency gives the rotational speed.
However, rotation speed alone is not a universal wind-speed measurement. A practical anemometer requires calibration because cup shape, rotor radius, friction, bearing resistance, and aerodynamic design affect the relationship between RPM and wind speed. Published DIY examples use calibration constants or device-specific equations rather than assuming a universal RPM-to-wind-speed conversion.
How to Build a DIY Anemometer with Arduino
A simple electronic cup anemometer can be built by adding a magnet to the rotating assembly and a Hall effect sensor near its path.
When the magnet passes the Hall sensor, the sensor produces a pulse. The microcontroller counts these pulses and calculates the rotational speed.
Components Required
| Component | Purpose |
|---|---|
| ESP32 development board | Counts pulses and processes data |
| Hall effect sensor | Detects the rotating magnet |
| Neodymium magnet | Creates the magnetic trigger |
| 3D-printed or DIY cup rotor | Converts wind into rotation |
| Jumper wires | Electrical connections |
| Breadboard | Prototyping |
| USB power supply | Powers the ESP32 |
For the electronics, you can use a Hall Effect Sensor Module, a SmartElex Hall Sensor, or a standalone Hall Effect Sensor. Robocraze's Hall sensor products are intended for magnetic detection and applications such as speed measurement and pulse counting.
For the rotating trigger, a 25 × 3 mm Neodymium Disc Magnet can be used, subject to the mechanical design and required sensing distance.
For wireless monitoring, a ESP32 NodeMCU 30-Pin WiFi Bluetooth Development Board provides GPIO, ADC and built-in Wi-Fi/Bluetooth connectivity.
DIY Anemometer Wiring
For a Hall sensor module with a digital output, the basic arrangement is:
Rotating cup
│
[MAGNET]
│
↓
┌─────────────┐
│ Hall Sensor │
└──────┬──────┘
│ Signal
↓
ESP32 GPIO
Hall Sensor VCC ─────> ESP32-compatible supply
Hall Sensor GND ─────> ESP32 GND
Hall Sensor OUT ─────> ESP32 GPIO
Mount the magnet securely on one part of the rotating assembly and position the Hall sensor close enough to detect it on every revolution.
Check the specific sensor's supply and output requirements before connecting it to an ESP32. ESP32 GPIO operates at 3.3 V logic, so a sensor module with a 5 V-only output should not be connected directly to an ESP32 GPIO without appropriate level compatibility.
ESP32 Code for a DIY Anemometer
The following example counts Hall sensor pulses for one second and calculates revolutions per minute, assuming one pulse per revolution.
const int HALL_PIN = 27;
volatile unsigned long pulseCount = 0;
void IRAM_ATTR countPulse() {
pulseCount++;
}
void setup() {
Serial.begin(115200);
pinMode(HALL_PIN, INPUT_PULLUP);
attachInterrupt(
digitalPinToInterrupt(HALL_PIN),
countPulse,
FALLING
);
}
void loop() {
pulseCount = 0;
unsigned long startTime = millis();
delay(1000);
noInterrupts();
unsigned long pulses = pulseCount;
interrupts();
float revolutionsPerSecond = pulses;
float rpm = revolutionsPerSecond * 60.0;
Serial.print("Pulses: ");
Serial.println(pulses);
Serial.print("RPM: ");
Serial.println(rpm);
delay(100);
}
If your rotor produces one pulse per revolution, the number of pulses counted in one second is the revolutions per second.
If you use two magnets and therefore generate two pulses per revolution:
Revolutions per second = pulses per second ÷ 2
This pulse-counting approach is also used in electronic anemometer projects where a Hall sensor or other sensor generates a pulse for rotor movement.
Converting RPM to Wind Speed
There is an important distinction between rotor speed and wind speed.
The ESP32 can directly calculate RPM from the Hall sensor pulses. To convert RPM into actual wind speed, you need a calibration relationship for your particular rotor.
For example, you can:
- Build the cup rotor.
- Count pulses at different known wind speeds.
- Compare your readings with a calibrated reference anemometer.
- Create an RPM-to-wind-speed calibration equation or lookup table.
- Use that calibration in the ESP32 program.
This is more reliable than assuming that the cup's outer-edge speed is exactly equal to the wind speed. DIY anemometer projects commonly use calibration factors or experimentally determined relationships between rotation and wind speed.
Example
Suppose your calibration gives:
Wind speed = 0.5 × RPM + 2
If the ESP32 measures 20 RPM:
Wind speed = (0.5 × 20) + 2 = 12 m/s
The equation above is only an illustrative calibration example. Your actual equation must come from calibration of the specific rotor.
Arduino vs ESP32 for a DIY Anemometer
Both Arduino and ESP32 can count pulses from a Hall sensor.
| Feature | Arduino | ESP32 |
|---|---|---|
| Hall sensor pulse counting | Yes | Yes |
| Interrupts | Yes | Yes |
| Wireless connectivity | Usually requires additional hardware | Built-in Wi-Fi/Bluetooth |
| IoT weather station | Requires additional connectivity | Well suited |
| Data logging | Depends on board | Can connect to online services |
| Typical project | Local wind-speed meter | Connected weather station |
An ESP32 is particularly useful if you want to send wind-speed readings to a dashboard or cloud service because Wi-Fi and Bluetooth are built into the board.
Applications of Wind Speed Measuring Instruments
Wind-speed measurements are used across many industries.
Weather and Climate
Weather stations use wind-speed data for forecasting, atmospheric studies and long-term environmental monitoring.
Aviation
Wind speed and direction are important during aircraft takeoff, landing and airport operations.
Renewable Energy
Wind measurements help evaluate potential wind-farm locations and monitor operating conditions around wind turbines.
Agriculture
Farmers can use wind measurements when planning spraying and other activities affected by wind conditions.
Marine Operations
Ships and offshore facilities use wind information for navigation and operational safety.
HVAC and Building Engineering
Hot-wire and other airflow instruments can be used to measure air movement in ventilation and HVAC systems.
Which Wind Speed Instrument Should You Use?
The appropriate instrument depends on the measurement requirement:
| Requirement | Suitable instrument |
|---|---|
| Basic outdoor wind monitoring | Cup anemometer |
| Wind speed with directional alignment | Propeller anemometer |
| No moving parts | Sonic anemometer |
| Sensitive airflow measurement | Hot-wire anemometer |
| Laboratory/research measurements | Laser Doppler anemometer |
| DIY Arduino/ESP32 project | Cup anemometer + Hall sensor |
For a beginner electronics project, the cup anemometer + Hall sensor + ESP32 approach provides a straightforward way to turn mechanical rotation into digital pulses and then process the measurements in software.
Key Takeaways
- An anemometer is the primary instrument used to measure wind speed.
- Cup, propeller, sonic, hot-wire and laser Doppler anemometers use different measurement principles.
- A DIY cup anemometer can use a magnet and Hall effect sensor to detect each rotor revolution.
- An Arduino or ESP32 can count the resulting pulses and calculate RPM.
- An ESP32 adds Wi-Fi/Bluetooth connectivity for connected weather-monitoring projects.
- Actual wind speed should be obtained using a calibration relationship between rotor speed and wind speed rather than assuming a universal RPM conversion.
Conclusion
Wind speed measurement ranges from simple mechanical cup anemometers to sophisticated laser and ultrasonic instruments. For makers and students, a cup anemometer offers a practical way to understand the measurement process: wind rotates the cups, a magnet triggers a Hall sensor, and an ESP32 counts the pulses.
With the addition of Wi-Fi, the same setup can become part of an IoT weather station, allowing wind-speed readings to be recorded and monitored remotely.




