I was inspired by these instructables:
Open Heart LilyPad Brooch
The open heart kit was created by Jimmie Rodgers.
Step 1: Materials & Tools
1 open heart kit
1 LilyPad Arduino
1 LilyPad power supply
1 hoodie with a nylon zipper and a metal pull. sleeves are optional.
1 spool of conductive thread
1 spool of regular thread
1 bottle of puffy paint
6 magnetic snaps
1 AAA battery
8 wires with alligator clips
some extra fabric
soldering iron, solder, etc.
sewing machine or needle
needle nose pliers
dremel drill, hacksaw, or metal file
fabric marker or pencil
Step 2: Wiring Diagram
Try to choose pins on the lilypad that are closed to the pins on the heart. The best fit i found to match the hear to lilypad respectively was:
1 = 12
2 = 2
3 = 10
4 = 7
5 = 5
6 = 4
Connect the negative pin on the lilypad to one of the negative pins on the power supply. I used the one closest to the positive pin.
Connect the positive pin on the lilypad to the zipper. Connect the zipper to the positive pin on the power supply.
Step 3: Code
There are a series of heart shaped patterns that are each displayed for "runspeed" number of times each time for "blinkdelay" milliseconds. Once all of the patterns have been displayed, the series will repeat itself.
Once you finish with the code upload it to the lilypad.
Step 4: Prototype and Test
Assemble the heart, lilypad, and power supply according to the diagram. Wires with alligator clips will really make this part easier. You do not need to use the zipper switch during testing. Upload the code and watch it go! This would be the time to work out any pin mapping issues before you start sewing. It is much easier to debug code and pin mapping errors if you are not worrying about thread being stitched too loose or crossing other threads.
Step 5: Sew the Circuit
File the side of the zipper pull. Be sure to remove all paint. You need clean metal to make contact to the pads.
Step 6: Add Magnetic Snaps for Heart
Once the snaps are all soldered on, lay the PCB on the hoodie where you want it to be attached. Mark the location of the snaps on the fabric. Then push the tabs for the other half of the snaps through the fabric in those locations. You should be able to separate the fabric fibers enough to push the tabs through without cutting the fabric. Slide the backing plate on and bend the tabs down to secure the snap.
Step 7: Insulate and Attach Components
Sew each of the conductive thread pads to their respective snap backing on the hoodie. Be sure to tie these connections tight. If they are too loose they could move and short when hitting a nearby snap.
Attach a swatch of fabric to the back of the heart. Loop thread around each snap near where it is soldered onto the PCB. Then trim excess fabric so that it follows the edge of the heart. I would suggest using fabric that either matches the hoodie or the PCB.
The power supply does not lay over top of any conductive thread traces so I you can probably get away without adding a swatch to the back of it. Double check that you are attaching the correct traces to the positive and negative pins.
Step 8: Power Up. Zip Up. Light Up.
Here is a video of the completed hoodie: