# Mystical LED Halloween Hood

## Overview

https://youtu.be/BfJPWYnZseU

Create glowing eyes for your costume! This project is ideal for any character with glowing eyes, like the Black Mage from Final Fantasy, Jawa from Star Wars, or Orko from He-Man. Two NeoPixel Jewels can appear any color or animating pattern, and they are driven by a GEMMA microcontroller powered by a 500mAh lipoly battery in a 3D printed pocket.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/968/medium800/led_pixels_mystical-hood-00.jpg?1444238084)

Info: 

Before you begin, check out these prerequisite guides:

- [Introducing GEMMA](../../../../introducing-gemma)&nbsp;or [Introducing GEMMA M0](../../../../adafruit-gemma-m0/)
- [NeoPixel Uberguide](../../../../adafruit-neopixel-uberguide)
- [Adafruit's Guide to Excellent Soldering](../../../../adafruit-guide-excellent-soldering)
- [Let's put LEDs in Things](../../../../lets-put-leds-in-things)

For this project, you will need:

- Two&nbsp;[NeoPixel Jewels](http://www.adafruit.com/product/2226)
- [Adafruit GEMMA](http://www.adafruit.com/product/1222)&nbsp;or&nbsp;[GEMMA M0](https://www.adafruit.com/product/3501) microcontroller
- [Silicone coated stranded wire (30awg recommended)](http://www.adafruit.com/product/2003)
- Soldering tools and supplies
- Sewing pins
- Tailor's chalk
- 19awg galvanized steel wire
- Coat fabric for hood/cape
- Translucent fabric for face panel
- Sewing machine
- Scissors
- [Needle](http://www.adafruit.com/product/615)&nbsp;and thread
- [SemiFlex 3D printing filament](http://www.adafruit.com/product/2321)

![](https://cdn-learn.adafruit.com/assets/assets/000/027/966/medium800/led_pixels_Mystical_Halloween_Hood_3756.jpg?1444234234)

# Mystical LED Halloween Hood

## NeoPixel GEMMA circuit

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/027/981/medium800/led_pixels_diagram.jpg?1444245144)

Connections are as follows:

- GEMMA D1 to 1st NeoPixel Jewel IN
- 1st NeoPixel Jewel OUT to 2nd NeoPixel Jewel IN
- GEMMA Vout to 1st and 2nd NeoPixel Jewel PWR
- GEMMA GND to 2st and 2nd NeoPixel Jewel GND

![](https://cdn-learn.adafruit.com/assets/assets/000/027/969/medium800/led_pixels_mystical-hood-01.jpg?1444238180)

Strip, tin, and solder wires to the NeoPixel Jewels according to the circuit diagram. It's easiest to insert the wires from the front of the PCB and solder on the back, where there aren't any other components to bump into.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/984/medium800thumb/led_pixels_mystical-halloween-hood-13.jpg?1448322404)

Be sure to leave enough slack between jewels to space your eyes out in your costume! Extra slack is ok, you can always tack it down with a needle and thread.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/970/medium800/led_pixels_mystical-hood-02.jpg?1444238238)

Solder long wires (at least 18 inches) between GEMMA and the 1st NeoPixel jewel according to the circuit diagram.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/027/971/medium800/led_pixels_mystical-hood-03.jpg?1444238321)

![](https://cdn-learn.adafruit.com/assets/assets/000/027/974/medium800/led_pixels_mystical-hood-04.jpg?1444238968)

You can optionally diffuse the LEDs by covering them in&nbsp;white paper.

# Mystical LED Halloween Hood

## Arduino Code

Info: 

If this is your first time using GEMMA, work through the [Introducing G](http://learn.adafruit.com/introducing-gemma)[EMMA](http://learn.adafruit.com/introducing-gemma) or [Gemma m0 starter guide](../../../../adafruit-gemma-m0/) first; you need to customize some settings in the Arduino IDE. Once you have it up and running (test the 'blink' sketch), then follow the instructions on the following page for installing the NeoPixel library:

## **[NeoPixel Überguide:&nbsp;Arduino Library Installation](../../../../adafruit-neopixel-uberguide/arduino-library-installation)**

Plug in your circuit via USB and test that all LEDs are functioning properly with the NeoPixel example sketch 'strandtest.' Please refer to the Gemma starter guide and the [NeoPixel Überguide](http://learn.adafruit.com/adafruit-neopixel-uberguide) if you haven't before.  
  
Once you've verified your wiring is correct, load your desired color code or the sketch below that gently pulses the LEDs red.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Mystical_LED_Halloween_Hood/Mystical_LED_Halloween_Hood.ino

# Mystical LED Halloween Hood

## CircuitPython Code

![](https://cdn-learn.adafruit.com/assets/assets/000/046/293/medium800/led_pixels_CircuitPython-Gemma-w-Blinka.jpg?1505234343)

 **GEMMA&nbsp;M0** boards can&nbsp;run **CircuitPython** &nbsp;— a different approach to programming compared to Arduino sketches. In fact, **CircuitPython comes&nbsp;factory pre-loaded on GEMMA&nbsp;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&nbsp;M0 guide**](../../../../adafruit-gemma-m0/circuitpython-setup-1).

Info: 

Below is CircuitPython code that works&nbsp;similarly to&nbsp;the Arduino sketch shown on a prior page. To use this, plug the GEMMA M0 into USB…it should show up on your computer as a small **flash drive** …then edit the file “ **main.py** ” with your text editor of choice. Select and copy the code below and paste it into that file, **entirely replacing its contents** (don’t mix it in with lingering bits of old code). When you save the file, the code should **start running almost immediately** &nbsp;(if not, see notes at the bottom of this page).

**If GEMMA M0 doesn’t show up as a&nbsp;drive, follow the GEMMA M0 guide link above to prepare the board for CircuitPython.**

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Mystical_LED_Halloween_Hood/code.py

This code requires the **neopixel.py** library. A factory-fresh board will have this already installed. If you’ve just reloaded the board with CircuitPython, create the “lib” directory and then [download neopixel.py from Github](https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel).

# Mystical LED Halloween Hood

## Sewing Pattern

![](https://cdn-learn.adafruit.com/assets/assets/000/027/972/medium800/led_pixels_mystical-hood-05.jpg?1444238331)

Download and print our hood/cape pattern, then tile and tape the pieces together, then cut out the patten pieces and arrange them as shown on a folded piece of thick coat fabric (fold is along top edge in photo)

[pattern.pdf](https://learn.adafruit.com/system/assets/assets/000/027/988/original/pattern.pdf?1444248064)
![](https://cdn-learn.adafruit.com/assets/assets/000/027/989/medium800/led_pixels_pattern.jpg?1444248074)

![](https://cdn-learn.adafruit.com/assets/assets/000/027/973/medium800/led_pixels_mystical-hood-06.jpg?1444238394)

Trace around the edge of the pattern with tailor's chalk, then also trace a sewm allowance outside that line 1/4" to 5/8" or more depending on your preference.

Cut out pattern pieces and flip them over. Unpin the paper pattern and flip it over too, using it to trace its shape onto the other side of the folded fabric (so each fabric piece has a full pattern perimeter traced). This makes it easier to sew in the right place!

&nbsp;

Pin shoulder seams and darts together and stitch, removing pins as you go.

![led_pixels_mystical-hood-07.jpg](https://cdn-learn.adafruit.com/assets/assets/000/027/975/medium640/led_pixels_mystical-hood-07.jpg?1444239026)

![led_pixels_mystical-hood-08.jpg](https://cdn-learn.adafruit.com/assets/assets/000/027/976/medium640/led_pixels_mystical-hood-08.jpg?1444239106)

![led_pixels_mystical-hood-09.jpg](https://cdn-learn.adafruit.com/assets/assets/000/027/978/medium640/led_pixels_mystical-hood-09.jpg?1444239744)

Pin the hood and cape pieces together along the neckline, starting with the center back crease. Machine stitch along the seam and remove pins as you go.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/985/medium800thumb/led_pixels_mystical-halloween-hood-14.jpg?1448322439)

To finish the hood, fold with top edges aligned, right sides together, and stitch the&nbsp;seam.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/987/medium800thumb/led_pixels_mystical-halloween-hood-15.jpg?1448322514)

![](https://cdn-learn.adafruit.com/assets/assets/000/027/991/medium800thumb/led_pixels_mystical-halloween-hood-18.jpg?1448322580)

Cut out a round piece of translucent fabric to use for the face panel, roughly the same size as the hood opening.

# Mystical LED Halloween Hood

## 3D Printed Battery Pocket

![](https://cdn-learn.adafruit.com/assets/assets/000/027/967/medium800/led_pixels_semiflex-battery-pocket.jpg?1444234256)

Print a sew-on pocket for your lipoly battery! The pocket protects the battery from abuse and also makes it easy to remove the battery for charging. It's not strictly necessary, though, but bare lipoly batteries can be risky, so unless you protect it in some way, we recommend using a hard shell alkaline pack like the [3xAAA holder](https://www.adafruit.com/products/727).

## TPE Flexible Filament

The battery pocket works best when printed in flexible material like Ninjaflex or **Semiflex**. This&nbsp;material requires a direct-drive extruder system and can be challenging to print. We recommend **Semiflex** because it handles overhangs better than Ninjaflex, and has a shell hardness (98A). Follow the print settings below for best results.

The part should be centered on the print bed and ready to print "as-is". We recommend using [CURA](https://ultimaker.com/en/products/cura-software), or [Simplify3D](https://www.simplify3d.com/)&nbsp;to slice the file.

[Download STL &amp; Source files](http://www.thingiverse.com/thing:1018762)
https://www.youtube.com/watch?v=cugBD34WTY4

https://www.youtube.com/watch?v=7c1vhyLhloQ

# Mystical LED Halloween Hood

## Final Assembly

![](https://cdn-learn.adafruit.com/assets/assets/000/027/986/medium800thumb/led_pixels_mystical-halloween-hood-16.jpg?1448322485)

Fold over a 1/2" seam along the front edge of the hood and thread in a long piece of galvanized wire (we're using 19awg). Twist the ends and stitch them down to anchor the wire. This wire gives structure to the hood and helps support the weight of the face panel.

Try on the hood and decide where you want the face panel to be, then pin and sew it in place by hand with a few tack stitches, or run it through the sewing machine.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/990/medium800thumb/led_pixels_mystical-halloween-hood-17.jpg?1448322559)

Once the face panel is in place, try the hood on again to find the placement of the eyes. Hand stitch them in place using the mounting holes on the PCB.

![](https://cdn-learn.adafruit.com/assets/assets/000/027/980/medium800thumb/led_pixels_mystical-halloween-hood-12.jpg?1448322378)

Stitch through unused holes on GEMMA to affix it to the inside of the cape's lapel. Stitch the battery holder near GEMMA and insert the 500mAh rechargable lipoly battery.

# Mystical LED Halloween Hood

## Wear it!

![](https://cdn-learn.adafruit.com/assets/assets/000/027/977/medium800thumb/led_pixels_mystical-halloween-hood-10.jpg?1448322321)

Enjoy your spooky new costume! We hope this serves as a jumping off point for your own project. Dress it up, dress it down, change the fabric and LED color-- the posibilities are numerous!

It's pretty easy to see out of the translucent face panel, and to remove the hood for eating/drinking.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/027/979/medium800thumb/led_pixels_mystical-halloween-hood-11.jpg?1448322334)

If you need your circuit to be water-resistant, check out our video on ruggedizing your projects:

https://www.youtube.com/watch?v=kolq3eSu4ug


## Featured Products

### Adafruit GEMMA v2 - Miniature wearable electronic platform

[Adafruit GEMMA v2 - Miniature wearable electronic platform](https://www.adafruit.com/product/1222)
 **Deprecation Warning: The Gemma bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well. So while we still carry the Gemma so that people can maintain some older projects, we no longer recommend it.** <a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/1222)
[Related Guides to the Product](https://learn.adafruit.com/products/1222/guides)
### Adafruit GEMMA M0 - Miniature wearable electronic platform

[Adafruit GEMMA M0 - Miniature wearable electronic platform](https://www.adafruit.com/product/3501)
The **Adafruit Gemma M0** is a super small microcontroller board, with just enough built-in to create many simple projects. It may look small and cute: round, about the size of a quarter, with friendly alligator-clip sew pads. But do not be fooled! The Gemma M0 is incredibly...

In Stock
[Buy Now](https://www.adafruit.com/product/3501)
[Related Guides to the Product](https://learn.adafruit.com/products/3501/guides)
### NeoPixel Jewel - 7 x 5050 RGB LED with Integrated Drivers

[NeoPixel Jewel - 7 x 5050 RGB LED with Integrated Drivers](https://www.adafruit.com/product/2226)
Be the belle of the ball with the NeoPixel Jewel! &nbsp;We fit seven of our tiny&nbsp;5050 (5mm x 5mm) smart RGB LEDs onto a beautiful, round&nbsp;PCB with mounting holes and a chainable design to create what we think is our most elegant (and evening-wear appropriate) NeoPixel board...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2226)
[Related Guides to the Product](https://learn.adafruit.com/products/2226/guides)
### Silicone Cover Stranded-Core Wire - 2m 30AWG Black

[Silicone Cover Stranded-Core Wire - 2m 30AWG Black](https://www.adafruit.com/product/2003)
Silicone-sheathing wire is super-flexible and soft, and its also strong! Able to handle up to 200°C and up to 600V, it will do when PVC covered wire wimps out. We like this wire for being extremely supple and flexible, so it is great for wearables or projects where the wire-harness has to...

In Stock
[Buy Now](https://www.adafruit.com/product/2003)
[Related Guides to the Product](https://learn.adafruit.com/products/2003/guides)
### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
### Flashforge Creator PRO

[Flashforge Creator PRO](https://www.adafruit.com/product/2742)
The **Flashforge Creator Pro** is the latest addition to FlashForge’s Creator family, built upon an open source platform.

Based on proven design of the Creator X chassis, the Pro is now enclosed so you can print ABS better and more efficient than ever. The upgraded...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2742)
[Related Guides to the Product](https://learn.adafruit.com/products/2742/guides)
### SemiFlex - 1.75mm Diameter - Midnight Black - 0.5Kg

[SemiFlex - 1.75mm Diameter - Midnight Black - 0.5Kg](https://www.adafruit.com/product/2321)
Announcing the newest addition to the NinjaFlex family, **SemiFlex 3D Filament**! Just like the original NinjaFlex 3D Filament, SemiFlex material boasts flexibility, strength and reliability for your 3D printing projects. &nbsp;It's also slightly more rigid so you...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2321)
[Related Guides to the Product](https://learn.adafruit.com/products/2321/guides)
### Needle set - 3/9 sizes - 20 needles

[Needle set - 3/9 sizes - 20 needles](https://www.adafruit.com/product/615)
Mighty needles, sew like the wind! This needle set is the only one you'll need for any sort of hand sewing, especially using our conductive thread and wearable electronics parts.  
  
Each pack contains 20 gold-eye sharps, with eye sizes ranging from #3 (1.75" long) to #9...

Out of Stock
[Buy Now](https://www.adafruit.com/product/615)
[Related Guides to the Product](https://learn.adafruit.com/products/615/guides)

## Related Guides

- [Space Face LED Galaxy Makeup](https://learn.adafruit.com/space-face-led-galaxy-makeup.md)
- [Cyberpunk Spikes](https://learn.adafruit.com/cyberpunk-spikes.md)
- [Close Encounters Hat](https://learn.adafruit.com/close-encounters-hat.md)
- [Superhero Power Plant](https://learn.adafruit.com/superhero-power-plant.md)
- [NeoPixel Fairy Crown](https://learn.adafruit.com/neopixel-fairy-crown.md)
- [Gemma-Powered NeoPixel LED Sound Reactive Drums](https://learn.adafruit.com/gemma-powered-neopixel-led-sound-reactive-drums.md)
- [The Foul Fowl -- Keystroke Injection Attack Tool with Gemma M0](https://learn.adafruit.com/the-foul-fowl-keyboard-injection-payload-gemma-m0.md)
- [Trinket / Gemma Blinky Eyes](https://learn.adafruit.com/trinket-gemma-blinky-eyes.md)
- [3D Printed NeoPixel Ring Hair Dress](https://learn.adafruit.com/neopixel-ring-hair-dress.md)
- [NeoPixel Tiara](https://learn.adafruit.com/neopixel-tiara.md)
- [Hanukkah MakeCode Menorah Sweater](https://learn.adafruit.com/hanukkah-menorah-sweater.md)
- [Unibeam](https://learn.adafruit.com/unibeam.md)
- [Glowing Scale Armor](https://learn.adafruit.com/glowing-scale-armor.md)
- [CPU Temperature Logging with CircuitPython](https://learn.adafruit.com/cpu-temperature-logging-with-circuit-python.md)
- [NeoPixel NanoRing](https://learn.adafruit.com/neopixel-nanoring-gemma.md)
