This is my homemade digital anemometer. It is made of cups rotating with a magnet triggering a reed switch. The wires are connected to an Arduino Uno that calculates the time between consecutive pulses (after reed switch debouncing by my arduino software)