How to Make a LilyPad Arduino LED Skirt

21,610

174

8

Posted

Introduction: How to Make a LilyPad Arduino LED Skirt

Microcontroller Contest

Finalist in the
Microcontroller Contest

The skirt blinks randomly when it gets dark.
To see the skirt in action visit: http://collarandlapel.com/category/rock/lilypad-arduino-led-rock-lilypad-arduino-led-skirt/

Material lists:

Tulle
Lining (I have used medium-weight cotton.)
Elastic tape
Scissors
Sewing Yarn
Sewing machine
Bias Tape

LilyPad Arduino
Several LilyPadLEDs (you can also use normal LEDs, but please consider that you will also need resistors)
Conductive Thread
Sewing needles
LilyPad Light sensor
Battery holder
Battery



Step 1: Tulle Skirt Pattern

Make the skirt pattern as specified above. If you want the skirt more fluffy, just add some more layers of tulle.

Step 2: Sewing the Tulle Skirt

1. Sew sides of lining together and serge the edges.
2. Sew sides of tulle together.
3. Lay the different layers on top of another and sew the layers together at top end.
4. Take an elastic band and sew the ends together. (The width should be comfortable for you.)
5. Pin the elastic tape with some pins to the skirt.
6. Use the zig-zag stitch of your sewing machine to add the elastic tape to your skirt.
7. Add bias tape to serge the hem of lining.

Afterwards you can make your skirt blink with the help of LilyPad Arduino.

Step 3: Arduino Sketch

//array of LEDs
int leds[] = {2, 5, 6, 9, 10, 11, 12, 13};

int randNumber;

//light up LED
void blinken(char a)
{
  digitalWrite(a, HIGH);
  delay(10);
  digitalWrite(a, LOW);
  delay(10);
}

void setup()
{
//set pinmode for all 8 pins see leds [] array
  for (int index = 0; index < 9; index++)
  {
   pinMode(leds[index], OUTPUT);
  }

//pins used for light sensor
  pinMode(A3, OUTPUT);
  digitalWrite(A3, HIGH);
  pinMode(A4, OUTPUT);
  digitalWrite(A4, LOW);

//set pin to GND
  pinMode(3, OUTPUT);
  digitalWrite(3, LOW);
}

void loop()
{

//get value of light sensor  
  int wert = analogRead(A5);

  if(wert<125)
  {
//catch random value betweeen 0...8
    randNumber = random(0,9-1);
 
//light up sensor of 3 pin rows each connected to 1 arduino pin  
    blinken(char(leds[randNumber]));
    blinken(char(leds[abs((randNumber+2)/2)]));
    blinken(char(leds[abs((randNumber+4)/2)]));
   }
}

Step 4: The Finished Skirt

...some more impressions of the working process..

Hope you like it. If you have any questions, I would like to hearing from you.:)

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Gluten Free Challenge

    Gluten Free Challenge
  • First Time Author Contest 2018

    First Time Author Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

8 Comments

How can you change this so it supports the LilyPad with only 9 pins instead of this one?

Nice project! please let me know....... any fire risk?

I was wondering how the skirt stays poofy: is there a petticoat underneath the skirt? Did you just put some layers of tulle? Thanks!

This project is beautiful! I really like your stitching pattern.