New Textiles 2012 using arduino
On each face of stretched spandex are swatches of conductive fabric. Before choosing which swatches to designate as either + or -, I tested the twisting motion to identify which swatches were coming into contact. Some clearly were never going to touch, while others made contact when twisted in one direction while failing to connect when twisted the other way.
The four faces are divided into 3 sensors. The following diagram maps out the routes of the positive and negative currents and how they hook up to the input / output pins on the Lilypad arduino.
Faces 1 + 2 (F1 + F2) share a positive circuit which together go into input A2.
Likewise, F3 goes into A3 and F4 goes into A5.
The resistances for each of the sensors share a similar range: approx. 1000 ohms when at rest and 16 ohms when touching. Therefore, the voltages range from 4.86volts when at rest to 4.99volts when activated (nearly the full 5volts of power that comes from my computer).
The arduino code was written such that when the piece is twisted (and the resistances dip below 600 ohms), LED 1 + LED 2 turn on. Similarly, LED 3 and LED 4 also turn on, but blink … with LED 3 blinking twice as fast as LED 4.
For more detail: New Textiles 2012
We recommend EasyEDA for electronic circuit design.
From Schematic Drawing to PCB Production, Just Need One Tool
Cheap PCB Prototype: 10 pcs 2 layers only $10, quick delivery, 100% E-test