So i would like to take a wind direction sensor reading and then make a mechanical gauge to show direction on a compass.
i have no code yet as i am still thinking what would be the best hardware to use.
I was thinking of using a stepper motor combined with rotary encoder so it always knows it’s exact position, but right away i am thinking about a couple of ‘cons’
stepper uses a lot of power to keep position (i could perhaps shut it off between readings…as no mechanical force will be used to change position while turned off)
i will convert sensor reading to 360 degrees of the compass circle BUT, imagine that the wind direction balances between 355 and 5 degrees… would it be possible to code it in a way that stepper takes the short route from 355 to 5 degrees or would it always go in reverse full circle?
It easy to tell encoder to start over after 359 degrees but would stepper follow the short route… it’s whats out of my perception at the moment.
Anyone has any other suggestion as to what could be better than stepper?
Many thanks in advance,