Flash Gun - Ender's Game
by GlitchTech, published
Liked ByView All
Give a Shout Out
If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.Print Thing Tag
My wife is a long-time fan of Ender’s Game, so when the movie came out she decided to make a Dragon Army Flash Suit. Naturally, this meant she needed a gun to go with it, which is where I came in. Now you can light up the interstellar sky with your very own Flash Gun prop replica.
I designed the gun in SketchUp and printed the original on a MakerBot Replicator Dualstrusion. I started out by tracing a side view picture from the movie of the gun. I took this 2D image and started adding depth and layering pieces until I had a solid block model. I took dimensions from the block model and visited SparkFun and adafruit to determine what electronics to use with the final piece.
Researching parts helped me to determine that conventional batteries would not provide the power I needed in the space I had for any reasonable time period. It was time to build my first piece with a rechargeable LiPo battery. With this knowledge, I selected the remainder of the electronics I would need: two small LED rings, a single LED, several resistors and switches, a tiny arduino, and the power board.
I went back to the 3D model to design in hollow spaces and access points for the electronics. With the lessons I learned from my Chitauri Scepter build, I quickly designed in spaces for all the components. I designed in a removable butt on the handle to allow quick and easy access to the piece's main power switch and recharging port. It took many iterations in SketchUp to get all the parts fitting in such a small space with room for wires to run and bend. The hardest part was ensuring the arduino had enough room for the connections.
With the initial design completed, it was time to print the piece. The majority of the gun was printed from ABS, with the light-up spinner rings in translucent blue PLA, and the grip in Ninjaflex. I had printed with ABS and PLA before so I knew what to expect there. The Ninaflex was new but printed very easily.
Thanks to careful designs (and redesigns), precise measurements, and generous spacing on the electronics, the first test print fit well and there were few issues. Despite my careful work, the internal space for the arduino and wires was still too small. I had to increase the depth of the chamber. This were easily solved in the first piece with careful application of a dremel. The changes were saved in the 3D model.
I designed the circuitry for the piece in EagleCAD so I had a good idea of the circuit design. I used some simple test code on the arduino and built the circuit on a breadboard. With a few iterations, I had what I considered the best layout for the wires and connection points. I mimicked a bit of adafruit's NeoPixel code to give the side spinners their trailing glow effect. I made sure to leave the intensity and speed settings as variables so I could quickly adjust them and get the effect just right. Several hours later, I had the LED patterns working perfectly as well.
The final product measures approximately 9.5” long, 6” tall, and 1.5” thick. It includes space for LEDs for the “spinner” rings on either side and the “emitter” at the end of the barrel (see instructions for the exact products used).
I must have gotten something right, because one of the VFX artists who worked on the movie saw this Thingiverse posting and commissioned me to make one. Once he received it, he sent me the following message: “Having held the real thing, I can say that these feel and look extremely close to the original prop. The coating and weight is obviously a little different, but you really nailed the size and proportions of all of the parts, along with the spin up feeling of the LEDs. I can't believe this came out of a 3D printer.”
Bonus: He was able to get it signed by about 40 of the VFX crew, in addition to Gavin Hood, the film’s director. Pretty sure my wife’s heart stopped for a few moments when she found out!
Now for the technical stuff:
Battery casing and wiring setup: https://www.dropbox.com/s/x1u84sztj367suy/2014-06-10%2020.46.50.jpg?dl=0
Printable display stand: http://www.thingiverse.com/thing:797703
The model has been updated to better accommodate wiring. The new models are tagged v2.
Don't want to build one yourself? You can buy one at Barefootsewing.com.
The control code and wiring diagram for the Flash Gun can be found on their BitBucket Page.
The following are suggested electronics. Some items, like the single LED and resistors, can be swapped out as long as you use suitable replacement items.
- NeoPixel Ring - 12 x WS2812 5050 RGB LED with Integrated Drivers - 2 units @ $7.50 each
- Arduino Pro Mini 328 - 5V/16MHz - 1 unit @ $9.95 each
- Polymer Lithium Ion Battery - 1000mAh - 1 unit @ $8.95 each
- Power Cell - LiPo Charger/Booster - 1 unit @ $19.95 each
- SPST Sub-Mini Slide Switch - 1 unit @ $3.49 each
- Mini Push Button Switch - 1 unit @ $0.35
- Push Button Resistor - 1/4W 10 Kohm Resistor
- 3mm White LED - 1 unit @ $0.74
- LED Resistor - 1/2W 18 ohm resistor
I used 4-40 bolts to hold it together with hexagonal stand-offs (15.5mm long) in the gun body. Each on the surface has a standard washer.
There is also one 4-40 bolt buried in the body connected to the battery sled. It uses a standard nut to connect things.
I will be updating the design to use 4-40 screws instead of bolts. The stand-offs have become difficult to find.
Upgrade this Thing with Thingiverse AppsCustomization
Edit, personalize, or revise this ThingTools and Utilities
Repair, slice, or enhance this Thing
Flash Gun - Ender's Game by GlitchTech is licensed under the Creative Commons - Attribution - Non-Commercial license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is not allowed.
Show Some Love
Say thanks by giving GlitchTech a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure GlitchTech would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).