Lilypad and Sewing

Learning how to make wearables

March 18, 2015. read.

Learning How To Sew

The Back Stitch

Working with LilyPad

Before we get started, here's what I built!

What is it?

What I implemented a very basic circuit using the lilypad that makes a LED blink on and off. The only difference between this and the arduino is that you can sew your circuit onto material. This allows you to construct wearables as seen from my circuit. I sew the Lilypad circuit and the LED using conductive thread onto a piece of felt. This could have easily been a piece of clothing.

Materials

  • Lilypad
  • LED
  • Conductive Thread
  • Felt / Piece of cloth
  • The Code

    void setup() {
      // put your setup code here, to run once:
      pinMode(6, OUTPUT);
    }
    
    void loop() {
      // put your main code here, to run repeatedly:
      digitalWrite(6, HIGH);
      delay(1000);
      digitalWrite(6, LOW);
      delay(1000);
    }

    This code is very trivial, all I did was setup pin 6 (which the LED was connected to by the conductive thread) and then loop it HIGH and LOW with a delay of 1000. This causes the LED to blink on and off.

    The Circuit

    This circuit is really what makes the difference between Lilypad and Arduino! Instead of plugging in wires I had to use the sewing techniques I learned from class to make this cirucuit connect correctly.