Glowing Pin

Pages
Contributors: Gella
Favorited Favorite 0

Introduction

In this project, we’ll create a wearable pin using conductive thread to connect a LilyPad LED to a battery holder. Follow along by drawing your own design on a piece of fabric, or download and print one of SparkFun’s designs.

Design and build time: 30 minutes — 1 hour

glowing pin

This is Project 1 from the LilyPad Sewable Electronics Kit, take a look at the other projects in the kit:

Suggested Reading

If this is your first sewable electronics project, we recommend you read our LilyPad Basics tutorial.

LilyPad Basics: E-Sewing

December 17, 2016

Learn how to use conductive thread with LilyPad components.

Materials and Tools

Let’s go over all of the things you’ll need to sew your project together.

LilyPad Sewable Electronics Kit

KIT-13927
$ 99.95
2

Items included in the LilyPad Sewable Electronics Kit:

alt text

You Will Also Need:

  • Pen, marker, or chalk
  • Fabric to draw a design on or printable fabric (optional)
  • Scissors
  • Hot glue gun (with extra glue)
  • Printer if you are downloading and printing one of SparkFun’s pin designs

Planning Your Project

For this project, we’ll be using the Glowing Pin template (download below or use the template included with your kit). If needed, download and print the provided template. We've also provided some color and black and white designs to use with printable fabric for the top layer of the pin. Right-click the images below and choose “Save Link As” to download the template to your computer.

alt text

Right-click and choose “Save Link As” or click image to download PDF

Printable Fabric Designs:

alt text alt text

Right-click and choose “Save Link As” or click image to download PDF

After downloading a design, follow the directions on the package of your printable fabric to print them out. Feel free to create a larger pin by scaling the downloadable designs, if you’d like more room to work with or for a real statement piece.

Trace the pin template on white felt and cut out. We’ll be building our circuit on the felt piece, then adding a decorative layer of fabric with designs on top of it. Trace and cut a slightly larger circle or SparkFun design out of thin fabric (or design your own out of felt) for the top layer of the pin.

alt text

Understanding Your Circuit

This project is an example of a basic circuit – an electrical loop that travels from a power source along a path (called a trace) to a component (or components) that uses the electricity to function, and then back to the power source. For our project, we’ll use an LED (Light-Emitting Diode). When this loop is completed by stitching the pieces together with conductive thread traces, electricity from the power source is able to flow from the positive (+) side of the battery through to the LED (lighting it up) and back to the negative (–) side of the battery. This electric flow is called current. As you build projects with LilyPad pieces, you will learn different ways to design conductive thread circuits and experiment with additional pieces that help control or use the flow of electricity.

alt text

Take a look at the LED and battery holder. Notice that the silver sew tabs are labeled either positive or negative. Many electronic components have polarity, meaning electric current can only flow through them in one direction.

alt text

If hooked up incorrectly, they will not light up. The batteries in this kit are also polarized; they have a positive and negative side. Always check the labels on LilyPad pieces to make sure they are correctly oriented before sewing together a circuit.

alt text

Arranging Your Circuit

Position the battery holder with the ON/OFF switch to the left side and the bottom two sew tabs close to the bottom edge of the felt. Use a small dot of hot glue in the center of the holder to attach it to the felt, as shown. Gluing the battery holder on this way leaves room for placing the LilyPad LED on the felt.

alt text

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.

While planning the LED’s placement, note that it will need to be slightly above the center or toward the top half of the fabric so it doesn’t touch or overlap the battery holder.

If you are using one of SparkFun’s pre-made designs, hold the design over the felt, and use a fabric marker or chalk to mark where the LED should be placed to shine through. Gather one LED (snap off of an LED panel if needed).

Before attaching the LED, rotate it so the (+) and (–) symbols on the LED board align with the (+) and (–) symbols on the battery holder’s sew tabs. Use a small dab of hot glue on the center of the front of the board to secure to the felt. Be careful not to cover the holes with glue – we’ll need those to sew through later.

alt text

Stitching It Together

If you need help sewing with conductive thread, this tutorial covers the basics.

STEP 1:

Cut a long piece of conductive thread, thread the needle, and tie a knot at the end. Now, it’s time to connect the LED to the battery holder with the conductive thread. One line of stitching will connect the positive (+) side of the battery holder to the positive end of the LED. A second line of stitching will connect the negative (–) sides of the boards and complete the circuit.

alt text

STEP 2:

Finish your first line of stitching by tying a finishing knot on the sew tab and trimming your excess thread.

alt text

Don’t forget! You’ll need to tie a new knot at the end of your thread before you begin the next section of stitching.

STEP 3:

Repeat the process with a new piece of thread to connect the negative side of the battery holder to the negative end of the LED. Be careful not to let the stitches touch the path used for the positive connections, as that would cause a short circuit. Trim any thread tails before testing. Now, the circuit is complete!

alt text

Installing Your Battery and Testing

Insert the coin cell battery with the positive side facing up, labeled as (+), into the opening on the battery holder across from the ON/OFF switch. Turn on the switch to allow current to flow through the circuit. Turn off the switch when not in use to prolong battery life.

alt text

How to place a battery in a LilyPad Battery Holder..

Troubleshooting

With any electronics project, there are times you will have to troubleshoot if your circuit isn’t working. If your circuit isn’t lighting up, try a new battery or check that your project is switched on. Check your sewing for any loose threads or ends that may be touching other parts of your circuit and causing a short circuit. Learn more about troubleshooting your project in the LilyPad Basics: E-Sewing tutorial.

Finishing Touches

alt text

With the battery removed, use a hot glue gun or thread to attach your fabric design over your felt circle so the LED shines through. Draw a design on the fabric, if you’d like (or see design templates in the Planning Your Project step). Turn the project over, and attach an adhesive pin back to finish up your wearable art!

alt text

Here are a few examples of creative glowing pins:

Resources and Going Further

Looking for another project? Let’s move on to Project 2: Illuminated Mask in the LilyPad Sewable Electronics Kit.

Illuminated Mask

December 16, 2016

Use LilyPad LEDs, a switched battery holder, and coin cell battery to make a fun light up mask for your next costume party.

These tutorials will guide you through more advanced projects and concepts:

Insulation Techniques for e-Textiles

Learn a few different ways to protect your conductive thread and LilyPad components in your next wearables project.

Planning a Wearable Electronics Project

Tips and tricks for brainstorming and creating a wearables project.

Choosing a LilyPad Arduino for Your Project

Not sure which LilyPad Arduino is right for you? We'll discuss the features of each and help you decide.