How to Get Started with Wearable Electronics: Complete Beginner's Guide

How to Get Started with Wearable Electronics: Complete Beginner's Guide

Updated

Ready to bring your clothing to life with lights, sensors, and interactive technology? Wearable electronics (also called e-textiles or smart textiles) combine sewing and textile design with electronics to create amazing projects. Whether you want to make a light-up jacket, a gesture-controlled accessory, or a health-monitoring wearable, this guide will help you get started!

What Are Wearable Electronics?

Wearable electronics are devices and circuits that you can integrate into clothing, accessories, or items you wear on your body. Unlike bulky gadgets, wearable tech is designed to be flexible, comfortable, and stylish. Think LED-lit dresses, jackets with built-in sensors, or bracelets that respond to your movements!

Essential Components You'll Need

To get started with wearable electronics, you'll need a few key components:

1. Microcontroller Board

This is the brain of your project. For beginners, we recommend the Adafruit Gemma M0 - it's small, sewable, and perfect for wearables. It's designed specifically for e-textiles with large holes for sewing and a compact size that won't weigh down your projects.

2. Conductive Materials

You'll need materials that conduct electricity. Conductive fabric is perfect for creating touch-sensitive surfaces and flexible circuits. It's like regular fabric but can carry electrical signals! We can use these to register a touch for example, to control a light or sound. (or anything!)

Not sure which fabric to choose? The Conductive Fabric Guide compares them by material, stretch and best use, or try a few with The BIG 10 sample pack.

3. LEDs and Lights

LEDs are the most popular component for wearable projects. NeoPixels (like the Neo Tester, 8 LEDs) are individually addressable, meaning you can control each LED's colour and brightness separately for stunning effects. I love adding these to projects for that 'bling' effect. For sewing straight onto fabric, try the sewable pixel modules.

4. Power Source

You'll need a battery to power your wearable. LiPo (Lithium Polymer) batteries are popular because they're rechargeable, lightweight, and come in flat shapes perfect for wearables. The Gemma M0 has a JST battery connector, so a small LiPo like the 110 mAh or 500 mAh plugs straight in. The Gemma doesn't charge the battery itself, so recharge it with a LiPo charging board. A small USB power bank also works for testing.

LiPo safety: check the red wire lines up with + on the board before you plug in, never bend, puncture or crush the battery, and unplug it before washing or storing your project.

5. Conductive Thread or Wire

Instead of regular sewing thread, you'll use conductive thread to create circuits in fabric. It's strong enough to sew with and conducts electricity to connect your components. Our stainless steel 2-ply thread is a good all-rounder.

Your First Project: A Simple LED Wearable

Here's a beginner-friendly project to get you started:

What you'll need:

  • 1 microcontroller (like Gemma M0)
  • 2-3 sewable LEDs (these have a resistor built in; plain LEDs need one each)
  • Conductive thread
  • A piece of fabric or clothing item
  • A small LiPo battery
  • Basic sewing supplies

Basic steps:

  1. Plan your circuit on paper first - where will each component go?
  2. Sew your microcontroller onto the fabric using regular thread
  3. Position your LEDs where you want them to light up
  4. Use conductive thread to connect the positive (+) side of each LED to pad D0 on the Gemma (the pin the code below uses)
  5. Use a separate line of conductive thread to connect the negative (-) side of each LED to GND. Keep the two lines from touching
  6. Upload the code below to make the LEDs blink
  7. Add your battery and watch it light up!

Starter Code: Make Your LED Blink

Here's a simple code example you can use with your Gemma M0 to make an LED blink. This is perfect for your first wearable project!

// Simple LED Blink Code for Gemma M0
// This makes an LED on pin D0 blink on and off

int ledPin = 0;  // LED connected to pin D0

void setup() {
  pinMode(ledPin, OUTPUT);  // Set the LED pin as an output
}

void loop() {
  digitalWrite(ledPin, HIGH);  // Turn the LED on
  delay(1000);                 // Wait for 1 second (1000 milliseconds)
  digitalWrite(ledPin, LOW);   // Turn the LED off
  delay(1000);                 // Wait for 1 second
}

How to use this code:

  1. Install the Arduino IDE software on your computer (it's free!)
  2. Connect your Gemma M0 to your computer with a USB cable
  3. Select "Adafruit Gemma M0" from the Tools > Board menu
  4. Copy and paste this code into the Arduino IDE
  5. Click the Upload button (arrow icon)
  6. Watch your LED blink!

Want to customize it? Try changing the delay values to make it blink faster or slower. Change delay(1000) to delay(500) for faster blinking, or delay(2000) for slower blinking.

Example Project: The Bling Bag

One simple project I made uses recycled bubble wrap as fabric, a Gemma board, conductive fabric as buttons, and WS2812B lights for a dazzling effect inside the bag. Watch it here:

Follow it step by step with photos on Instructables: Making a Bling Bag With Recycled Bubble Wrap Fabric.

Essential Skills to Learn

Basic Sewing

You don't need to be an expert, but knowing how to do a running stitch and secure knots will help. When sewing with conductive thread, make sure your stitches don't cross or touch other conductive paths, or you'll create a short circuit!

Simple Coding

Most wearable projects use beginner-friendly platforms like Arduino. You'll write simple code to control when LEDs turn on, change colors, or respond to sensors. Don't worry - there are tons of free tutorials and example code to get you started! Usually, Arduino software is a beginner-friendly solution. Programs are called 'sketches' and are small files of code that you upload to the microcontroller board that you choose (for example the gemma).

Circuit Basics

Understanding basic concepts like positive/negative, power, and ground will help you troubleshoot when things don't work. Think of electricity like water flowing through pipes - it needs a complete path to flow.

Helpful Tips for Beginners

  • Start small: Begin with a simple 2-3 LED project before tackling complex designs
  • Test first: Always test your circuit with alligator clips before sewing everything permanently
  • Plan your layout: Sketch your circuit on paper and mark where components will go on your fabric
  • Insulate carefully: Use fabric glue or clear nail polish to insulate exposed connections and prevent shorts
  • Keep it washable: Use removable batteries and make the board detachable with sew-on snaps. Remove the electronics and hand wash cold. Silver fabrics can react with some tap water, so test a scrap first

Which Board Should You Choose?

Once you're ready to move beyond your first project, you'll want to think carefully about which microcontroller board to use. The Gemma M0 is perfect for sewn wearables, but the Circuit Playground Express and ESP32 each offer different strengths depending on your needs. Read our detailed breakdown: Gemma vs Circuit Playground vs ESP32: Which Board is Right for Your Project?

Ready for ESP32?

When you want WiFi, Bluetooth, touch sensing and more pins, the ESP32 is the next step. My free ESP32 for Beginners: Wearable Electronics course takes you from first upload to a complete battery-powered wearable. Good boards to start with: the sewable Beetle ESP32 or the tiny ESP32-C3 SuperMini.

Ready to Start?

The best way to learn wearable electronics is to dive in and start making! Browse our New Makers picks, or get a Video Kit with every part used in one of my builds. These take the guesswork out of gathering supplies.

Remember, every maker starts as a beginner. Don't be afraid to experiment, make mistakes, and learn as you go. The wearable tech community is incredibly supportive, and there are countless tutorials, forums, and resources available to help you succeed.

So grab your supplies, fire up your creativity, and get ready to make something amazing. Your first light-up wearable is just a few stitches away!

Back to blog

Leave a comment