This is a textile potentiometer. It’s a
knit analog sensor that lets you add a slide actuator to wearables projects, and today
we’ll be using it to change the color of the NeoPixels on this hoodie.
You can pick up a sewable GEMMA microcrontroller and other supplies for this project at Adafruit.com.
The yarn in the sensor has a high resistance that GEMMA can measure with its analog input.
The charm moves along its length, changing the amount of yarn connected to the input.
To get started, use conductive thread to connect the potentiometer to GEMMA’s power, ground,
and analog input like this. You can find a complete circuit diagram for
this project as well as step-by-step instructions and sample code on the Adafruit Learning System;
the link is in the description of this video. The simple Arduino sketch is easy to modify
for your own wearable projects. After testing your sensor, you can stitch up a chain of
NeoPixels and swap out the code to control the colors.
What would you build with this fun sensor? Let us know in the comments and if you have
questions ask those there too– I’ll tackle them on our wearables live show every Wednesday.
Thanks so much for watching and subscribe for more wearable electronics from Adafruit.