Dauntless Dotstar Gauntlets

Similar documents
Bunny Ears with MakeCode

Bike Wheel POV Display

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

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

Adafruit 8x16 LED Matrix FeatherWing

NeoPixel Ring Bangle Bracelet

Infinity Mirror Valentine's Candy Box

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

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

Morning Star POV Double Staffs

NeoMatrix 8x8 Word Clock

Adafruit DRV2605 Haptic Controller Breakout

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

Celebration Spectacles

Adafruit APDS9960 breakout

Introducing Adafruit Trellis

NeoPixel Fairy Crown. Created by Erin St Blaine. Last updated on :22:47 AM UTC

Mystical LED Halloween Hood

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

Adafruit Si7021 Temperature + Humidity Sensor

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

LED Lightbox. Created by Sam Clippinger. Last updated on :50:00 AM UTC

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

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

IS31FL x9 Charlieplexed PWM LED Driver

Adafruit 8x16 LED Matrix FeatherWing

Light-Up Angler Fish Embroidery

Circuit Playground Express Head-Tilt Ears

Ping Pong Ball Launcher

Crickit Carnival Bumper Bot

Adafruit Si5351 Clock Generator Breakout

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

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

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

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

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

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit Mini TFT " 160x80

Monochrome OLED Breakouts

Easy Sparkle Pocket T-Shirt

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

Adafruit 1.27" and 1.5" Color OLED Breakout Board

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

Paper Airplane Launcher

NeoPixie Dust Bag with Circuit Playground Express

Remote Controlled LED Tea Light Sconce

Slider Crank Mechanism -- from Cardboard and Craft Sticks

GPS Logging Dog Harness

Trellis 3D Printed Enclosure

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

Adafruit MMA8451 Accelerometer Breakout

Adafruit 7-Segment LED FeatherWings

Adafruit AMG8833 8x8 Thermal Camera Sensor

Adafruit DRV2605 Haptic Controller Breakout

Adafruit ATWINC1500 WiFi Breakout

Reindeer Mask with Animated Eyes

Phone-Activated Talking Dog Collar

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

LED Campfire. Created by Erin St Blaine. Last updated on :34:11 PM UTC

PyPortal View Master Created by Ruiz Brothers. Last updated on :51:28 AM UTC

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

Adafruit TPL5110 Power Timer Breakout

0.96" mini Color OLED

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

Getting Started with FLORA

Circuit Playground Yoyo

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

Android GBoard Morse Code Control with Circuit Playground Express

Guardian Shield+ Zelda Breath of the Wild

Mad Science Test Tube Rack

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Crawling Animatronic Hand

Adafruit Color Sensors

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

3D Printed Camera LED Ring

MCP Bit DAC Tutorial

Adabot Operation Game

Stumble-Bot. Created by Dano Wall. Last updated on :04:06 AM UTC

Data Logging with Feather and CircuitPython

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

Introducing Circuit Playground

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Adafruit GPIO Expander Bonnet for Raspberry Pi Created by Kattni Rembor. Last updated on :12:47 PM UTC

Simple LED Unicorn Horn

Adafruit Prototyping Pi Plate. Created by Ladyada

Adafruit I2C FRAM Breakout

Adafruit PowerBoost 500 Shield

Bluetooth Controlled NeoPixel Headphones

Trinket NeoPixel LED Longboard

1.8" TFT Display Breakout and Shield

Portable Apple Watch Charger

Galaxy Pendant. Created by Erin St Blaine. Last updated on :44:15 PM UTC

14-Segment Alpha-numeric LED FeatherWing

3D Printed Case for Adafruit Feather

7 Portable Multitouch Raspberry Pi Tablet

ISS Pin. Created by Leslie Birch. Last updated on :27:30 PM UTC

Con Badge with Circuit Playground Express

NeoPixel LED Cortana Costume

Circuit Playground Express Laser Tag

Adafruit PCF8523 Real Time Clock

Transcription:

Dauntless Dotstar Gauntlets Created by Erin St Blaine Last updated on 2016-06-10 03:00:58 PM EDT

Guide Contents Guide Contents Introduction How they Work Electronic Bits Crafty Bits Tools & Helpful Materials Design & Testing Software Setup Set Up a Test Strip Download Software Processing Downloads Page (http://adafru.it/ck1) Upload Code Arduino Code Processing Code Wiring Buttons & Switch On/Off Switch Matrix Build Gauntlet Build Create your Pattern Add Interfacing Light Diffusion Button Placement Feather & Battery Placement Finishing Use It Adding Videos Buttons Performance 2 3 3 3 3 4 5 5 6 9 9 10 10 10 11 14 14 18 22 23 24 26 29 30 31 34 34 34 34 Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 2 of 36

Introduction In a world where darkness runs rampant.. Where villains conspire and criminals run the streets... One Maker has emerged to repel the dark. Gauntlets ablaze, leaping tall buildings in a single bound and making our neighborhoods safe again. Dauntless. Dotstar. Gauntlets. They're counting on you. What are you waiting for? How they Work Record a single video, a split-video or a whole video playlist to an SD card using your computer and a Processing script. Pop an SD card into each gauntlet and you'll have hours of fascinating LED animation on your wrists, with no additional coding required. Split a video between the two gauntlets or play the same one on both. Brightness and playlist control buttons make it easy to sync the gauntlets up or play just the right light combo for any situation. Electronic Bits Get 2 of everything for 2 gauntlets. Add them to your cart over on the right side of this page. Feather M0 Adalogger (http://adafru.it/2796) Dotstar 144/m strip (http://adafru.it/2242) 1200mAh Lithium Polymer battery (http://adafru.it/258) JST battery extension cable (http://adafru.it/1131) On/off switch (http://adafru.it/805) 3 x Momentary tactile buttons (http://adafru.it/1119) microsd card (http://adafru.it/102) Crafty Bits 2-3 sheets of Craft foam Fabric or leather (or paint if you prefer) Fabric for Lining Craft weight fusible interfacing 1/4" grommets & grommet setting tools (http://adafru.it/nze) Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 3 of 36

Diffusion material -- I used sticky shelf liner Jewels or findings or rivets or other decorative schwag Elastic or leather lacing NO CAPES! Tools & Helpful Materials Soldering iron & accessories Hot glue gun E6000 glue Spray glue Iron Heat gun Sewing machine (helpful but not absolutely neccessary) Hole punch Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 4 of 36

Design & Testing There are three major parts to this guide: 1. Setting up the software 2. Building the electronics 3. Building the gauntlets All three parts are interrelated so take some time, do some sketches, read all the way through and do some planning before you start How many LEDs do you want to use? More LEDs likely means a shorter battery life, but a bigger matrix will show image detail better Where will the battery fit most comfortably along your arm? Will the Feather board work better if it's placed horizontally or vertically? Do you plan to regularly add and update your SD card files? If so, can you reach your SD card easily? Do you want to be able to swap out batteries, or is stopping to charge your gauntlet with the battery in-place good enough? What super power(s) will these gauntlets give you? Will humanity as a whole benefit from your actions? Software Setup The technical parts of this guide build upon our Lightship LED Animation guide (http://adafru.it/mf5) but rather than WiFi, these gauntlets play back animation from a micro SD card*. Skim through that guide to familiarize yourself with all the pieces and terminology. Though this project is built a little differently, many of the same concepts apply, and this saves us a lot of explanation here. * Though if you d like WiFi gauntlets instead, that s entirely 100% possible substitute a Feather M0 WiFi rather than an Adalogger same concepts apply, just use the original Lightship code instead. Steps you'll need to follow: 1. Install Feather board support in your Arduino IDE (http://adafru.it/ldf) and get the "blink" sketch working. 2. Download and install the necessary libraries (http://adafru.it/nrf): you'll need the Adafruit Dotstar library, the ASF Core library and the Adafruit_ZeroDMA library. 3. Install Processing (http://adafru.it/ck1) vesrion 2.2.1 4. Download and extract the ZIP file (http://adafru.it/nrf) containing the code for this project. Do not continue with the build until you have the blink sketch working on the Feather M0 board. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 5 of 36

Set Up a Test Strip Testing your LED strip first can save heartbreak later this lets you know whether the whole strip is in good working order and that you re making the right connections. Dotstar strips come with a connector pre-soldered onto the ends. For testing purposes I like to just cut the connector head off and use the wires to connect directly to my project or you can trim the plug with wires off the tail end and use that as a connector for the head end. When connecting to a microcontroller, make certain you re working from the INPUT end of the LED strip! If you look closely at the face of the strip, you ll see a series of small arrows pointing from IN toward OUT. Connect to the in end the arrows should be pointing away from the microcontroller. Tiny solder pads on the strip should be marked + or 5V, D or DI (data in), C or CI (clock in) and or G (ground) or similar. The wires on the end of the strip will be in the same order as the labels; typically a red wire for +5V, black for ground. Temporarily solder your strand of Dotstars to the Feather M0 board: Feather M0 Pin DotStar Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 6 of 36

11 D or DI (data in) 13 C or CI (clock in) USB GND + or 5V or G There are spare power wires at the ends of the strip. Make sure the ends of these are covered (or just clip off) so they don t accidentally contact anything and cause a short. Later we ll power the LEDs off a battery, but for testing, use the USB and GND pins. Use the Arduino Library Manager to install the Adafruit_DotStar library (Sketch Include Library Manage Libraries ), or if you re using an older version of the Arduino IDE, it can be downloaded and installed manually (http://adafru.it/dnr): Adafruit_Dotstar Library http://adafru.it/eio Library installation is a frequent stumbling block if you need assistance, our All About Arduino Libraries (http://adafru.it/dit) guide spells it out in detail. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 7 of 36

Once the Adafruit_DotStar library is installed, you can use the strandtest sketch to confirm that everything works. File Examples Adafruit_DotStar strandtest You ll need to make a few small changes in the code before uploading to the board. First, edit the number 30 on this line to reflect the actual number of LEDs in your DotStar strip (e.g. 60, 144, etc.): #define NUMPIXELS 30 // Number of LEDs in strip Then a couple lines down, look for these: #define DATAPIN 4 #define CLOCKPIN 5 Change these values to: #define DATAPIN 11 #define CLOCKPIN 13 Make sure the right board type and serial port are selected, then upload this sketch to the Feather board. After a moment, you should see a set of red pixels chase along the strip, then green, then blue. The code uploads OK, but no LEDs light! Double-check all the connections between board and strip: Feather pin 11 to strip DI, 13 to CI, USB to + and GND to. Make sure you re connected to the input end of the strip (arrows should point away from the microcontroller board). Check that the spare power wires at each end of the LED strip aren t touching each other or anything conductive around your desk. LEDs are lit, but the order is not red-green-blue. Occasionally from batch to batch the manufacturer changes the order in which the LEDs receive color data. You can reorder this data using the last argument to the Adafruit_DotStar() constructor, e.g. try: Adafruit_DotStar strip = Adafruit_DotStar( NUMPIXELS, DATAPIN, CLOCKPIN, DOTSTAR_BGR); Do not continue with the build until you have the strandtest sketch working and LEDs animating. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 8 of 36

Download Software With the basic blink and strandtest now tested, let s install some additional stuff Download and install the Adafruit Arduino Zero ASF Core (http://adafru.it/lna)and Adafruit_ZeroDMA (http://adafru.it/lnb) libraries. This is most easily done through the Arduino Library Manager but if you re oldschool, here s the links: http://adafru.it/lnc Download ASF Core Library from Github Download Adafruit_ZeroDMA library for Github http://adafru.it/lnd Then download and extract the ZIP file containing the code for this project: http://adafru.it/ldg In this archive are two folders: Download Adafruit_Lightship from Github The first, Arduino, contains the OPCstreamSD sketch for the Feather M0 board (ignore the OPCserver sketch, it s not used in this project). The second, Processing, contains several Open Pixel Control demos for use with the Processing programming language. These will run on your main computer (desktop or laptop). OPC clients can be written in many programming languages, but we ll use Processing (a derivative of Java) as it s free, cross-platform (runs on Windows, Mac and Linux) and is focused on visual arts. Processing Downloads Page (http://adafru.it/ck1) For now, we recommend downloading the version 2.2.1 release of Processing for your operating system. The 3.X series introduced some significant changes that aren t always compatible with existing Processing code. Processing looks a lot like the Arduino IDE (in fact, the Arduino IDE derived from the same code base). This can be confusing because Arduino sketches don t work in Processing, nor vice versa. Make sure you re loading sketches into the correct IDE for each. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 9 of 36

Upload Code Arduino Code Open OPCstreamSD from the Arduino folder and upload it to the board. This code tells the Feather to scan the root directory of your SD card for any file ending in.opc. These files will be generated by our Processing code (in a moment) using video files (MPEG, AVI, etc.) you provide. This sketch won t do anything useful yet, since we haven t assembled the gauntlets, but it s handy to have it pre-loaded on the M0 board so it s ready for testing when the time comes. Processing Code We'll need to make a few minimal changes to the Processing code before we start creating our files. Open the OPCvideoSplitFiles sketch in Processing. This code will split the video into a top half and a bottom half so you can play one video file that will be split between two gauntlets. If you're making just one gauntlet, or if you want the same animation running on both, comment out the second OPC instance: OPC opc[] = { new OPC(this, 30, "foldername/left/l01.opc"), new OPC(this, 30, "foldername/right/r01.opc") }; Change the filepaths to point to some dedicated folders on your hard drive, and the filenames to something descriptive. Find these lines of code and update them to reflect the planned width and height of your LED matrix: int arraywidth = 16, // Width of LED matrix arrayheight = 5, // Height of LED matrix Then, click the "run" button and choose a video file. The Processing script will convert the file you choose into an.opc file and save it to the path you've specified. Copy the files onto an SD card. Don't use subfolders -- the server code is looking right at the root of the card. Pop the card out of your computer and into your Feather, power it up and make sure you get some blinky lights happening on your test strip. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 10 of 36

Wiring In schematic form, here s what the circuit will look like: Some LED strips change the sequence of the four wires. Always refer to the labels on the LED strip for the pin functions, don t just blindly follow the order shown here yours might come from a different batch. For the momentary switch buttons, connect one leg of each to GND, then connect the other leg to A3, A4 and A5 respectively. Dotstar Wiring will be the same as your test strip: Dotstar Clock --> Feather #13 Dotstar Data --> Feather #11 Dotstar G --> Battery GND Dotstar + --> Battery + A little later (on the Matrix Build page) the rubber sleeve will be removed from the Dotstar strip and we ll cut it into sections to create a two-dimensional matrix. My Dotstars are wired in a progressive layout, rather than a serpentine layout, since that worked better in my design. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 11 of 36

The code defaults to serpentine layout, so if you wire your LEDs in a serpentine fashion you don't need to make any changes to the code. If you use a progressive layout, like me, look in the Processing OPCvideo script and find this section of code: // Set up OPC pixel grid. Arguments are: 1st pixel index, // row length, # of rows, center x, y, horizontal & vertical // pixel spacing, angle (radians), 'zigzag' flag (true/false): opc.ledgrid(0, arraywidth, arrayheight, (width - 1) / 2, (height - 1) / 2, scale, scale, 0, true); Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 12 of 36

For a serpentine layout, leave this code alone. For a progressive layout, change the last parameter to "false". If you find your video comes out "flipped" backwards on your matrix, add a "-" before the first scale parameter to flip it back: // Set up OPC pixel grid. Arguments are: 1st pixel index, // row length, # of rows, center x, y, horizontal & vertical // pixel spacing, angle (radians), 'zigzag' flag (true/false): opc.ledgrid(0, arraywidth, arrayheight, (width - 1) / 2, (height - 1) / 2, -scale, scale, 0, false); Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 13 of 36

Buttons & Switch On/Off Switch Solder your on/off switch in line with your battery extension cable. This cable will provide power to both the feather and the LEDs, so solder in a couple more wires to split the power. This is also a good time to shorten the extension cable to an appropriate length that will plug into your Feather and your battery when they're in place. Add some heat shrink filled with glue to the female end of the extension cable, since this will get pulled when you remove your battery for charging. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 14 of 36

Get out your 3 tactile push buttons. Gently fold down two of the legs on one side -- we won't be using these and you don't want them poking you through your gauntlet. Securely solder a black wire to one leg of each button and a colored wire to the other leg. Gently bend these down to add stability and minimize pokiness. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 15 of 36

Twist the 3 black wires together and splice in a 4th black wire. This will run to the Feather's remaining G pin. Connect each colored wire to your feather's A3, A4 and A5 pins (also known as digital pins 17, 18 and Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 16 of 36

19). Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 17 of 36

Matrix Build Spend a few minutes planning out the shape of your LED matrix. I have fairly narrow wrists and wanted a very sleek design, so my matrix ended up 16 pixels long and 5 strips wide. I made my matrix rectangular just to keep the project a little simpler, but this code will work with any shape you want to create, with a little tweaking in the Processing script setup. You can also use a premade Dotstar matrix (http://adafru.it/nzb). However, a gauntlet will need to move quite a lot and these matrices are bendy but not unbreakable. I found that creating my own matrix was a little more cost-effective and flexible in terms of size and shape. Slide your dostars out of the silicone sleeve and carefully cut each strip to length. I found it easiest to use the "sacrificial pixel" method: instead of cutting through the middle of the teeny tiny solder pads, cut so you leave full pads on each end of your strip. This will render one pixel out of each section useless but makes the whole project much easier to assemble and a lot more robust in the long run (the full pads have more contact area for solder). Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 18 of 36

Lay out your strips so that the bit-direction arrows are all pointing the same direction. Turn the strips over and tin each pad on the back of both ends of all strips. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 19 of 36

Find the "in" end of your first strip and solder a 4" wire (or whatever length your design demands) to each of the 4 tinned pads. Connect the other end of these wires to your Feather: Dotstar D --> Feather #11 Dotstar C --> Feather #13 Connect the power wires to your battery extention cable. Turn your Feather on and make sure the LEDs in this first strand light up. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 20 of 36

Next, solder carefully measured wires between the "out" pads of your first strip and the "in" pads of your second strip. Solder them in the direction shown to avoid any wire loops or places that could get pulled. Repeat with your other strips, testing each strip as you go. Once you've got the whole matrix built, cover each wire joint with hot glue to secure it in place. Turn your matrix on and flex it back and forth a bit to make sure all your solder joints are rock solid. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 21 of 36

Gauntlet Build Every superhero has a unique style and very different needs, so every set of gauntlets should uniquely reflect those needs. There's no wrong way to build your gauntlets. Use Leather, Worbla, craft foam, fabric, 3d printing, or whatever materials you desire. There are dozens of great gauntlet tutorials out there. I'll share some methods and tips that worked for me. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 22 of 36

Create your Pattern The easiest way to get a good fit is to wrap some paper or foam around your arm and hold it there while you scribble out a pattern with a sharpie. Craft foam is cheap and easy to come by, so don't be afraid to try a few different sizes and shapes Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 23 of 36

until you find one you like. Add Interfacing Real leather gauntlets probably don't need interfacing, but for faux-leather or craft foam gauntlets it is essential. It will keep the foam or fabric from ripping or stretching when you make holes in it. Cut the interfacing to the same shape as your pattern and iron it on to the back of your foam and top layer, if you're using one. Cut a piece of lining for the innermost layer, and add interfacing to that too. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 24 of 36

Use spray glue or hot glue to gently affix your LED matrix to another piece of interfacing. Add another sheet of interfacing over the top to make a sandwich. Iron around the edges to encase the matrix securely inside with just the lead wires sticking out. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 25 of 36

Light Diffusion Play with different materials until you find something you like. I chose sticky shelf-liner from the hardware store over the top piece of interfacing, with a hand-filigree-cut piece of faux stretch leather layered over the top. I used my sewing machine to stitch around the matrix through the shelf liner and both layers of interfacing to keep everything tightly together. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 26 of 36

Next I cut a hole in the craft foam gauntlet the right size for my matrix to show through. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 27 of 36

I carefully hand-cut a filigree pattern in my top layer of faux leather to create another layer of diffusion. I attached the this layer to the prepped LED matrix with strong spray glue and let it dry completely. Then I stitched around the edges of the matrix through the leather and craft foam layers, sandwiching it in place securely. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 28 of 36

Button Placement I placed my buttons at the top end of my matrix and punched small holes for the buttons to poke through the faux leather. I glued the buttons to the craft foam underneath, then stitched around the edge by hand. They are delightfully clicky. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 29 of 36

Feather & Battery Placement I placed my feather to the right of my matrix, length-wise so it doesn't distort the shape of the gauntlet when it's on, and beneath the layer of craft foam. I placed the SD card slot toward the top so it's easy to get to if I want to change the images. I made a battery pocket from more shelf liner on the craft foam to the left of my LED matrix, to balance out any bulkiness. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 30 of 36

Finishing Before you add the bottom layer of lining, secure all your wires and components smoothly and test that everything is working. Place the lining over the top (wrong side) of your gauntlet and stitch around the bottom and sides, leaving the top open. Turn the lining to the inside and topstitch or serge around the edges. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 31 of 36

Set grommets along both sides. Glue on some decorations or sparkles as desired. Finish the top edge with some more fabric or foam, leaving the inner edge open so you can reach the battery for charging and the SD card / USB port on the feather. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 32 of 36

Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 33 of 36

Use It Adding Videos Choose video files that have a lot of distinct color and motion. Remember that the script is going to pull the resolution down tremendously, so bright colors and bold shapes (i.e. Disney cartoons like Finding Nemo) will work better than live-action movies or romantic comedies set in Seattle. Open the OPCVideoSplitFiles script that you edited earlier, and set the path and filename for your video. Click "run" and let your video play for as long as you like. If the video file ends it will automatically loop, so be ready to press the "stop" button as soon as you've recorded enough. Check to be sure the new files exist in the folders you requested. If they aren't there, make sure the file path is right -- the Processing script won't throw an error if it's not working, so be sure to check before going through a dozen videos. Change the filename in the Processing script and record another video. Then, copy all the files onto your respective SD cards. Buttons Press Button 1 to go to the beginning of the current video in the playlist. Double-click to go to the previous video in the playlist. Button 2 is your brightness control. There are 5 levels of brightness available in the code as it's written. Press button 3 to skip to the next video in the playlist. This button will also wrap around back to the beginning if you're on your last video. Performance Left to their own devices, the gauntlets will run through the video playlist in alphabetical order and then loop back to the beginning, ad infinitum. It's a good idea to use a video editing program to trim off any blank space at the beginning and end of your video files so there aren t long gaps in the animation. Strap your gauntlets on. Go out and save the world. Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 34 of 36

Adafruit Industries https://learn.adafruit.com/dotstar-dauntless-gauntlets Page 35 of 36

Adafruit Industries Last Updated: 2016-06-10 03:00:57 PM EDT Page 36 of 36