Adafruit LED Sequins Created by Becky Stern Last updated on 2018-03-02 04:02:00 AM UTC
Guide Contents Guide Contents Overview Sewing with conductive thread Circuit Diagram GEMMA sequin hat Arduino Code CircuitPython Code Downloads © Adafruit Industries 2 3 6 10 11 15 17 19 https://learn.adafruit.
Overview Sew a little sparkle into your wearable project with an Adafruit LED Sequin. These are the kid-sister to our popular Flora NeoPixel-- they only show a single color and they aren't addressable, but they are our smallest sewable LEDs ever and very easy to use! Before you get started, follow the Introducing GEMMA guide or Introducing Gemma M0 guide This guide was written for the 'original' Gemma board, but can be done with either the original or M0 Gemma.
They come in packs of five with breakaway tabs-- you can separate them one at a time as you build your project. Simply connect 3 to 6VDC to the + pin and ground to the - pin, and the LED on the board will light up. In the photo above we've soldered alligator clips to a 2x2032 coincell battery holder (~6V). You could also use a single CR2032 sewable coincell holder-- you do not need a microcontroller to drive these sequins, unless you want them to blink or fade. © Adafruit Industries https://learn.
When powered from 3.3V they draw about 5mA so you can put up to 4 or 5 in parallel on a single microcontroller pin. We currently have these sequins in warm white, emerald green, ruby red, and royal blue. You can make the LEDs fade and twinkle by using the PWM (a.k.a. analogWrite) functionality of your Gemma or Flora, or just connect directly to a digital I/O pin of a microcontroller to turn on and off (digitalWrite). © Adafruit Industries https://learn.adafruit.
Sewing with conductive thread Grab a needle and test it's small enough to pass through the holes in the sequins. Thread up your needle with conductive thread, our 2-ply and 3-ply both are great for this purpose. Check out our conductive thread guide to learn more about this stainless steel fiber. © Adafruit Industries https://learn.adafruit.
We find it easiest to load up your fabric in an embroidery hoop to keep it taught during stitching, especially for beginners. Begin by piercing the needle through the fabric from back to front, near the + on the pixel leaving a six-inch thread tail at the back. Then affix the pixel to the fabric by piercing the needle down through the hole marked + and through to the back of the fabric. Repeat to make a few stitches around the pixel's + connection. Avoid using pin D1 when using the Gemma M0.
Stitch over to a digital or analog output on your microcontroller, and repeat the stitching process around the circuit board's pad. Stitch back over to your thread tail at the back and tie the two threads in a double knot. Seal the knot from springing loose with some clear nail polish or other adhesive. Snip the thread tails short. © Adafruit Industries https://learn.adafruit.
© Adafruit Industries https://learn.adafruit.
Circuit Diagram This diagram uses the original Gemma but you can also use the Gemma M0 with the exact same wiring! Three of the sequins connect to D0 and the other three connect to D2. The sequins are connected in parallel to these pins. The original version of this project used D1 also, but since the Gemma M0 does not have PWM on this pin, we've tweaked it a bit to only use D0 and D2! © Adafruit Industries https://learn.adafruit.
GEMMA sequin hat LED sequins are great for clothing and accessories! Here's a simple hat project to build with GEMMA. You can start with the pixel + or -. For this hat we chose to start with the shared ground line that hooks up all the sequins. Stitch around the GND pad on GEMMA at the edge of a knit cap and knot/seal at the back. © Adafruit Industries https://learn.adafruit.
Lay out your own design or use our circuit diagram above, with the sequins' + sides facing the microcontroller. Continue stitching the ground line all the way around the perimeter of your sequin design, stitching to every sequin's - pad as you go. Knot to your original knot, seal the knot, and trim the ends once dry. © Adafruit Industries https://learn.adafruit.
© Adafruit Industries https://learn.adafruit.
Next hook up the + connections from each of GEMMA's outputs to three pixels. We stitched from one sequin to the GEMMA, then over to another sequin and on to the third sequin before going back to the first, making a sort of square that results in the thread tails being in the same place. Knot these thread tails, seal and trim short. © Adafruit Industries https://learn.adafruit.
Arduino Code Plug in GEMMA over USB and load the following code into your Adafruit Arduino IDE. If you haven't before, check out our Introducing GEMMA guide to get started with the software.
Once your program is doing what you like, unplug the USB cable and plug in a battery pack like our 2x2032 holder with on/off switch. Take the batteries out if you get stuck in a rainstorm and for washing. Enjoy your new light-up hat! © Adafruit Industries https://learn.adafruit.
CircuitPython Code GEMMA M0 boards can run CircuitPython — a different approach to programming compared to Arduino sketches. In fact, CircuitPython comes factory pre-loaded on GEMMA M0. If you’ve overwritten it with an Arduino sketch, or just want to learn the basics of setting up and using CircuitPython, this is explained in the Adafruit GEMMA M0 guide. These directions are specific to the “M0” GEMMA board.
import board import pulseio import time from digitalio import DigitalInOut, Direction # PWM (fading) LEDs are connected on D0 (PWM not avail on D1) pwm_leds = board.D0 pwm = pulseio.PWMOut(pwm_leds, frequency=1000, duty_cycle=0) # digital LEDs connected on D2 digital_leds = DigitalInOut(board.D2) digital_leds.direction = Direction.
Downloads Datasheet for blue 1206 LED Datasheet for warm white LED Datasheet for red 1206 LED Datasheet for green LED Datasheet for pink LED EagleCAD PCB files on GitHub Fritzing object in Adafruit Fritzing library © Adafruit Industries Last Updated: 2018-03-02 04:01:59 AM UTC Page 19 of 19