I am doing a school project which consists of controlling the position of two trains.
I decided to get the position of each train by using a resistance wire (63ohm/m) and using the arduino boards as potentiometers. The wire will follow the rails, and at the end of the rails, I Will use copper cable to connect it with the - of the power supply. The boards will be connected to the resistance wire and to the copper wire. Here is a diagram which shows how It looks like in my mind:
As I don't know much about Arduino, I would like to know your thoughts about the feasibility of this project, especially: Will the first Arduino board create a short-circuit ?
Is there a limit to the current that the arduino's digital input can handle ?
Thank you for your answers.