Example Projects

Circuits and Code Wireless

Meet the Materials
Conductive Materials
Non-Conductive Materials
Thinking Out Loud
Example Projects
  • Action Figure Motion-Capture
  • Alpaca T-Shirt Hack
  • Aluminum Foil Tilt Sensor
  • Amplified Pillow Speaker
  • Sockpuppets
  • ATtiny Snap Diamond
  • ATtiny Drawdio Bracelet
  • Bela + Blanket
  • Bend Sensor Glove
  • Breathing Belt
  • Corset Breathing Sensor
  • Data Logging Broach
  • Datagloves Overview
  • DIY Arduino Data Gloves
  • DJ Hoodie
  • DressCode Dress Shirt
  • DressCode Examples
  • DressCode Necklace
  • DressCode Vest
  • E-Textile Datagloves Overview
  • E-Textile Sensor Wall
  • Eeontex Projects
  • Example Circuits and Code
  • Fab Intro: Continuity Bracelet
  • Fabric JoyPad
  • Frequency Finger Gloves
  • glovephone
  • Granny Square MIDI
  • Grias Di Hut
  • Jenny‚Äôs Playlist Costume
  • JoySlippers
  • Jumpsuit for actionman
  • Interactive KnitBook
  • lulu masks
  • Lulu optic fiber swatches
  • Massage my feet
  • Mouse in a Hole
  • Multiplexed Pillow
  • Musical Pillow
  • My Segments Display
  • Necklace Display - Beaded LED Matrix
  • Neoprene LED Light Pouch
  • Openwear Finger Bend Sensor
  • Penguin Control
  • Piano T-Shirt
  • Capacitive LED Fower
  • Puppeteer Costume
  • Puppeteer Gloves
  • Safetypin Dataglove
  • Sensitive Fingertips
  • Sensor Sleeve
  • Silent Pillow Speaker
  • soft walk socks
  • Solar T-Shirt
  • Solar T-shirt II
  • Sonic Insoles for Magic Shoes
  • Star Light
  • Stretch Sensitive Bracelet
  • Stirring Queen Mask
  • Textile Sensor Demo Station
  • Tie-Poly Leggings and Dataglove
  • Tilt Sensing Bracelet
  • Tilt Sensor Demo
  • Time Sensing Bracelet
  • Touch Sensitive Glove
  • TrafoPop LED Jacket
  • Wearable Sound Experiment
  • Wearable Toy Piano
  • Wearable Waste of Energy
  • Wireless JoySlippers
  • Wireless Tilt Sensing Bracelet
  • Support the creation of content on this website through PATREON!
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • E-Textile Shopping

    Content by Mika Satomi and Hannah Perner-Wilson
    E-Textile Tailor Shop by KOBAKANT
    The following institutions have funded our research and supported our work:

    Since 2020, Hannah is guest professor of the Spiel&&Objekt Master's program at the University of Performing Arts Ernst Busch in Berlin

    From 2013-2015 Mika was a guest professor at the eLab at Kunsthochschule Berlin-Weissensee

    From July - December 2013 Hannah was a researcher at the UdK's Design Research Lab

    From 2010-2012 Mika was a guest researcher in the Smart Textiles Design Lab at The Swedish School of Textiles

    From 2009 - 2011 Hannah was a graduate student in the MIT Media Lab's High-Low Tech research group led by Leah Buechley

    In 2009 Hannah and Mika were both research fellows at the Distance Lab

    Between 2003 - 2009 Hannah and Mika were both students at Interface Cultures
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition
    Example Projects

    Musical Pillow

    An example using the LilyPad Arduino sewn to a pillow with a speaker and fabric tilt sensor, playing a different note for each petal of the sensor. The pillow also has an analog pin broken out to one of it’s corners to be connected to any external analog sensors to make noise.



    Materials and tools:

    Sketch out your circuit connections:

    Thread needle:

    Cut out a piece of felt to mount behind LilyPad for improved electrical contact when sewing with conductive thread to circuit baord holes:

    Tie knots at the ends of your thread and keep ends short. Use nail varnish on ends to stop fraying.

    Trace shapes on conductive fabric with fusible interfacing and cut out:

    Fuse to pillow fabric with an iron:

    Or sew the patches down if your fusible doesn’t hold:-)

    Finished back:

    Finished front:


    Program the LilyPad Arduino:

    Arduino Code:

    #include “pitches.h”

    // declare array of input pins connected to tilt sensor petals:
    int tiltPetals[] = {

    // declare pin variables:
    int analogCorner = 3;
    int GNDcorner = 10;
    int speakerPin = 9;

    // declare storage variables:
    int tiltValue;
    int cornerValue;

    // declare array of notes associated with each tilt petal:
    int notes[] = {

    void setup() {
    // declare tilt sensor petals pins as digital inputs:
    for(int i = 0; i<6; i++){ pinMode(tiltPetals[i], INPUT); digitalWrite(tiltPetals[i], HIGH); // set internal pull-up resistors } // declare analog corner pin as analog input pinMode(analogCorner, INPUT); digitalWrite(17, HIGH); // set internal pull-up resistor (analog pin 3 = digital pin 17) // declare other corner as output and set to be GND: pinMode(GNDcorner, OUTPUT); digitalWrite(GNDcorner, LOW); // declare speaker pin as output: pinMode(speakerPin, OUTPUT); Serial.begin(9600); // begin serial communication for debugging } void loop() { for(int i = 0; i<6; i++){ tiltValue = digitalRead(tiltPetals[i]); Serial.print(tiltValue); // print value to serial monitor for debugging if(tiltValue == 0) { tone(speakerPin, notes[i], 1000); } } Serial.println(); // print a linebreak after each for loop cornerValue = analogRead(analogCorner); if(cornerValue < 1000) { tone(speakerPin, cornerValue, 250); } //Serial.println(cornerValue); // print analog value for debugging delay(10); }

    4 Comments so far

    1. […] Via: Kobakant […]

    2. LilyPad Arduino | Musical Pillow on March 14th, 2013

      […] information here. Last updated March 13, 2013. st_go({v:'ext',j:'1:1.7',blog:'40231240',post:'1780'}); […]

    3. Nikita on August 22nd, 2013

      What is the total expenditure of this project?
      Where i can get all these materials from?
      Wanted to confirm, if all that required is,
      1. regular fabric
      2. conductive fabric
      3. felt
      4. lilypad arduino
      5. sewable speakers (what is so special about it?)
      6. metal beads
      7. regular beads
      8. conductive thread.

    Leave a comment