# Lie Ren's Stormflower Gun Blade

## Overview

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

![](https://cdn-learn.adafruit.com/assets/assets/000/036/962/medium800/3d_printing_stormflower-lit-underside.jpg?1478049859)

## Cosplay Props with NeoPixels

In this project, you'll learn how to add triggered lighting effects to your&nbsp;cosplay props.&nbsp;The electronics used in this prop&nbsp;are great for cosplay weapons or really anything that needs to flash when you press a button.

![](https://cdn-learn.adafruit.com/assets/assets/000/036/963/medium800/3d_printing_stormflower-lit-deadon.jpg?1478049876)

## Triggered Lighting Effects

Inside the barrel is a single NeoPixel. Mounted behind the trigger is a little push button, so when&nbsp;the trigger is squeezed, it actuates the button and lights up the NeoPixel. The&nbsp; Adafruit Trinket and 500mAh lipo battery are fitted inside the magazine and the entire prop is 3D printed.

![](https://cdn-learn.adafruit.com/assets/assets/000/037/052/medium800thumb/3d_printing_circuit-demo.jpg?1478450360)

## DIY&nbsp;Electronics

The electronics used in this project are easy to use and can be mounted in all sorts of builds. In&nbsp;its most basic form, the circuit consists of an Adafruit Trinket micro-controller, push button and single NeoPixel. The power can be supplied by either a USB battery pack or&nbsp;rechargable lipoly battery via JST breakout. When the button is pressed, the NeoPixel flashes for 1/3 of a second. The animation&nbsp;fades through a color gradient and creates&nbsp;a "light blast" effect. It’s easy to change the colors in the gradient and you&nbsp;can scale the animation by increasing the number of pixels.

## Prerequisite Guides

We suggest walking through the following guides to get a better understanding of the components and Arduino IDE. We also have great tutorials on learning how to solder.

- [Collin's Lab: Soldering](../../../../collins-lab-soldering/video?view=all)
- [Adafruit's Uber NeoPixel Guide](../../../../adafruit-neopixel-uberguide)
- [Adafruit Trinket](../../../../introducing-trinket/downloads?view=all)

![](https://cdn-learn.adafruit.com/assets/assets/000/036/964/medium800/3d_printing_parts.jpg?1478049995)

## Parts

All of the components used in this project are listed below and in the right hand sidebar.&nbsp;

- [Adafruit Trinket](https://www.adafruit.com/products/1501)
- [NeoPixel Mini PCB](https://www.adafruit.com/products/1612)
- [500mAh Lipo Battery](https://www.adafruit.com/products/1578)
- [6mm Slim Tactile Switch Button](https://www.adafruit.com/products/1489)
- [Switched JST breakout](https://www.adafruit.com/products/1863)

## Tools & Supplies

You'll need some tools and supplies to complete this project, but feel free to improvise and use any materials you like.

- [Soldering Iron](https://www.adafruit.com/categories/84) + [Solder](https://www.adafruit.com/products/734)
- [3D Printer](https://www.adafruit.com/categories/245) + [Filament](https://www.adafruit.com/products/2080)
- [30AWG Silicone coated wire](https://www.adafruit.com/products/2051)
- [Panavise Jr.](https://www.adafruit.com/products/151) or [Helping Third Hand](https://www.adafruit.com/products/291)
- [Heat Shrink Tubing](https://www.adafruit.com/products/1649)
- [Wire Strippers](https://www.adafruit.com/products/527)
- E6000 Adhesives
- 4x 4-40 3/8 (M3&nbsp;- 8mm) machine screws

![](https://cdn-learn.adafruit.com/assets/assets/000/036/991/medium800/3d_printing_3d-parts.jpg?1478052531)

![](https://cdn-learn.adafruit.com/assets/assets/000/037/010/medium800/3d_printing_stormflower-lit-perspective.jpg?1478055512)

- [Next Page](https://learn.adafruit.com/stormflower-gun-blade/circuit-diagram.md)

## Featured Products

### NeoPixel Mini Button PCB - Pack of 5

[NeoPixel Mini Button PCB - Pack of 5](https://www.adafruit.com/product/1612)
These are the smallest NeoPixel breakouts around! Tiny, bright RGB pixels to your project. These little PCBs are only 8mm x 10mm and have two sets of three pads on the back for soldering wires. These ultra-bright LEDs have a constant-current driver cooked right into the LED package! The pixels...

In Stock
[Buy Now](https://www.adafruit.com/product/1612)
[Related Guides to the Product](https://learn.adafruit.com/products/1612/guides)
### Adafruit Trinket - Mini Microcontroller - 5V Logic

[Adafruit Trinket - Mini Microcontroller - 5V Logic](https://www.adafruit.com/product/1501)
 **Deprecation Warning: The Trinket 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 Trinket so that people can maintain some older projects, we no longer recommend it.** <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/1501)
[Related Guides to the Product](https://learn.adafruit.com/products/1501/guides)
### Adafruit Trinket - Mini Microcontroller - 3.3V Logic

[Adafruit Trinket - Mini Microcontroller - 3.3V Logic](https://www.adafruit.com/product/1500)
 **Deprecation Warning: The Trinket 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 Trinket so that people can maintain some older projects, we no longer recommend it.** <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1500)
[Related Guides to the Product](https://learn.adafruit.com/products/1500/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)
### Tactile Switch Buttons (6mm slim) x 20 pack

[Tactile Switch Buttons (6mm slim) x 20 pack](https://www.adafruit.com/product/1489)
Slim clicky momentary switches are standard input "buttons" on electronic projects. These are half the width of classic 6mm tactile switches so they line up better on a breadboard, just plug them into every-other row. These work best in a PCB but <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1489)
[Related Guides to the Product](https://learn.adafruit.com/products/1489/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)
### PLA Filament for 3D Printers - 1.75mm Diameter - Green - 1KG

[PLA Filament for 3D Printers - 1.75mm Diameter - Green - 1KG](https://www.adafruit.com/product/2150)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. That's why we've started carrying a...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2150)
[Related Guides to the Product](https://learn.adafruit.com/products/2150/guides)
### Ultimaker 2+ 3D Printer

[Ultimaker 2+ 3D Printer](https://www.adafruit.com/product/2673)
The **Ultimaker 2+** is one of our favorite 3D printers on the market. It's a well-built open-source compact machine with an excellent UX.&nbsp;Every inch of the Ultimaker 2+ is designed to create the most effortless and reliable 3D printing experience ever!&nbsp;<a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2673)
[Related Guides to the Product](https://learn.adafruit.com/products/2673/guides)

## Related Guides

- [n3rfgun](https://learn.adafruit.com/n3rfgun.md)
- [Ultrasonic Ruler](https://learn.adafruit.com/ultrasonic-ruler.md)
- [Trinket (& Gemma) Servo Control](https://learn.adafruit.com/trinket-gemma-servo-control.md)
- [3D Printed Camera LED Ring](https://learn.adafruit.com/3d-printed-camera-led-ring.md)
- [Trinket-Powered Conference Room Occupancy Display](https://learn.adafruit.com/trinket-powered-room-conference-occupancy-display.md)
- [Trinket Sound-Reactive LED Color Organ](https://learn.adafruit.com/trinket-sound-reactive-led-color-organ.md)
- [NeoPixel Arcade Buttons](https://learn.adafruit.com/neopixel-arcade-button.md)
- [Really Simple Animatronic Tail](https://learn.adafruit.com/really-simple-animatronic-tail.md)
- [Trinket / Gemma IR Control](https://learn.adafruit.com/trinket-gemma-ir-remote-control.md)
- [Larson Scanner Shades (Trinket-Powered NeoPixel LED Strip Glasses)](https://learn.adafruit.com/larson-scanner-shades.md)
- [Trinket Bluetooth Alarm System](https://learn.adafruit.com/trinket-bluetooth-alarm-system.md)
- [Bluetooth-Controlled NeoPixel Goggles](https://learn.adafruit.com/bluetooth-neopixel-goggles.md)
- [Celebration Spectacles](https://learn.adafruit.com/celebration-spectacles.md)
- [3D Printed LED Fire Horns](https://learn.adafruit.com/3d-printed-led-fire-horns.md)
- [Tap Tempo Trinket](https://learn.adafruit.com/tap-tempo-trinket.md)
