Knitted Stretch Sensors
Knitted fabrics that integrate conductive yarn will have different amounts of resistance, depending on the size of the sample, the density of the stitches, and the yarns used. Yarns that are partially made up of metal have the unique property that their resistance changes under tension. This happens as the metal fibres in the yarn are pulled together, meaning that the current is able to flow more easily. This essentially creates a variable resistor which can then be used as a stretch sensor.
In the circuit below, the knitted stretch sensor is being used to control the brightness of an LED:
These sensors can be used anywhere a potentiometer would be used instead. Typically the signal is much noisier and harder to control, but you can still get some interesting results! One example project is the knitted synthesisers workshop.
Voltage Dividers
In order to meausre the change in resistance, we can use a voltage divider.

A voltage divider divides up the input voltage, Vin, proportional to the value of the two resistors, R1 and R2. You can essentially think of it as them sharing the voltage out between the two of them according to their value. The higher the value of the resistor, the bigger the share of the voltage it gets.
The voltage taht we are measuring is the one over R2
A voltage divider is used to turn a larger voltage into a smaller one. Therefore we only care.
For example, if they both have the same value, they each get half of the voltage.
This is a circuit that turns a voltage into a smaller one depending on the values of two resistors, R1 and R2.
NOTE: if you are confused by the dot in the above equation, click here
Measuring the Resistance
When trialling knit stretch sensors, it's important to know the range of resistances you are working with. You can measure their resistance using a multimeter
Attach the crocodile clips to the edge of the sample, and connect the other ends to the multimeter. Move the wheel of the multimeter to the setting with the Ω symbol, and press the 'mode' button until you also see a Ω on the screen.
Once the system is connected, you should see a reading of the sample's resistance on the multimeter. Try stretching the sample and the number should decrease! Note that the letters next to Ω refer to the magnitude: k stands for 'kilo' (x1000), and M stands for 'mega' (x 10,000). You want your sample to be at least a few kΩ for this to work.
Making a Voltage Divider
To be able to measure the change in resistance of your knitted sensor, you need to use a circuit called a voltage divider. This consists of two resistors placed in series, meaning that the voltage applied is divided between the two, relative to their resistance. For example, in a voltage divider circuit with two resistors of equal value, the voltage would be evenly split in half between the two. If one resistor had a vastly larger value, it would take up the majority of the voltage and the other would have very little.
We can then measure the voltage between the two resistors. If we know the value of one resistor and the voltage being applied across both, we can determine the value of the other resistor. Therefore, if we have a variable resistor (like a conductive knitted swatch), we measure the change in resistance.
We can do this by wiring the knitted swatch in series with a resistor and connecting the point between them to an analog pin on an arduino like the diagram below. You can then use analogRead() to measure the value.
To determine the value of the non-variable resistor, first measure the resistance of your conductive swatch as described in the section above. You need to have the range of resistances, so do this with the fabric not stretched then with it stretched. Choose a value for the resistor that is approximately in the middle of these two values (e.g. if your swatch varies between 100 and 200 ohms, your resistor would need to be 150 ohms).
For more information on voltage dividers, click here.


