What would be the best way to read the input of an unknown number of hall sensors (somewhere from 5 to 60) on the smallest number of pins?
I am not very familiar with circuits but as I understand the analog input pins on the Arduino are able to read discrete input values. Would it be feasible to daisy chain the hall sensors together each with increasing resistors all into one input? There will not be more than one sensor activated at a time.
The board would also need to determine the total number of sensors attached, which I assume would be relatively easy, in the case of having them all on one pin it would read the step size from one hall sensor to the other and divide the total analog input range by it.
As unfamiliar as I am with circuits, I still don't think that I could have up to 60 increasing sized resistors in one daisy chain and have it work. What would be the best solution for this? Thank you.