Wind sensor control rc servo position

Helou! I found my old/almost forget project from my garage.My planning is made wind speed/direction weather station with analog gauges
Wind direction:6 bit greycode encoder what is connected Arduino Nano.Nano control rc servo position (0-180dec) 360dec analog gauge is possible made if i made simple gear by lathe,2 belt wheel and rubberband,gear ratio 1:2
Wind speed: Anemometer produce frequency,1hz per 0.1m/sec.So example 24.2m/sec is 242hz
Anemometer is connected other Arduino Nano.Nano control 0-180dec rc servo positions.Analog gauge is Also 0-180dec/0-30m/sec

I also have stepper motor but they lost steps/position after shutup,so i think better way is use closed loop servo with this

Can anyone help me,i not have skills produce Arduino code.I understand basics for this.Input digital value min-max must be scale to output pwm signal what control servo min-max positions

And also somekind delay for output would be good,then pointer needle is not so restless

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.