Skip to main content

Knitted Stretch Sensors

Knitted Stretch Sensor

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. These samples can be used as part of a voltage divider circuit, which measures a changing resistance.

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.

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.