Sewable NeoPixels. Created by Becky Stern. Last updated on :50:14 PM EDT

Similar documents
Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Light-Up Angler Fish Embroidery

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :42:16 PM UTC

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

Adafruit LED Sequins. Created by Becky Stern. Last updated on :00:06 PM EST

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :30:55 PM EST

NeoPixel LED Cortana Costume

NeoPixel Ring Bangle Bracelet

Jewel Hair Stick. Created by Leslie Birch. Last updated on :47:17 PM UTC

GPS Logging Dog Harness

Getting Started with FLORA

Sparkle Skirt. Created by Becky Stern. Last updated on :48:58 PM UTC

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Getting Started with FLORA

Getting Started with FLORA

Mystical LED Halloween Hood

Bike Wheel POV Display

Infinity Mirror Valentine's Candy Box

Adafruit 8x16 LED Matrix FeatherWing

Flora Wearable GPS. Created by Becky Stern. Last updated on :32:36 PM UTC

NeoMatrix 8x8 Word Clock

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Bandolier of Light. Created by Becky Stern. Last updated on :16:17 PM EST

NeoPixel Punk Collar. Created by Becky Stern. Last updated on :41:18 PM UTC

NeoPixie Dust Bag with Circuit Playground Express

Bunny Ears with MakeCode

Monochrome OLED Breakouts

Cyberpunk Spikes. Created by Becky Stern. Last updated on :07:06 PM UTC

0.96" mini Color OLED

Celebration Spectacles

3D Printed Camera LED Ring

Adafruit APDS9960 breakout

Adafruit I2C FRAM Breakout

Guardian Shield+ Zelda Breath of the Wild

Bluetooth Controlled NeoPixel Headphones

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Introducing Adafruit Trellis

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

LED Stego Flex Spike Hoodie

Adafruit Si7021 Temperature + Humidity Sensor

Adafruit MMA8451 Accelerometer Breakout

NeoPixel Basketball Hoop

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

Prophet 600 GliGli mod

MCP Bit DAC Tutorial

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

Morning Star POV Double Staffs

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

Chirping Plush Owl Toy

Adafruit Si5351 Clock Generator Breakout

Trinket NeoPixel LED Longboard

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Adafruit Color Sensors

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

3D Printed LED Buckle

Adafruit Capacitive Touch Sensor Breakouts

Simple LED Unicorn Horn

MCP Bit DAC Tutorial

Crickit Powered Holiday Diorama

Introducing Circuit Playground

RGB LCD Shield. Created by lady ada. Last updated on :48:40 PM UTC

Slider Crank Mechanism -- from Cardboard and Craft Sticks

Remote Controlled LED Tea Light Sconce

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

Adafruit CCS811 Air Quality Sensor

NeoPixel Bike Light. Created by Ruiz Brothers. Last updated on :43:46 PM UTC

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Datalogging Hat with FLORA BLE

Adafruit 1.27" and 1.5" Color OLED Breakout Board

Adafruit AS channel Visible Light Sensor

Adafruit Mini TFT " 160x80

Introducing Circuit Playground

Adafruit 8x16 LED Matrix FeatherWing

Crawling Animatronic Hand

Trinket-Powered Conference Room Occupancy Display

Circuit Playground Express Laser Tag

1.8" TFT Display Breakout and Shield

Adafruit AM2320 Sensor

Alohamora Bottle. Created by Erin St Blaine. Last updated on :58:53 PM UTC

Adafruit DRV2605 Haptic Controller Breakout

3d Printed Neopixel Tactile Switch Buttons

Sword & Wand Prop Effects with Circuit Playground

Camera LED Ring Light

Flora Brake Light Backpack

Adabot Operation Game

Reindeer Mask with Animated Eyes

Adafruit TPL5110 Power Timer Breakout

Adafruit 7-Segment LED FeatherWings

3D Printed 20w Amplifier Box

Adafruit MPRLS Ported Pressure Sensor Breakout

Adafruit GPS Hat in Windows IoT Core

Dauntless Dotstar Gauntlets

Adafruit AMG8833 8x8 Thermal Camera Sensor

Ping Pong Ball Launcher

Interactive Gift Box. Created by codingpro. Last updated on :47:40 AM UTC

Portable Apple Watch Charger

Transcription:

Sewable NeoPixels Created by Becky Stern Last updated on 2015-08-25 07:50:14 PM EDT

Guide Contents Guide Contents Overview Prerequisite guides Lots of Pixels? Hook up alligator clips Run pixel test code Install the NeoPixel Arduino library Now upload! Sewing more pixels Project Ideas 2 3 4 4 6 9 9 10 14 20 Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 2 of 20

Overview What's a wearable project without LEDs? Our favorite part of the FLORA platform is these tiny smart Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 3 of 20

pixels. Designed specifically for wearables, we found the brightest RGB LEDs available (an eyeblistering ~3800mcd) (http://adafru.it/619) and paired them with a constant-current driver chip. The contacts are easily sewn with conductive thread. Use this guide to test your first pixel and start on a blinding wearables project with FLORA or GEMMA! Pictured above: LED Ampli-Tie (http://adafru.it/fv7) Prerequisite guides Before you begin, familiarize yourself with the following tutorials: Getting Started with FLORA (http://adafru.it/elq) Introducing GEMMA (http://adafru.it/e1m) NeoPixel Uberguide (http://adafru.it/dya) Conductive Thread (http://adafru.it/dvg) Lots of Pixels? Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 4 of 20

Each pixel draws as much as 60mA (all three RGB LEDs on for full brightness white). In theory, FLORA can drive up to 500 pixels at 30 FPS (above which it will run out of RAM). However, above about 20 pixels (and/or if the overall length of conductive thread exceeds ~6 feet/2 meters), the nontrivial resistance of the thread adds up and can affect the power supply. For large quantities of pixels over 20 or if you need to insulate your circuit, you should upgrade to silicone coated stranded core wire (http://adafru.it/fv5), which will provide better conductivity for the pixels - the current draw will add up fast! This tutorial will cover the current v2 pixels as well as the older v1 pixels. The sewing part is the same for both versions, but the library code is different because the controlling chipset has been upgraded in v2. Pixels purchased after February 2013 are v2. Pictured above: a FLORA prototype with v1 pixels Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 5 of 20

Hook up alligator clips Hook up three alligator clips as shown: one to VBATT, one to D6, and one to GND. I used a red wire for power and a black wire for ground for clarity, but it doesn't matter what color you use. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 6 of 20

Hook up the other ends of your alligator clips to a single pixel. VBATT (red) connects to the + on the pixel, GND (black) to the -, and D6 (yellow) to the pad marked with an arrow pointing towards the LED on the tiny board (not away from it). Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 7 of 20

On GEMMA, the wiring is very similar. Hook up Vout (red in the picture above) to +, GND to - (black above), and D1 to the inward facing arrow (yellow above). Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 8 of 20

Run pixel test code Install the NeoPixel Arduino library Installation of the library is as follows: 1. Visit the Adafruit_NeoPixel library page (http://adafru.it/azu) at Github.com. 2. Select the Download ZIP button, or simply click this link (http://adafru.it/cdj) to download directly. 3. Uncompress the ZIP file after it s finished downloading. 4. The resulting folder should contain the files Adafruit_NeoPixel.cpp, Adafruit_NeoPixel.h and an examples sub-folder. Sometimes in Windows you ll get an intermediate-level folder and need to move things around. 5. Rename the folder (containing the.cpp and.h files) to Adafruit_NeoPixel (with the underscore and everything), and place it alongside your other Arduino libraries, typically in your (home folder)/documents/arduino/libraries folder. Libraries should not be installed alongside the Arduino application itself. 6. Re-start the Arduino IDE if it s currently running. Here s a tutorial (http://adafru.it/aym) that walks through the process of correctly installing Arduino libraries. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 9 of 20

Connect your FLORA and computer with a USB cable. Now upload! Install the NeoPixel library (http://adafru.it/azu) and go to File-->Examples-->Adafruit_NeoPixel-- >strandtest. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 10 of 20

If you cannot find that file in the dropdown menu go back up and reinstall the library. This will launch a window containing the sample sketch. Upload it to your FLORA or GEMMA with the Upload button. Once successfully uploaded to your FLORA or GEMMA, the pixel will flash and fade different colors. Congrats, you've tested your pixel! We do test each pixel in the factory, but you should use this method to test that all three colors (red, green, blue) work on each of your pixels before sewing them into your project! Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 11 of 20

For GEMMA, you'll need to change the pin number in the Arduino sketch before uploading. Change "6" to "1": Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 12 of 20

Then upload the sample code to GEMMA by pressing the reset button (the red LED should start pulsing) and clicking the "upload" button in the Arduino software. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 13 of 20

Sewing more pixels The pixels are chainable - so you only need 1 pin/wire to control as many LEDs as you like. They're easy to sew, and the chainable design means no crossed conductive threads (http://adafru.it/641). The output of one pixel connects directly to the input of the next. To begin sewing, stitch around the data pin of your microcontroller (D1 on GEMMA and D6 on FLORA are ideal because they're right between power and ground), and stitch over to your first pixel. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 14 of 20

Make sure that each arrow points away from the FLORA or GEMMA in a line. Stitch around the input pad tightly, even knotting the thread here to form an extra sturdy connection. Stitch back to the thread origin and tie the two ends in a square knot. Use clear nail polish to seal this knot and pull the ends tight until it dries. Do not clip the thread tails until later on. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 15 of 20

All the positive pads (marked with a +) connect together to form one power bus. Likewise all the negative pads (marked with a -) connect together to form one ground bus. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 16 of 20

Here's what a three-picel circuit looks like from the back. See the individual data connections in the center and the continuous power and ground buses above and below? Double check your knots are secure before clipping all your thread tails. Clean up your work space so there aren't any stray bits of conductive thread hanging around. Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 17 of 20

Visually inspect your circuit to check for shorts or stray threads. Plug in your FLORA or GEMMA into your computer with a USB cable. Change the number of pixels Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 18 of 20

in the Arduino sketch to match the number of pixels in your projects, and upload the strandtest sample code as you did when testing a pixel earlier in this guide. Your pixels should light up and animate different colors and patterns. If they don't all come on or some later in the chain are flickering, your stitches might not be snug enough against the pads of the circuit board. Double check your sewing and reinforce it where necessary (with the circuit off/unplugged). The library for these pixels is very similar to our Adafruit_WS2801 (http://adafru.it/arl) library for other types of RGB pixels (http://adafru.it/arl). Adafruit Industries https://learn.adafruit.com/flora-rgb-smart-pixels Page 19 of 20

Project Ideas Light up Angler Fish Embroidery (http://adafru.it/fv0) NeoPixel Coat Buttons (http://adafru.it/fv1) Sparkle Skirt with FLORA Motion Sensor (http://adafru.it/fv2) Textile Potentiometer Hoodie (http://adafru.it/frg) NeoPixel Tiara (http://adafru.it/fr0) Close Encounters Hat (http://adafru.it/fv3) Light-Activated Pixel Heart (http://adafru.it/frp) Space Face LED Galaxy Makeup (http://adafru.it/fr2) Pac Man Pixel Suspenders (http://adafru.it/fre) Chameleon Scarf with FLORA Color Sensor (http://adafru.it/fv4) Adafruit Industries Last Updated: 2015-08-25 07:50:14 PM EDT Page 20 of 20