The LilyPad Electronic Platform is an electronic platform designed to be easily sewn into fabric using conductive thread, which provides designers freedom from the traditional construction method of soldering.
EL wire (electroluminescent wire) is a thin wire the glows when an AC voltage is applied. The wire is often wrapped in a colored transparent tube and is quite pliable. Many people often outline clothing (hats, pants, jackets, etc.) with EL wire, giving the garment an interesting colored glow. We, however, want to not only outline a garment but also control when the EL wire is lit.
Controlling the EL wire is not difficult but it does require some electronic pieces that everyday crafters may not be familiar with.
Step 1: EL-Wire Difficulties
This is the beginning of our problem: how can we use the LilyPad to turn the EL wire on and off if the EL wire is controlled by an AC signal and the LilyPad uses DC? And the problem is often even more difficult, because the LilyPad board can be powered between 2.7-5.5 V. Inverters often have input DC voltages of 1.5V, 3.0V, and 12V, though input voltages range between 1.5V and 18V. Furthermore, if there is a spike or surge with the inverter it may damage the LilyPad.
Step 2: Optoisolator
Luckily, good electrical engineers invented the optoisolator. Simply put, the optoisolator uses an IR LED to send an photon to a detector to control other side of the circuit. I used an NTE3044, which is an optoisolator with a Darlington pair. The Darlington pair is just two transistors in series.
If we connect the anode to a pin on the LilyPad, the cathode to GND of the LilyPad, and the collector to the Plus side of the inverter power supply, then we have effectively isolated the LilyPad from any dangerous spikes. The emitter will used as the trigger for the Triac.
Step 3: Triac
Every time I send a signal from the LilyPad to the optoisolator, that pulse is translated to a 2V pulse from the Darlington Pair. That pulse then opens the gate and grounds one side of the EL wire. That's okay, because we are going to connect the copper core directly to inverter. If you hold one line of the EL wire at GND and the other line receives the AC signal, the EL wire will still work because the AC signal will still be oscillating relative to something--in this case, the GND of the battery.
Step 4: EL Wire
After soldering test that the EL wire illuminate when connected directly to the inverter and the inverter is powered by the appropriate source.
Step 5: Electronic Parts
- perf board
- soldering iron
- 330 Ohm Resistor
- NTE3044 Optoisolator Darlington Pair
- 6 or 8 pin socket
- Triac MAC-97A4
- 2xAA holder with 9V plug adapter
- jumper wires
Step 6: Solder Components
Notes: I curled up one end of the resistor so that I could sew from a pin on the LilyPad to the resistor.
A cartoon diagram is provided below. I soldered the DC inputs of the inverter to the resistor, triac, socket, power supply connecter, and two jumper wires: one for the minus side of the LilyPad and one for the copper tape on the EL wire.
I will provide an eagle file soon.
Step 7: Sewing and Soldering EL-Wire
- LilyPad Power Supply
- Conductive Thread
- El Wire
First decide on where the EL wire is going to be attached. We decided to simply outline the button of dress with the EL wire. Next sew the Lilypad and Power Supply to one another on the dress. Attach the perfboard with components, 3V power supply, and inverter to the dress (I used sticky back velcro). Lastly, solder the EL wire copper core to one side of the inverter and the angel wire to the jumper from the perfboard.
Step 8: Testing and Finish
When it's done, you'll be able to control the flashing of the EL wire!
This material is based upon work supported by the National Science Foundation under Grant No. 0855886. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.