When discussing soft circuit components, especially when talking to those unfamiliar with electronics, it's extremely useful to be able to point to a physical device demonstrating how components connect to another and their possible functionality. In that vein, I sewed together all the LilyPad components (with the exception of the XBee) and wrote a small script that ties each sensor to an output device.
When complete, the model demonstrates four functionalities:
1) a light sensor that, when covered, triggers the LilyPad to play a programmed song;
2) an accelerometer that, when shaken, triggers a flashing light;
3) a temperature sensor that, when triggered, vibrates a motor; and
4) a button that, when pushed, triggers a flashing light.
The video below demonstrates all the functionality of all components. The sound board has a low output so turn your speakers up!
Step 1: Layout of Components
1 LilyPad Main Board
3 White LEDs
1 Tri-Colored LED
1 LilyPad Power Supply
1 Vibe Board
1 Light Sensor
1 Temp Sensor
1 Button Board
I wanted to expose all the sewing lines, so I thought it best to utilize the circular nature of the LilyPad by spacing the components in a ring around the main board. After placing the components and determining which pins would connect to which components, I sewed everything down, purposefully not sewing the Positive and Minus lines required for power of the main board and all the sensors.
Step 2: Negative Line
I first cut strips of Garment Shielding which is composed of 70% bamboo fiber and %30 silver. This material is quite similar to cotton fabric which means it frays quite easily. The idea is to lay down strips of fabric and connect the power pins on the sensor components to the strips.
Step 3: Positive Line
To sew to the positive line I had to make "jumpers." I needed to first stitch a piece of non-conducting fabric over the negative line then sew from the positive end of the component to a piece of conductive fabric on top of the non-conductive fabric.
I also used strips of Copper Taffeta which is very easy to work with (no fraying); however, the taffeta cannot be washed and it will tarnish over time.
Step 4: Finishing Up
I wrote some demonstration code that partially relies on Leah Bucheley's acceleration shirt code. However, this demo setup lets new users play with the software and think about functionality without having to sew all the materials together, thereby gving a better sense of how e-textiles and embedded electronics work.
The code in the zip file connects the accelerometer to the RGB LED, the button board to the three white LEDs, the light sensor to a song by TI (RubberBand Man), and the temperature sensor to the vibration board.
This material is based upon work supported by the National Science Foundation under Grant No. 0855886 to Kylie Peppler. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.