Intro: Color Mixing LED Bracelet
This project can be a good introduction to soft circuits and how to build a basic circuit. It uses conductive thread, CNC cut conductive fabric and resistive plastic, or Velostat. An RGB LED is sewn in to the bird design as it's eye and changes color when it is on and the three homemade pressure sensors are pressed.
After building this project you will hopefully have a better understanding of what a RGB LED and a basic circuit is. As well as picking up some essential techniques for building soft circuits.
Step 1: How It Works
The bracelet circuit uses a basic circuit which consists of a LED, power source and a resistor. Let's go through and talk about how each of these components work and how they translate into a soft circuit bracelet.
This project swaps hard metal parts for soft metallized fabric and thread. Typically copper wires or screen printed metal traces on a circuit board connect all the components together. Metal is conductive, so it allows electricity to flow from the battery to the LED, causing it to light up. Instead of wire, this project uses conductive fabric. Connections on a circuit board between the wire and the components are made by soldering with metal alloys. Instead of using solder, we will be making these connections by sewing with conductive thread.
Before we talk about the resistor in the circuit, let's go over what it does and why it's needed. A battery provides a specified amount of voltage and current. The LED takes a certain amount of current and voltage to operate. If it gets too little, it won't light, if it gets too much, it will blow up (a minor explosion, finding an LED's limit can be quite a fun experiment). The resistor limits (resists) the electrical current to a safe level that won't blow the LED out.
The resistor in the above circuit diagram has a value of 220 Ohms, a standard value that works when powering a LED. LEDs usually operate with around 2.2 volts, depending on their color and manufacturer. This bracelet has a resistor too, it actually has three, one on each color channel of the LED. Instead of being a piece of hardware, we will use thin, sewable plastic called Velostat. It is impregnated with carbon black which makes the plastic electrically conductive. It has a pretty high resistance when left alone, much higher than wire. When the electrical current runs through the plastic and pressure is applied, the amount of electricity let through changes, which is why the brightness of the LED changes.
Want to know more about how current, voltage and resistance relate to one another? I recommend reading more about it over at Sparkfun, they have a great intro to current, voltage, resistance and Ohm's Law.
Step 2: Intro to RGB LEDs
If you don't already, it's helpful to know how an RGB LED works before making the bracelet.
RGB stands for Red, Green and Blue, there are three LEDs of each of these colors inside one RGB LED. There are two kinds of RGB LEDs to be aware of, common cathode (ground) and common anode (power). An LED is a diode, meaning electricity flows through it one way, it will not light up if hooked up incorrectly. When a LED is common ground it means that all 3 channels share the fourth lead that should be connected to ground ( - side of battery). If common power, same thing except the shared lead is connected to power (+ side of the battery). Once you know if you have common ground or power, you will also know which way to sew your battery on. To figure out what kind you have, you can do a quick test.
Look for the longest lead, this will be the lead that hooks up to either ground or power. Separate one of the other leads out and touch one to power and the other to ground, if doesn’t light up, switch. Keep touching the other two leads to the battery to identify which pin is what color. The diagrams shown here don't represent all RGB LEDs, so it's good to identify the leads for yourself.
Common ground is more often found, however I am using a common power LED.
The color produced by mixing light is called additive color. When the brightness level of one channel is mixed with another you get a different color. For example, if the green channel gets zero power, but equal amount is going to the red and blue, you get purple, brighten the red a bit more and you get fuschia. Yellow is made by giving the red channel power and the green channel less. When all channel are on at the same brightness, white is produced.
Step 3: Design Pattern- Optional
This step is optional. I have attached the bird design for you to use so you can get to building. Alternatively, you can put a pencil to paper and create a different design to work with. Skip to the next step if you would like to use the bird.
There is a bottom design and a top design of the bracelet. Let’s start with the top.
While designing the top, there are 2 things to make sure of:
1) The final design is made up of 4 separate shapes. Each of these shapes will be connected electrically to different leads of the RGB LED. You do not want them to touch at any time, that will create a short!
Each shape will be connected to the red, green and blue channel of the LED, the fourth being power (or ground depending on the kind of LED).
2) The three shapes that will connect to the red, green and blue channels of the LED need to extend towards one edge of the rectangle. Put some space between them and straighten them out. This gives you more surface to press on once the bracelet is put together.
Once satisfied with the design, scan it and open it in Illustrator or another CAD program that has draw and trace tools for illustration. Trace the image with the Pen tool in Illustrator so you can clean up and manipulate the path of the design as much as you like.
To help scale the design , measure your wrist with a soft measuring tape, take the length and draw a rectangle that is wrist measurement x 2.5”. Use this rectangle to fit the design in. Keep the outer edges of your wrist measurement marked, these two lines are where you cut along for the clasp. Before doing that however, add 1.25" on both ends for the clasp. Mark a slot about 1.5" on the end where the resistive plastic will be sewn. For the part that goes through the slot, cut in .625" from the edges towards the middle.
It helps to print out the bracelet pattern and your design on paper and try it on to make sure it looks as you want it to. This is also perfect for drawing in the battery holder, stitch lines and anything else that is part of your layout.
Step 4: Cut Bracelet
Download the attached .zip, it contains all the cut files as jpegs and illustrator (.ai) files so you can alter the size and shape if you like.
Steam out the felt to get rid of wrinkles and creases. Lay the pattern down on the felt. Cut around the edges and mark the slot and tab with pins or something that can be removed from the felt later on.
Step 5: Cut Conductive Fabric
The conductive traces will actually be cut from two materials, paper and conductive fabric. You are welcome to omit the paper step, but it's helpful for placement when ironing on.
Cut Paper Design
Take some paper and smooth it on the Silhouette’s cutting mat. Load it in the machine and connect your computer to it via USB.
If you designed your own pattern, save it as an image file in your CAD software before importing it.
Import the previously downloaded jpegs in to Silhouette Studio. Use the trace tool to select and trace the outline of each image. After the tracing is complete, switch to the cut settings and do some tests with some presets. Card stock should work well. When ready, cut the entire top and bottom pattern out. Check it with your bracelet pattern one last time, making sure the battery holder with hit both the top and bottom and the three channels of the top pattern are close enough to the edge, .25” or less. If it all looks good, move on to conductive fabric!
Cut Conductive Fabric
Cut a piece of fabric big enough for the designs. I have included the illustrator file, so you can can group them together to save space if you like.
Smooth the fabric over the cutting mat, load and cut the final designs using the below settings.
Blade : 2
Speed : 8
Thickness : 14
Piece to cut:
- Bird pattern (top four traces)
- Bottom trace
For more details on this method and how to use the Silhouette Cameo, check out my CNC Conductive Fabric Circuit Instructable.
Step 6: Cut Resistive Plastic
Otherwise known as Velostat.
Follow the previous steps to cut using the silhouette or these can be easily cut by hand.
Step 7: Iron on Traces
Take the paper cut outs and place them on the bracelet, tape them down on to the felt and try it on. Check to see if the bottom design overlaps and touches the top design over the three separate channels. One tab of the holder will be sewn to a top trace, the other is sewn to the bottom.
If all looks good, start replacing the paper pieces with fabric, with the iron set to Medium heat.
Step 8: Prep LED
Take the RGB LED, singe out the common ground or power pin and bend it to a 90 degree angle. Take the other three pins and do the same. Use rounded needle nose pliers and curl up the ends of the pins towards the LED.
Place the LED on top of the design and arrange the pins so they touch their respective shapes, but remember, not each other!
Step 9: Sew LED
Thread a needle with about 18” of conductive thread and make a knot at the end. Thread the needle through the bottom of the felt, piercing through the conductive fabric on the top. If the needle is not already through the curled looped leg you created, thread it through. Make several tight, small stitches going around the loop and through the conductive fabric and felt. Make at least 6 stitches. It’s important to make a good and secure connection between the LED lead and the conductive fabric trace. Finish and knot on the bottom. Do this for the rest of the leads.
When done sewing, turn the bracelet around and clip off any tails of thread, it’s easy for them to touch and create a short. Then take a multimeter and test the connections, to see that they are made securely by putting it on the continuity setting and putting one probe on the a LED lead and the other on the trace it’s sewn to. If it beeps and there aren’t any breaks, you have a solid connection.
Next, test that the connections are NOT touching each other. Thread is hairy and one little stray strand that can’t be seen can create a short. Touch one probe to one connection and the other to a second, if you get a beep, that means there is a short happening. Taking a piece of tape and use the sticky side to take of stray strands, or scrape between two connections to move away any strands that are hard to see. Continue to test all the connections.
Use fabric glue to secure the knots on the back once you have confirmed they are not touching. Cover the knots well, coating every fiber and a little outside of each knot with glue.
Step 10: Sew Battery Clip
Take the battery clip and identify which tab is the positive side and which is the negative. Match the tab with the trace and lay it on top. Thread the needled through and make as many passes as you can until the needle can’t pass through the hole any longer. Knot off on the bottom and dab some glue on it.
Turn to the bottom and do the same to the second tab.
Step 11: Sew Resistive Fabric
At no time do you want the conductive fabric from the bottom trace to touch the conductive fabric on the top traces. Keeping this in mind, lay the Velostat over the conductive traces, covering the ends of the bird's tail feathers. The electricity must run through the plastic to the second piece of conductive fabric. This is how the current is resisted through the pressure of touch and how different colors are made due to the changing brightness of each channel. If one piece of bread of the sandwich touches the other (the two conductive fabric pieces), the electricity will skip the meat (plastic). This is because electricity takes the path of least resistance.
Keeping this in mind, lay the Velostat over the conductive traces, covering the ends of the bird's tail feathers. Tape in place and put the bracelet together to test once more that the bottom and top traces don’t touch each other, except through contact with the plastic.
Thread a needle with non-conductive thread and start sewing them down. Use a basic running stitch and go around the edge once, then a second time, filling in the spaces between the stitches to produce a solid stitch line. You can also use a backstitch.
Step 12: Add Battery
When building electrical circuits, the moment of truth is always when power is applied. It’s either going to work or not. I always count on it to not work, which is funny, but true. It’s helpful to always be ready with a list of things to troubleshoot.
So, now is the time for your circuit’s moment of truth. Pop the coin cell in the holder and put the bracelet together. Press the bottom trace pads on top of the resistive channel pads. The LED should light up and change color depending on what color channels are being pressed the hardest.
If it is not working as expected, here are some things to troubleshoot:
If the LED is not lighting up:
- Check connections again with multimeter
- Check for shorts with the multimeter
- See if the LED’s power and ground legs are connected to the power and ground sides of the battery
If the LED is on but the color can not be changed:
- The bottom and top traces are touching and bypassing the resistive plastic. Reposition or recut the plastic.
If only the red channel is lighting up:
- Each color channel takes different amounts of voltage. The red typically takes around 2V and the blue and the green typically take around 3V. Each battery is a little over it’s voltage, so the 3V battery we use will power the blue and green channels for some time just fine. But, when it gets too low, below 3V, it will only have enough juice to power the red and not the other two. Swap or recharge the battery and the blue and green channels will glow once more!
Step 13: Wear
This bracelet is pretty on it's own, but really shines when you stop to show it off by interacting with it. Enjoy your new skills in sewing circuits and feel free to ask me questions on techniques, materials or design in the comment section.