MrDEB
Well-Known Member
plan is basically an up down counter I think.
a six inch disc with 180 slots
two photodarlington optical slot switches mounted 180 degrees apart
when one is high the other switch is low
problem is determing rotation direction?
thinking :
if true sw a = 1 and sw B = 0 then directionA = directionA +1
if true sw b = 1 and sw A = 0 then directionB = directionB -1
I know this isn't correct but maybe its a start.
count up going CW direction and count down going CCW
need to count pulses to determing actual wind direction.
example using the 180 slot disc
if we get 45 pulses then the wind is blowing 90 degrees from starting position.
Plan to aim locked wind vane at target then unlock.
amount indicated on LCD display wil indicate wind direction in degrees referencing on position of beginning vane position.
a six inch disc with 180 slots
two photodarlington optical slot switches mounted 180 degrees apart
when one is high the other switch is low
problem is determing rotation direction?
thinking :
if true sw a = 1 and sw B = 0 then directionA = directionA +1
if true sw b = 1 and sw A = 0 then directionB = directionB -1
I know this isn't correct but maybe its a start.
count up going CW direction and count down going CCW
need to count pulses to determing actual wind direction.
example using the 180 slot disc
if we get 45 pulses then the wind is blowing 90 degrees from starting position.
Plan to aim locked wind vane at target then unlock.
amount indicated on LCD display wil indicate wind direction in degrees referencing on position of beginning vane position.