The LilyPad Circuit
Every LilyPad circuit, no matter how complex, has three basic parts:
- A power source
- Conductive Paths (conductive thread stitching) between electronic components
- The LilyPad pieces that are connected together to light up, make sound or perform other behaviors (the “function” of your project)
Let's take a closer look into each of the parts that makes up a LilyPad circuit.
Choosing a Power Source
All LilyPad projects need a power source — most use either a 3V CR2032 coin cell battery or a 3.7V lithium polymer rechargeable battery. Which power solution you need will depend on a few factors: the size of your project, the type of LilyPad Arduino you choose, and whether you would rather replace or recharge a battery. The LilyPad line includes a stand-alone sewable coin cell holder or built-in battery connections for coin cell batteries or lithium polymer batteries (available on select LilyPad boards).
Conductive Thread Connections
LilyPad boards are made to be sewn together using conductive thread, a specialty thread made with stainless steel fibers. Used instead of copper wiring to connect LilyPad pieces together, it provides a soft and flexible connection between components that is incorporated directly into fabric. Each LilyPad piece has a large sew tab to accommodate a variety of needle sizes for attaching conductive thread.
LilyPad Pieces
The LilyPad line includes a variety of sewable components for creative projects. Choose from LEDs in a variety of colors, buttons, switches, sensors, buzzers and controller (Arduino) boards. Check out all of the individual LilyPad pieces here. Which pieces you choose to build into your project will depend on your individual vision and goals. Read on for more about the different types of LilyPad projects you can make.
Types Of LilyPad Projects
No matter what type of project you are looking to start with LilyPad they can be divided into 3 categories:
- e-Sewing (Simple Circuits)
- Pre-programmed
- Programmable with Arduino
Let's dive into each of these categories and direct you to some help along the way.
Keep it simple.
A great way to try out sewing with conductive thread without programming is to create e-sewing projects. LilyPad LEDs and a LilyPad Coin Cell Battery Holder will light up a project, and the possibilities can be expanded to include simple interactive elements like buttons or switches, which you can purchase or make yourself. We recommend e-sewing projects if you are new to sewing or want to create a quick and easy light-up craft.
Need more help with e-sewing projects?
Here are some beginner e-sewing projects to try:
Take it up a notch.
If you are ready to try some flashier effects with LEDs or explore how programmed projects work without writing the code yourself, pre-programmed LilyPad boards are a great option. The LilyPad line includes four products that are project-ready: the LilyTiny, LilyTwinkle, LilyTwinkle ProtoSnap and LilyMini ProtoSnap — just sew and glow!
The LilyTiny has a different light pattern programmed for each numbered sew tab. Tab 0 controls a “breathing” fade, tab 1 flashes a heartbeat pattern, tab 2 creates an on/off blink, and tab 3 produces a random fading effect (twinkle). The LilyTiny is a great way to try out different light patterns in a project.
The LilyTiny has a different light pattern programmed for each numbered sew tab. Tab 0 controls a “breathing” fade, tab 1 flashes a heartbeat pattern, tab 2 creates an on/off blink, and tab 3 produces a random fading effect (twinkle). The LilyTiny is a great way to try out different light patterns in a project.
Fully customizable.
Have an idea for a custom project and ready to program? The LilyPad line has a variety of LilyPad Arduino microcontrollers to choose from, all compatible with free Arduino software. The LilyPad ProtoSnap Plus is a great place to start prototyping a project — it includes twelve LilyPad boards pre-wired to a LilyPad microcontroller for experimenting with code before you sew.
The LilyPad ecosystem also includes two stand-alone LilyPad controllers:
- LilyPad Arduino 328 Main Board
- LilyPad Arduino USB
These controller boards can be connected to most of the LilyPad boards for light-up, sound-making or sensing projects. Check out Choosing a LilyPad Arduino for Your Project for a side-by-side comparison of each board’s features.
Let's Get Started
Take a look at our gallery page to browse projects made with LilyPad.
Check out Planning a Wearable Electronics Project for tips on brainstorming and prototyping, as well as technical considerations.
LilyPad Sewable Electronics Kit — Includes everything you need to make 4 e-sewing projects: glowing pin, illuminated mask, light-up plush and night-light pennant (with LilyMini). Craft supplies also included.
Read some of SparkFun’s blog posts on LilyPad and wearables.