Night Sky Halloween Costume

Pages
Contributors: Feldi
Favorited Favorite 7

Arranging Your Circuit

Each dot you marked with the Sharpie represents where a single LilyPad LED will live. Almost 200 LEDs have been included on our cape. That translates to 10 circuits. Count the number of dots you drew and divide that by 18-21 to figure out how many circuits you will be breaking the constellations into. It is OK if some circuits have a few more LEDs than others.

Do not worry about LEDs in a given constellation being part of separate circuits, as the wiring will be hidden upon completion.

While working on this project, we found it to be best practice to work on one circuit at a time. The following steps describe how to make a single circuit. Repeat until all the LEDs on your garment are sewn into a circuit.

STEP 6:

Find a set of 18-21 dots on your garment and place LilyPad LEDs over them. Place the LilyTiny somewhat centered among the LEDs and two LilyPad coin cell battery holders upside down, as they will ultimately be placed on the opposite side of the garment.

Plot LEDs

STEP 7:

Using the circuit diagram provided above and a white pencil, start to draw out the circuit design on the fabric. Keep in mind that traces cannot cross each other as that will cause a short.

When you have figured out the general arrangement of LilyTiny to LEDs, that will allow you to sew the circuit together as expressed in the diagram and start to hot glue the electronic components down in place. Make sure that the '+' and '-' tabs are arranged properly. The battery holders will live on the opposite side of the garment, so do not glue them down just yet but rather keep them in place for reference by leaving them upside down.

Remember: Glue is great for keeping your components in place, but it can interfere with your circuit. Try to keep glue clear of sew tabs.
[![Plan Circuit](https://cdn.sparkfun.com/assets/learn_tutorials/7/0/3/Glueresize.jpg)](https://cdn.sparkfun.com/assets/learn_tutorials/7/0/3/Glueresize.jpg)
###STEP 10: Using a red colored pencil, draw lines from I/O pins 0, 1, and 3, past the '+' tabs to the LEDs that they will connect to.
Note: Notice that pin 2 is not being used. This pin has a built in blink animation when connected to an LED. While a lovely animation, it doesn't suit the purpose of this project, so we are sticking to pins 0, 1, and 3.

Then use a yellow colored pencil (or any color other than red) to draw a ground line connecting all '-' tabs according to the diagram.

Drawn Circuit

You will use these drawn lines as a guide on the sewing machine, so they should be straight and pass by all the sew tabs they will eventually be connected to.

Once the circuit has been drawn, flip the garment over and hot glue the two battery holders into place.