What are you actually using as the source of the anemometer ?
Some have a specific voltage requirement and the MKR is a 3.3 volt based board as opposed to the UNO which is a 5 volt board.
Readings need to be accounted for that difference and sensors need to be compliant in that area.