Hall effect weather vane

I am fairly new to arduino and electronics in general. I'm in the midst of building an anemometer using a hall effect sensor and I've got it mostly worked out. So the next step in the larger project is the weather vane. My idea is to line the inside of the weather vane tube with Hall sensors and add a magnet to the axle of the vane. Then as the vane moves around it will shut off a particular sensor and give me an orientation. The thing that can't seem to figure out is how i can identify a specific sensor. I need to be able to create some sort of unique id for each sensor. anybody have any ideas?

I'd had a similar idea a while ago and I was thinking along the lines of using a 74HC165 Parallel-Input/Serial-Output Shift Register. Never actually got anywhere with it though.

Hi, If you are talking about "regular" hall effect sensors, each will need to connect to a separate input on the Arduino, so no need for IDs.

Using the linear-type sensors, you could get away with only 3, set at 120 degrees to each other, feeding 3 analog inputs. You could then interpolate the wind direction to a high precision.

Paul

Probably a complete redesign but I think some have used stepper motors for similar readings.
i.e. reading the pulses off the windings.

PaulRB:
Hi, If you are talking about "regular" hall effect sensors, each will need to connect to a separate input on the Arduino, so no need for IDs.

Using the linear-type sensors, you could get away with only 3, set at 120 degrees to each other, feeding 3 analog inputs. You could then interpolate the wind direction to a high precision.

Paul

I like this idea. I'll have to give it a try. thanks

Twice I have tried giving a verbose answer only to find I have been logged off when hitting Post.

so the quick version is look at this.
https://www.ams.com/eng/Products/Position-Sensors/Magnetic-Rotary-Position-Sensors/AS5030