how to make a tripwire thats not a tripwire?
hello everyone its been a long time since i have asked a question here but with curiosity staring me in the face i have no choice... so as the question title states im trying to make a tripwire thats not a tripwire and what i mean by that is im trying to make a type of sensor that you pull the string from it (which when you let go it will retract) and as soon as you pull the string the sensor turns on and knows how far the string is out... im hoping to make this part of bigger project and this is definitely a big part of the project but i dont generally make things myself even though i want to... im hoping to get a small program that will just register the sensor since it will be connected to the computer and program while its on ill need to program many of them for different things but the main issue is just telling it what to do when a certain amount of the string is out or put back in from retracting... you know? it needs to be precise aswell... as in "sensor 1 pulled 1 inch out" (brain then moves piece 1) "sensor 2 pulled 8 inches and sensor one retracted 1 inch" (brain moves piece 2 a few inches and piece one back 1 inch) do you see what i mean? it needs to be precise and all the sensors need to work together in one big network... there will be probably... 100 or more sensors working with there strings in a huge layout and i just when it comes to the sensor i dont know where to start or how to do this do i use Arduino some other parts and thinner paracord? you know so if anyone could help me out with this or what they would do that would be awesome