I have been reading about using PWM signals with arduino (MEGA in this case) but nothing seems to address my particular usage.
on my oscope i can see a nice square wave signal from the anemometer that is PWM depending on the wind speed. i input it to analog 13, and i get some average voltage value that is nowhere near the actual speed (i have a weather station that works that shows the true wind speed, i just tapped into the signal wire).
so to me that means i need to convert my PWM to a DC voltage value in order to do an analog read. so i bought a DAC from adafruit. but the more i read, the less i think that this is the solution.
i read threads where setting up a filter was proposed, but i hope i don't have to go that route.
can anyone suggest a simple way to utilize the PWM as an input signal ?