Yes but this could be any of the ways of connecting conducting thread or cloth to the computer. The words to search on is "wearable circuits".
The circuit is simply one end of the knitting to ground and the other end to an analogue input, with a resistor about 3K going from the analogue input to 5V. Exprement with this value to get the range of change you want. As you pull you will read a changing voltage depending on how hard you pull.
This was done with a Raspberry Pi because it has the ability to show a picture, but for your application using an Arduino without any display capable of showing an image, you will read a changing analogue voltage just like it was a pot. Then when the reading reaches a threshold value you set you can register a pull with an if statement.
Yes this will do that for you.
Read the magazine article for the full theory behind why it works.
Ok, I think I start to get it. Thanks for the link to your project.
Is this conductive thread will be fine? any specific you recommend?
do you see any problem with making 15 conductive thread with a 10 meter long each?
how can you secure the end that goes to the arduino so when someone is pulling the thread it will not be disconnected?
Well it is sliver, I would recommend the stainless steel threads for strength.
Here is a page about using them.
Don't understand what you are asking. Conductive threads by them selves will not work as a sensor, you need to knit them into a sensor for it to work.
I would recommend making a short length of knitting say about 6 inches and attaching your fabric to it for you to pull like you asked. You make the connections to the Arduino with screw connectors used for electrical wiring. We call them chock blocks here, they look like this:-
I would get the biggest holes you can at least for 10 or 12Amps rating. This is just so the holes are big enough. Cut them up into single connectors and place them on both ends of your knitted sensor, with the other end going to wires connected to the Arduino.
You could also add some elastic across the knitted sensor to improve the restorative force and require more force for the fabric pull. But it is up to you to experiment for the results you want.
In your article you said that the combination of non-stretchy crochet thread and conducting thread was giving the best result. So it is only two materials? In the picture it seems like there is three material or am I wrong?
So at post #26 you finally tell us that! This is a vital piece of information that is a drastic game changer.
No that could not happen. BUT the rain will effect it.
So you either need to use a flexible plastic tube to stop this happening and some sort of barrier between this tube and the pulling fabric to stop the water wicking up into the sensor.
Or you need to implement one of the more complex methods described here and make sure they are waterproof.
That is because I tried all three in different combinations. What I found best is not necessary what you will find best for your application.
You seem to be making really heavy weather of this idea. Maybe you need more practical experience with generally using an Arduino before you have the knowledge and skill for this project?
I proposed a sensor that is six inches, ( or 0.1524 Meters ) and could be attached to a length of fabric.
You are struggling to understand this or are deliberately trolling me.
I am indeed struggling to understand and not by any mean trolling you! I'm sorry you get this impression.
so the length of fabric (which kind?) could be 10 meter long but the sensor should be only around 0.15 Meters?
What I don't understand is the if I need to connect the two ends of the sensor(the kitting thread) to ground and A0 but the arduino will be 10Meter above it - what should be in the middle?
If the thread the we pull is only 0.15Meter end I should read it ends (ground and A0) so necessarily should be two wires of 10Meter running from the thread(sensor) ends to the arduino. Isn't it?
So I received the conductive thread and try to measure the voltage with the following setup:
one end to A0 and 3k3 resistor to +5V and the other end to GND.
I pull the string but no voltage appears to change. It is not possible to read continues voltage change without the crochet thread ?