Lab 1: Digital switches in textiles

Lab documentation for Textile Interfaces with Kate Hartman.

Making Digital switches in textiles.


  1. Create 3 kinds of digital switches.
    1. (1) bridge switch
    2. (1) other kind of fabric switch
    3. (1) switch with a different material
  2. Connect them to your Arduino.
  3. Program your Arduino: [sample code]
  4. Check values in the Serial Monitor.
  5. If you have time, use the values to control something.

Other Code Examples:




Switch no 1: The tulle stretch “sometimes” sensor. This sensor stretches the lines of conductive thread in parallel when pulled. When released, the conductive threads make a brief connection. This type of switch could be used for making effects in clothing dependent on people’s movement. For instance, whenever a connection is made, an LED briefly sparks.
Switch no 2: The Bow button sensor. This sensor uses a button in the center to both make the shape and connect two pieces of conductive thread. This functions as an on/off switch.
Switch no 3: The bridge switch. This sensor makes a gap between 2 conductive fabrics, that must be either folded or connected by a third piece of fabric.