# Simple LED Unicorn Horn

## Overview

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

![](https://cdn-learn.adafruit.com/assets/assets/000/035/760/medium800/leds_hero-2.jpg?1473959441)

## 3D Printed Unicorn Horn

It's unicorn season! Last year we 3D printed a unicorn horn, this year we made it simpler! Redesigned in Fusion 360, this unicorn horn features a spiral&nbsp;design and tabs for sewing onto garments such as hats, hoodies and other headware. This unicorn horn lights up and features a UV Purple LED, so it's magical as it is whimsical.

## Want More Magic/Colors?

Want a more advanced unicorn horn? Check out our first Unicorn horn project!

- [NeoPixel Unicorn Horn using GEMMA](../../../3d-printed-unicorn-horn)

![](https://cdn-learn.adafruit.com/assets/assets/000/035/759/medium800/leds_hero-1.jpg?1473959416)

## Great For Beginners

This project is as simple as it gets! There's no micro-controller or programming required. The circuit is just an LED, a JST breakout with on/off switch and a battery - That's it! If this is your first time using LEDs or soldering wires, this is the project for you!

![](https://cdn-learn.adafruit.com/assets/assets/000/035/761/medium800/leds_parts.jpg?1473959548)

## Parts & Tools

We have all of the tools and parts you'll need for this project in the shop. Use the links below or on the right hand sidebar.

- [UV/UVA Purple LED 5mm](https://www.adafruit.com/products/1793)
- [150mAh Lipo Battery](https://www.adafruit.com/products/1317)
- [MicroLipo battery charger](https://www.adafruit.com/products/1304)
- [JST Breakout with Switch](https://www.adafruit.com/products/1863)
- [3D Printer](https://www.adafruit.com/products/2933) & Filament
- [Silicone Cover Stranded Wire](https://www.adafruit.com/products/3166)
- [Soldering Iron](https://www.adafruit.com/categories/84) & [Solder](https://www.adafruit.com/products/734)
- [Wire Strippers](https://www.adafruit.com/products/527)

You can also try our [RGB Slow-Fade](https://www.adafruit.com/products/679) or [Fast-Fade LEDs](https://www.adafruit.com/products/680)!

## No 3D Printer? No Problem!

If you don't have access to a 3D printer, you could try sending the design file to a service like 3DHubs.com - local 3D printer operators can print and ship&nbsp;to you directly! If you want hands on experience, consider visiting a local Maker/Hacker Space (just search on google!).

![](https://cdn-learn.adafruit.com/assets/assets/000/035/758/medium800/leds_hero-4.jpg?1473959398)

# Simple LED Unicorn Horn

## 3D Printing

![](https://cdn-learn.adafruit.com/assets/assets/000/035/801/medium800/leds_unicorn-horns-3d-printed.jpg?1474141627)

## Ninjaflex Filament

We recommend using flexible filament to 3D print the unicorn horn, because it will make it easier to sew and less likely to break or harm anyone. Ninjaflex filament comes in different colors and types. Some 3D printers can handle regular ninjaflex filament, but others (like the Micro M3D printer) work best with semiflex or Cheetah. Either way, this type of filament works best&nbsp;with 3D printer that feature a direct-drive extruder system.&nbsp;

## Ninjaflex Slice Settings

We found the&nbsp;optimal slice settings for ninjaflex to variy but the settings below are a great starting point.

- 230C Extruder
- No heated bed / 60c Heated bed
- 40mm/sec default printing speed
- No retraction / disabled
- 50% fan speed

[Download STLs from Thingiverse](http://www.thingiverse.com/thing:1781503)
[Download STLs from Pinshape](https://pinshape.com/items/26295-3d-printed-simple-led-unicorn-horn)
[Download STLs from Youmagine](https://www.youmagine.com/designs/simple-led-unicorn-horn)
## Tweak, Modiy, Design

We put this design together in Autodesk Fusion 360, so it's parametric and easy to remix or make small adjustments. If you're interest in seeing how we designed it, we have a Layer by Layer tutorial that walks through all of the steps.

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

[Download Fusion 360 Source](http://a360.co/2d62etr)
# Simple LED Unicorn Horn

## Wiring LED

## Secure LED

Let's start by wiring our LED. First, secure the LED to either a pair of helping third hands or a panavise - this will help us keep the LED sturdy while we solder wires to the legs.

![leds_secure-led.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/766/medium640/leds_secure-led.jpg?1474115869)

## Silicone&nbsp;Cover Stranded Wire

I highly recommend using silicone cover stranded wire for this project because it's flexible and won't break under stress. Regular wire wrap or PVC cover wire is OK but it could potentially break over time.

30AWG size wire works great here because it's thin and strong enough for the longevity of this project.

![leds_wire-spools.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/767/medium640/leds_wire-spools.jpg?1474115987)

## Wire Lengths

OK, now we'll need to figure our how long our wires need to be. This all depends on what your attching the unicorn horn too – Will it go on a hat? hoodie, bandana? All will require different wire lengths. A good rule a thumb is to use a bit more than you need, because it's easier to trim it down and to add more later.

![leds_wire-lengths.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/768/medium640/leds_wire-lengths.jpg?1474116071)

## Strip Wires

Once you have your wire length figured out, cut two pieces out (both in the same length) and use a pair of wire strippers to remove about 5m of insulation - exposing the bare wires. You'll need to do this for both ones, on both tips.

![leds_wire-strip.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/769/medium640/leds_wire-strip.jpg?1474116393)

## Tin Wires

It's good practice to _tin_ your wires before soldering them to anything – _Tinning_&nbsp;is the act of&nbsp;applying a bit of solder to the exposed wire, effectively "glueing" the strands together to prevent them from fraying. I recommending using a pair&nbsp;of helping third hands to all of the wires together while soldering. It's much easier to do them all at the same time like shown in the photo.

![leds_wires-stripped.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/771/medium640/leds_wires-stripped.jpg?1474116498)

![leds_wire-tinning.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/772/medium640/leds_wire-tinning.jpg?1474116518)

## Trim LED

Most LEDs will have long legs. This is great for prototyping on breadboard, but we won't need them this long, so let's trim them short – But not before noting which is positive (anode) and which is negative (cathode). The longer led will be the postive anode, while the shorter one is the negative cathode.

![leds_led-trim-lead.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/773/medium640/leds_led-trim-lead.jpg?1474116582)

## Tin LED

It's also a good idea to tin legs of components, not just wires. Now that the legs of our LED are shortened, apply a bit of solder to them. Again, this is really going&nbsp;to make it easier when we solder our wires to them.

![leds_led-tinning.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/774/medium640/leds_led-tinning.jpg?1474116653)

## Solder Wires to LED

OK, now it's time to solder our wires to the legs of the LED. Here, I soldered the red wire to the postive anode, and the negative cathode to the blue wire. It doesn't really matter which color you use, but it is nice to keep it consistent with the electronics standard.

![leds_led-solder-wires.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/775/medium640/leds_led-solder-wires.jpg?1474116724)

## Tin Pins on JST Switch Breakout

Now it's time to get out our JST switch breakout. Before we solder wires to this, let's tin the pins! Apply a bit of solder to the **SW** and **GND** labeled pins on the JST switch breakout. I'm sure you know by now why it's a good idea to tin these pins ;-)

![leds_secure-jst-pcb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/776/medium640/leds_secure-jst-pcb.jpg?1474136866)

![leds_jst-tin-pcb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/777/medium640/leds_jst-tin-pcb.jpg?1474136905)

## Solder Wires to JST Breakout

OK, now we can solder in the **red wire** (positive anode) to the **SW** labeled pin on the JST breakout and the **blue wire** (negative cathode) to the **GND** labeled pin.

![leds_jst-wires-soldered.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/778/medium640/leds_jst-wires-soldered.jpg?1474136981)

## Test Circuit

Our components, legs and wires are all soldered up – Wohoo! Now's a good time to test our circuit. Plug in the male JST connector from the lipo battery into the female JST connector of the JST breakout board. Flip the on/off switch and the LED should glow!

![leds_test-circuit.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/781/medium640/leds_test-circuit.jpg?1474137127)

# Simple LED Unicorn Horn

## Assembly

## Placement Planning

It's a good idea to plan out where you want the unicorn horn to be. Since I'm doing it on my hoodie, I'm placing it near the lower brim of the hoodie, in the center. Then, I used an X-acto blade to score&nbsp;the spot where I want the LED to be. Once it was marked out, I then dug into the fabric, effectively poking a hole.

![leds_hoodie-planning.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/788/medium640/leds_hoodie-planning.jpg?1474137845)

![leds_hoodie-precut.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/789/medium640/leds_hoodie-precut.jpg?1474137858)

![](https://cdn-learn.adafruit.com/assets/assets/000/035/791/medium800thumb/leds_installing-led-hoodie.jpg?1474137965)

## Install LED into Hoodie

Once I had my hole in the hoodie, I proceeded to insert the LED from the inside of the hoodie and pull it out through the fabric so the LED went through the other side.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/792/medium800thumb/leds_install-led-holder.jpg?1474137995)

## Install LED Holder

Then, I could install the LED holder piece by pressing the LED into it. Really easy, it just press fits into place.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/793/medium800thumb/leds_horn-place-led.jpg?1474138239)

## Install Horn onto&nbsp;Holder

With the LED installed into the holder, I proceeded to place it back onto the hoodie, so it's flush with the fabric. Then, place the 3D printed unicorn horn over the LED holder. I recommend orienting the horn so the tabs are away from any&nbsp;seam&nbsp;– that could potentially make it harder to poke a needle through.

## Needle & Thread

Now it's onto sewing! It's totally not duanting, if you can solder wire, you can totally sew! Start by picking out a fairely thin needle (if&nbsp;you're attching the horn to a hat, the thinner the better) and some thread – Ideally a color that matches your headware (here it's black, obviously ;-). Choose a decent length of thread, just make sure it's not too long or short. Then,&nbsp;thread through the eye of the needle and tie the two ends of the thread together so the eye of the needle will be in the middle of the thread.

![leds_thread-needle.jpg](https://cdn-learn.adafruit.com/assets/assets/000/035/790/medium640/leds_thread-needle.jpg?1474137936)

![](https://cdn-learn.adafruit.com/assets/assets/000/035/794/medium800thumb/leds_sew-horn-hoodie.jpg?1474138400)

## Sew Horn onto Hoodie

Now it's time to sew! I started by poking the needle through the inside of the hoodie and coming up through one of the sew tabs. Then, poke back down on the outside perimeter of the tab and thread until a tight loop is made,&nbsp;holding the sew tab down to the fabric. Then, create a few knots and tighten.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/796/medium800thumb/leds_snip-thread.jpg?1474138634)

## Snip Excess Thread

Use a pair of scissors to snip off the excess thread – fight the urge to use your teeth and byte off the thread ;-)

![](https://cdn-learn.adafruit.com/assets/assets/000/035/797/medium800thumb/leds_sew-all-tabs.jpg?1474138755)

## Sew All Tabs

Repeat this process for all for tabs! If you get stuck, not a problem! Just snip off any thread and try again. You'll get better with practice anyway! I was able to get away with a single loop for each tab – but obviously the more you add, the more secure the horn will be!

![](https://cdn-learn.adafruit.com/assets/assets/000/035/798/medium800thumb/leds_sew-wire-loops.jpg?1474138865)

## Sew Wire Loops

Since my wires were a bit lengthy, I&nbsp;ended up adding loops to the wires to keep them in line, preventing them from going all over the place. Just a few regular loops to guide the wires down to the back of the hoodie, near the tag.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/799/medium800thumb/leds_store-battery.jpg?1474138986)

## Store Battery

Speaking of the tag, that's actually where a good spot if to store the battery and JST switch breakout. There was a large patch right above the tag – I made a slit there and turned it into a little store pocket but if you don't have one, you could just secure it to the tag.

![](https://cdn-learn.adafruit.com/assets/assets/000/035/800/medium800thumb/leds_test-sew-hoodie.jpg?1474139101)

## Turn It On!

Welp, we're just about done. Now we can turn the switch on and see our sewed LED horn light up. All that's left to do that this point is to wear it out! Congrats, you're now a magic unicorn! :-D I hope you learned a lot while making this project and enjoyed building it. If you built one, PLEASE take a picture and share it with us on [Twitter](https://twitter.com/adafruit), [Instagram](https://instagram.com/adafruit) or even post a make on [Thingiverse](https://thingiverse.com/adafruit). We'd love to share it to the world!


## Featured Products

### UV/UVA 400nm Purple LED 5mm Clear Lens - 10 pack

[UV/UVA 400nm Purple LED 5mm Clear Lens - 10 pack](https://www.adafruit.com/product/1793)
Need some really bright LEDs? We are big fans of these 5mm clear **UV / Purple** LEDs. These emit UV 'blacklight' in the UVA spectrum so they are great for projects with fluorescent materials referred to as UV/blacklight-reactive or 'glow-in-the dark'. They are...

In Stock
[Buy Now](https://www.adafruit.com/product/1793)
[Related Guides to the Product](https://learn.adafruit.com/products/1793/guides)
### Diffused 5mm Slow Fade Flashing RGB LED - 10 pack

[Diffused 5mm Slow Fade Flashing RGB LED - 10 pack](https://www.adafruit.com/product/679)
These are very interesting 5mm diffused RGB LEDs - instead of having 4 pins to control 3 LEDs, they have only **two leads** - power and ground. When powered, the LEDs perform a slow fade through the rainbow, from red to orange to yellow, etc till they get back to red. See the...

In Stock
[Buy Now](https://www.adafruit.com/product/679)
[Related Guides to the Product](https://learn.adafruit.com/products/679/guides)
### Diffused 5mm Fast Flashing RGB LED - 10 pack

[Diffused 5mm Fast Flashing RGB LED - 10 pack](https://www.adafruit.com/product/680)
These are very interesting 5mm diffused RGB LEDs - instead of having 4 pins to control 3 LEDs, they have only **two leads** - power and ground. When powered, the LEDs perform a flashing effect with all the colors. See the video below for the timing and look. There is no way to change the...

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

[Lithium Ion Polymer Battery - 3.7v 150mAh](https://www.adafruit.com/product/1317)
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 150mAh for a total of about 0.6 Wh. If you need a larger battery, <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/1317)
[Related Guides to the Product](https://learn.adafruit.com/products/1317/guides)
### Switched JST-PH 2-Pin SMT Right Angle Breakout Board

[Switched JST-PH 2-Pin SMT Right Angle Breakout Board](https://www.adafruit.com/product/1863)
This switched JST connector is the best way to quickly prototype with our LiPoly batteries. We paired a genuine JST connector with a slide switch that can do up to 600mA. Both are soldered onto a breadboard-friendly breakout. There's two ground pins, one 'switched' power pin, and...

In Stock
[Buy Now](https://www.adafruit.com/product/1863)
[Related Guides to the Product](https://learn.adafruit.com/products/1863/guides)
### Micro 3D Printer - Black - Retail Edition

[Micro 3D Printer - Black - Retail Edition](https://www.adafruit.com/product/2933)
The magic of 3D printing is now more affordable and accessible than ever! Meet The **Micro 3D Printer** by [M3D](https://printm3d.com/), the first truly consumer 3D printer. Sporting a compact design, user-friendly software, and replaceable print beds and nozzles,...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2933)
[Related Guides to the Product](https://learn.adafruit.com/products/2933/guides)
### Cheetah 3D Printer Filament - 1.75mm Diameter 0.5kg - Snow

[Cheetah 3D Printer Filament - 1.75mm Diameter 0.5kg - Snow](https://www.adafruit.com/product/3223)
Looking beyond ABS? Tired of PLA? Open a world of possibilities, limited only by your imagination. NinjaTek's **Cheetah** series, a cutting-edge filament for 3D printers,&nbsp;is an industrial grade flexible filament known for its speed and compatibility.

Cheetah was...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3223)
[Related Guides to the Product](https://learn.adafruit.com/products/3223/guides)
### Silicone Cover Stranded-Core Wire - 2m 30AWG Red

[Silicone Cover Stranded-Core Wire - 2m 30AWG Red](https://www.adafruit.com/product/2001)
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/2001)
[Related Guides to the Product](https://learn.adafruit.com/products/2001/guides)

## Related Guides

- [Chinese Dragon Puppet with Motion-Reactive Flame Effect](https://learn.adafruit.com/chinese-dragon-puppet-with-motion-reactive-flame-effect.md)
- [Lie Ren's Stormflower Gun Blade](https://learn.adafruit.com/stormflower-gun-blade.md)
- [Celebration Spectacles](https://learn.adafruit.com/celebration-spectacles.md)
- [Fix-It Felix Jr. Hammer with Sound FX](https://learn.adafruit.com/fix-it-felix-jr-hammer.md)
- [Guardian Robot with LEDs](https://learn.adafruit.com/guardian-robot-with-leds.md)
- [Light Up your Costume with Noods](https://learn.adafruit.com/light-up-your-costume-with-noods.md)
- [Rainbow Chakra LED Hoodie](https://learn.adafruit.com/rainbow-chakra-led-hoodie.md)
- [3D Printed Glowing Mace Prop](https://learn.adafruit.com/3d-printed-glowing-mace-prop.md)
- [NeoPixel Novelty Cufflinks with Scrolling Text](https://learn.adafruit.com/neopixel-novelty-cufflinks-with-scrolling-text.md)
- [Link's 3D Printed Wooden Sword](https://learn.adafruit.com/links-3d-printed-wooden-sword.md)
- [Drone Claw](https://learn.adafruit.com/drone-claw.md)
- [MIDI Laser Harp with Time of Flight Distance Sensors](https://learn.adafruit.com/midi-laser-harp-time-of-flight-sensors.md)
- [3d Printed Neopixel Tactile Switch Buttons](https://learn.adafruit.com/3d-printed-neopixel-tactile-switch-buttons.md)
- [MagTag 3D Printed Stand Case](https://learn.adafruit.com/magtag-3d-printed-stand-case.md)
- [DIY IoT Doorbell Camera with MEMENTO](https://learn.adafruit.com/diy-iot-doorbell-camera-with-memento.md)
