soundie: a musical touch-sensitive light-up hoodie using Arduino
This tutorial will show you how to create a garment that changes its behavior depending on how conductive you are. It detects conductivity through iron-on conductive fabric that we will use, and it will light up and sing different notes depending on how you touch the conductive fabric. We’ll be using sewable electronics (the LilyPad arduino module) and conductive threads and fabrics so that your garment will be soft and washable.
Step 2: Design and layout
Plan the layout of your garment.
When you place your hands on the conductive fabric of your garment, the program will detect that the circuit has been completed, and the LEDs and speaker will turn on. I laid out the conductive fabric on my hoodie in convenient places (arms, elbows, shoulder) that my hands might rest into naturally, so that placing my hands to complete the circuit does not cause strain.
Lay out what you want your garment to look like, and make a sketch (I’ve included mine below). Try not to plan too many overlapping conductive thread traces – the more overlaps you have, the more potential shorts you’ll encounter in the circuit. In my sketch, I’ve circled every spot where there’s an overlap with a blue pen.
Be sure to keep your power supply close to your LilyPad main board.
Conductive thread has nontrivial resistance. Leah Buechley has a nice explanation of what this does to the voltage at your LilyPad here. The general idea is that more resistance (that is, longer lengths of conductive thread) between your LilyPad and its power supply results in a lower voltage at your LilyPad. If the voltage is too low (generally below 3.3 V for the LilyPad), the LilyPad doesn’t get enough power and stops working.
In my design, the power supply and the LilyPad are actually too far away from each other. We will see how to remedy this in the next step.
Locate your power supply.
Consider where you want to place your power supply. The power supply is the heaviest and bulkiest piece of everything you’ll be placing onto your garment, so it’s nice to place the power supply somewhere that is unobtrusive and not delicate. For instance, you wouldn’t want to put it in the crook of your elbow, because then you wouldn’t be able to bend your arm. I placed it near my lapel, so that it’s both out of the way and at a spot with sturdy fabric.
Step 3: Transfer your sketch to the garment
Mark up your garment.
Use double-sided tape (or roll single-sided tape back onto itself to create an essentially double-sided tape) to attach your LilyPad pieces to the garment where the sketch says they should be. Be aware of what directions the + and – parts of the pieces should be facing (especially the LEDs – otherwise they won’t work!).
Then use chalk or fabric pencils to transfer your sketch to your garment. Be sure to be precise about how your lines look – you’ll be sewing over these same lines later on (it’s hard to change the path while you’re sewing). Also, make sure you match the lines to the holes on the LilyPad pieces – you’ll be sewing through those holes later on.
Next, cut out the shapes you want for your conductive fabric. Tape or pin the conductive fabric pieces to your garment. We’ll be ironing these on in the next step.
I often find it helpful to attach tape to spots where your traces overlap, so that you remember not to actually overlap the conductive threads. There’ll be more instructions on what to do at overlap junctions later in the tutorial in step 7.
For more detail: soundie: a musical touch-sensitive light-up hoodie using Arduino