29-07-2015, 15:39
Hi,
Sorry, I can't help with the coding, but to avoid going down a "dead end":
How do you propose to keep the vane set and "calibrated" to North? However good the hardware and software may be, there is always the risk that one or more pulses may be "dropped" (over a period of weeks, months or years) and then the "reference" direction will be lost.
AFAIK all normal direction "encoders" use a multi-channel (4+) "Gray Code" wheel, or of course the established potentioneter (Davis), multiple magnetic reed switch (Fine Offset) or Phase Delay (linked to the anemometer rotation) methods.
Cheers, Alan.
Sorry, I can't help with the coding, but to avoid going down a "dead end":
How do you propose to keep the vane set and "calibrated" to North? However good the hardware and software may be, there is always the risk that one or more pulses may be "dropped" (over a period of weeks, months or years) and then the "reference" direction will be lost.
AFAIK all normal direction "encoders" use a multi-channel (4+) "Gray Code" wheel, or of course the established potentioneter (Davis), multiple magnetic reed switch (Fine Offset) or Phase Delay (linked to the anemometer rotation) methods.
Cheers, Alan.

