# 3D Printed Daft Punk Helmet

## Overview

http://youtu.be/2v-N7TR1_og

## 3D Printing + Cosplay

A perfect combination for making great things! This&nbsp;giant helmet is&nbsp;3d printed in transparent/translucent PLA&nbsp;for a light up wearable, giving you freedom to headbang to your favorite beats.   
  
As a hollowed out shell, you can easily to fit a strip of LEDs inside the helmet for making an epic LED costume.&nbsp;You can even customize the helmet in CAD software to fit your head!&nbsp;

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/019/178/medium800/light_hero_still.jpg?1409081191)

## Parts

We have two Trinket (or Pro Trinket) setups - one for front and one for sides, so you'll need to have two 'kits'!

- [2 x Trinket M0](https://www.adafruit.com/product/3500) - easier to use and more compatible with modern computers.&nbsp;
- [or 2 x Trinket Mini](https://www.adafruit.com/search?q=trinket "Link: https://www.adafruit.com/search?q=trinket")&nbsp;- our demo uses Trinket, but for more complex animations you may want...
- [or 2 x Trinket Pro](https://www.adafruit.com/product/2000)&nbsp;- more code space and pins than a Trinket
- [NeoPixel Strip](https://www.adafruit.com/search?q=neopixel+strip "Link: https://www.adafruit.com/search?q=neopixel+strip") - more LEDs mean more complex animations but more power draw!
- [2 x Slide Switch](https://www.adafruit.com/products/805 "Link: https://www.adafruit.com/products/805")
- [2 x JST Extension](https://www.adafruit.com/product/1131 "Link: https://www.adafruit.com/product/1131")/[Connector](https://www.adafruit.com/products/1769 "Link: https://www.adafruit.com/products/1769")
- [2 x 1200mAh Lithium Polymer Battery](https://www.adafruit.com/products/1578 "Link: https://www.adafruit.com/products/1578") - bigger batteries last longer but take up more space.
- [Micro Lipo charger for recharging the batteries](https://www.adafruit.com/products/1904)

## Tools & Supplies

- [Solder Iron](https://www.adafruit.com/products/1204 "Link: https://www.adafruit.com/products/1204") + [Solder](https://www.adafruit.com/products/734 "Link: https://www.adafruit.com/products/734")
- [Silicone&nbsp;Wire](https://www.adafruit.com/products/1877 "Silicone Wire")
- [PLA&nbsp;Filament](https://www.adafruit.com/search?q=ninjaflex "Link: https://www.adafruit.com/search?q=ninjaflex")
- [3D Printer](https://www.adafruit.com/search?q=3d+printer "Link: https://www.adafruit.com/search?q=3d+printer")
- [Heat shrink tubing](https://www.adafruit.com/product/344)

## Prerequisite Guides

- [Trinket M0](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino?view=all)
- [Introducing Trinket](../../../introducing-trinket "Link: https://learn.adafruit.com/introducing-trinket")
- [Introducting Pro Trinket](../../../../introducting-pro-trinket)
- [NeoPixel Uberguide](../../../adafruit-neopixel-uberguide)

![](https://cdn-learn.adafruit.com/assets/assets/000/019/179/medium800/light_parts2.jpg?1409081276)

![](https://cdn-learn.adafruit.com/assets/assets/000/019/249/medium800/light_hero-look-lp1.jpg?1409173112)

![](https://cdn-learn.adafruit.com/assets/assets/000/019/503/medium800/light_hero_arms_cross.jpg?1409839255)

# 3D Printed Daft Punk Helmet

## 3D Printing

## PLA&nbsp;Filament

Optimized for printing in PLA&nbsp;material, due to the large build. PLA is more dimensionally&nbsp;stable than ABS when it comes to big prints.&nbsp;The helmet&nbsp;is shelled out and prints best with no support or raft material.

[Download Helmet](http://www.thingiverse.com/thing:450512)
![](https://cdn-learn.adafruit.com/assets/assets/000/019/233/medium800/light_28.jpg?1409167708)

## Customize Helmet

Fit the helmet to your head! Measure around the top part of your head, right above the ears&nbsp;and edit&nbsp;the dimensions inside the&nbsp;DP-helment.123dx **&nbsp;** file, keep the maximum build size in mind.&nbsp;You can even launch 123D Design right in your browser.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/181/medium800thumb/light_print-loop.jpg?1448311894)

Danger: 

## Large&nbsp;Build

This jumbo helmet measures a massive 246mm x 226mm x 250mm and takes about 49 hours (3 Days) to print!&nbsp;

## Fuse Filament

If you notice your spool running low, you can heat up two filament ends together with a heating&nbsp;element like a nozzle from a 3D Printing Pen to fuse the&nbsp;ends.

## Flexy Plate

Easy remove large print off the platform by using a [flexable build plate](https://www.adafruit.com/product/2132).

![](https://cdn-learn.adafruit.com/assets/assets/000/019/183/medium800thumb/light_pop-off-loop.jpg?1448311916)

## Slicer Settings

For the best quality when printing with PLA, we recommend the following slice settings:

- Retraction Speed: 800mm
- Retraction Distance: 1.5mm
- Speeds: 60/80
- Shells: 2
- Extruder Temp: 225c
- Infill 10%
- Support:&nbsp;Off
- No Heated Bed

# 3D Printed Daft Punk Helmet

## Circuit Diagram

 **For our demo we're keeping it simple with two low cost Trinkets + neopixel strips that share the same data pin.** However, this is just to get you started! Customize your own helmet with your own designs. [You can also upgrade to a Pro Trinket which has way more flash space for more complex designs.](https://www.adafruit.com/products/2000)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/019/197/medium800/light_daft-circuit.jpg?1409101224)

Follow the&nbsp;illustration above as&nbsp;a reference for wiring the components. The trinket micro-controller is wired to the neopixel strip using a Y connection. Each strip&nbsp;is sharing a single&nbsp;connection to&nbsp;the trinket's data, power and ground pins.&nbsp;

This switch is only for about ~500mA of current (so only maybe 10 or 20 LEDs on at once). If you want to have way more LEDs and higher draw, [please use this switch which is rated for 2 Amps](https://www.adafruit.com/product/1092)

Danger: 

![](https://cdn-learn.adafruit.com/assets/assets/000/019/202/medium800/light_jst-back.jpg?1409144360)

## TRINKET + NeoPixel Strip

In this circuit diagram, you will need to solder a [JST female connector](https://www.adafruit.com/products/1769) to the bottom of the Trinket where the postive+ and negative- terminals are exposed.  
  
The NeoPixel Strip **IN** pin is wired to **D0** on Trinket. **Postive+&nbsp;** pin on NeoPixel Strip is wired to **BAT** &nbsp;pin on Trinket. The **Negative-** &nbsp;pin on the strip is wired to **GND** pin on Trinket.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/198/medium800/light_slideswitch.jpg?1409101326)

## Slide Switch Adapter

Shorten a JST extension cable to about 10mm long by cutting the positive and negative cables with wire cutters. Use wire stripers to strip the ends of the positive and negative wires. Apply a bit of rosin to the stripped ends and tin the tips of the wires. Add a piece of shrink tubing to the negative wire and solder them together by holding them in place with a third-helping-hand.

# 3D Printed Daft Punk Helmet

## Arduino Code

Make sure to to download the [NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel "Link: https://github.com/adafruit/Adafruit\_NeoPixel")&nbsp;Arduino library. Below is front and side&nbsp;code that will change the color of the NeoPixel strip - copy it into your Adafruit Arduino IDE as-is and then mod the LED Pins and number of pixels to make it your own. Remember that to program Trinket you need to download the special Adafruit version of the Arduino IDE from the [Introduction to Trinket&nbsp;guide.](../../../../introducing-trinket/)

Info: 

## Side Animation
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/3D_Printed_Daft_Punk_Helmet/3D_Printed_Daft_Punk_Helmet-Side-Animation/3D_Printed_Daft_Punk_Helmet-Side-Animation.ino

## Front Animation
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/3D_Printed_Daft_Punk_Helmet/3D_Printed_Daft_Punk_Helmet-Front-Animation/3D_Printed_Daft_Punk_Helmet-Front-Animation.ino

# 3D Printed Daft Punk Helmet

## CircuitPython Code

If you haven't already, follow&nbsp;[this guide](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino/circuitpython)&nbsp;to preparing the&nbsp;Trinket M0, including updating it with the latest version of&nbsp;CircuitPython.

After prepping the&nbsp;Trinket&nbsp;M0&nbsp;to run&nbsp;CircuitPython&nbsp;we'll also need to add a&nbsp;NeoPixel&nbsp;library.&nbsp;[This guide tells you how](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino/installing-libraries),&nbsp;as well as providing a good primer on using&nbsp;NeoPixels&nbsp;on the&nbsp;Trinket M0&nbsp;with&nbsp;CircuitPython.

# Installing NeoPixel Library
Download the latest&nbsp; **adafruit-circuitpython-bundle-xxxx.zip** &nbsp;(or newer) from the[&nbsp;releases directory&nbsp;](https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/)and then unzip it somewhere easy to find, such as your desktop. Then, copy the&nbsp; **neopixel.mpy** &nbsp;file to your **CIRCUITPY** &nbsp; **lib** &nbsp;directory on the&nbsp;Trinket&nbsp;M0.

Finally, if you had a&nbsp; **neopixel.py** &nbsp;file that was already in that same&nbsp; **lib** directory you can delete it (the mpy is a compressed version).

# Saving CircuitPython Code
Once you've got things working, you can edit the&nbsp; **code.py** &nbsp;file on the&nbsp;Trinket&nbsp;M0&nbsp;to adjust what it actually does. No need for a software IDE, complaining tools, or flashing the chip -- when you code with&nbsp;CircuitPython&nbsp;all you need is a text editor. Edit the code, save it to the&nbsp;Trinket&nbsp;M0, and it immediately runs!

Below is side and front code that will change the color of the NeoPixel strip.&nbsp;

# Side Animation
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/3D_Printed_Daft_Punk_Helmet/3D_Printed_Daft_Punk_Helmet-Side-Animation/code.py

Copy the above "Side Animation" code, and then paste it into a new&nbsp;text document in your favorite text/coding editor. Then,&nbsp;save it to your Trinket M0's **CIRCUITPY** drive as&nbsp; **code.py**

# Front Animation
https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/3D_Printed_Daft_Punk_Helmet/3D_Printed_Daft_Punk_Helmet-Front-Animation/code.py

Copy the above "Front Animation" code, and then paste it into a new&nbsp;text document in your favorite text/coding editor. Then,&nbsp;save it to your Trinket M0's **CIRCUITPY** drive as&nbsp; **code.py**

# 3D Printed Daft Punk Helmet

## Assembly

![](https://cdn-learn.adafruit.com/assets/assets/000/019/184/medium800/light_clip-off-goop.jpg?1409084031)

## Clean Up The&nbsp;Print

Use a pair of flush diagonal cutter to clean up the&nbsp;deposits left over from printing

![](https://cdn-learn.adafruit.com/assets/assets/000/019/193/medium800/light_mask-tape-edges.jpg?1409087601)

## Masking Tape

Apply masking tape to the front of the helmet. Use a flat edge to get the side walls.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/189/medium800thumb/light_masking-tape.jpg?1448311944)

## Cover it Up

Make sure to cover up the front visor area. One layer of masking tape&nbsp;is suffice.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/187/medium800thumb/light_spray-helmet.jpg?1448311931)

## Spray Paint

A coat of glossy golden spray&nbsp;paint will add shiny&nbsp;separation&nbsp;to the transperanet purple front.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/188/medium800thumb/light_peel-tape.jpg?1448311935)

## Peel it

Wait about 45 mintues for the paint to dry and remove the masking tape. You can use tweezers to help get the stuck edges.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/019/186/medium800/light_slideswitch.jpg?1409084102)

## Slide&nbsp;Switch

Build an&nbsp;off and on switch by shortening and soldering a JST extension cable to a slide switch as shown. Don't forget to add the heat shrink tube before soldering!

![](https://cdn-learn.adafruit.com/assets/assets/000/019/231/medium800/light_cut-strip.jpg?1409167427)

## Measure and Cut NeoPixel Strips

Determine how long you'd like the LED strip to be and carefully&nbsp;cut the strip and sheathing.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/019/191/medium800/light_trinket-solder0.jpg?1409087541)

## Solder Trinket

Solder the three silicone wires for power, ground and digital to the top of the trinket. Use a pair of third helping hands to secure hold the neopixel strips and trinket while soldering.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/190/medium800/light_y-cables2.jpg?1409087527)

## Solder&nbsp;Strips

Build a "Y" connection in the wiring to connect the two strips on each side of the helmet. Build another set with two on each side for a total of four strips for the front part of the helmet.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/185/medium800thumb/light_space-strip.jpg?1448311922)

## Strip Placement

Check the placement of the strips by spacing&nbsp;each from the center of the helmet.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/192/medium800/light_glue-strips.jpg?1409087560)

## Secure LED Strips to Helmet

Once your happy with the layout of the strips, secure each one down with your favorite&nbsp;adhesive.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/019/196/medium800/light_foam-tape.jpg?1409099448)

## Foam Tape

Use small pieces of double sided foam tape to secure the trinkets&nbsp;right above the ears curves.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/194/medium800/light_circuit-inside.jpg?1409090948)

## Wires

Arrange the wires along the top and back of the helmet to keep them out of the way.

![](https://cdn-learn.adafruit.com/assets/assets/000/019/195/medium800/light_end-still2.jpg?1409090963)

Now your ready to code some animation into the&nbsp;two Trinkets!


## Featured Products

### Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE

[Adafruit Trinket M0 - for use with CircuitPython & Arduino IDE](https://www.adafruit.com/product/3500)
The&nbsp;Adafruit Trinket M0 may be small, but do not be fooled by its size! It's a tiny microcontroller board, built around the Atmel ATSAMD21, a little chip with _a lot_ of power. We wanted to design a microcontroller board that was small enough to fit into any project, and low...

In Stock
[Buy Now](https://www.adafruit.com/product/3500)
[Related Guides to the Product](https://learn.adafruit.com/products/3500/guides)
### Adafruit Pro Trinket - 5V 16MHz

[Adafruit Pro Trinket - 5V 16MHz](https://www.adafruit.com/product/2000)
 **Deprecation Warning: The Pro 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 Pro Trinket so that people can maintain some older projets, we no longer recommend it.** Please...

In Stock
[Buy Now](https://www.adafruit.com/product/2000)
[Related Guides to the Product](https://learn.adafruit.com/products/2000/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...>

In Stock
[Buy Now](https://www.adafruit.com/product/1501)
[Related Guides to the Product](https://learn.adafruit.com/products/1501/guides)
### Type A Machines Series 1 Pro 3D Printer

[Type A Machines Series 1 Pro 3D Printer](https://www.adafruit.com/product/2412)
Built to last&nbsp;and better than ever. The **Series&nbsp;1&nbsp;Pro 3D** printers&nbsp;from Type A Machines offer&nbsp;durability, modularity and one of the largest build volumes in their&nbsp;class.

Featuring a streamlined aluminum and acrylic body, a glass build surface...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2412)
[Related Guides to the Product](https://learn.adafruit.com/products/2412/guides)
### PLA Filament for 3D Printers - 1.75mm Diameter

[PLA Filament for 3D Printers - 1.75mm Diameter](https://www.adafruit.com/product/2449)
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. &nbsp;That's why we've started carrying a...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2449)
[Related Guides to the Product](https://learn.adafruit.com/products/2449/guides)
### PRINTinZ Flexible 3D Printer Plate - 300mm x 300mm

[PRINTinZ Flexible 3D Printer Plate - 300mm x 300mm](https://www.adafruit.com/product/2132)
Removing 3D printed parts can be tough. Sometimes pieces get stuck to your 3D printing plate and their bottoms get stuck to your build plate. &nbsp;Over time, chiseling objects off can scratch and damage your plate - and get pretty annoying - so wouldn't it be great if you could just bend...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2132)
[Related Guides to the Product](https://learn.adafruit.com/products/2132/guides)
### Adafruit NeoPixel Digital RGB LED Strip 144 LED - 1m White

[Adafruit NeoPixel Digital RGB LED Strip 144 LED - 1m White](https://www.adafruit.com/product/1507)
We crammed **ALL THE NEOPIXELS** into this strip! An unbelievable 144 individually-controllable LED pixels on a flexible PCB. It's completely out of control and ready for you to blink. This strip has a white mask, and an extra heavy flex PCB.  
  
These LED strips are even more...

In Stock
[Buy Now](https://www.adafruit.com/product/1507)
[Related Guides to the Product](https://learn.adafruit.com/products/1507/guides)
### Heat Shrink Pack

[Heat Shrink Pack](https://www.adafruit.com/product/344)
Heat shrink is the duct tape of electronics, it keeps your stuff all safe and kept together. Especially when wiring and soldering, use heat shrink to add mechanical strength to cables. We use this stuff all the time and having a zip-lock bag of all the possible sizes is super...

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

## Related Guides

- [Adafruit Trinket M0](https://learn.adafruit.com/adafruit-trinket-m0-circuitpython-arduino.md)
- [3D Printed LED Fire Horns](https://learn.adafruit.com/3d-printed-led-fire-horns.md)
- [Morning Star POV Double Staffs](https://learn.adafruit.com/pov-dotstar-double-staff.md)
- [NeoPixel Cyber Falls Wig](https://learn.adafruit.com/neopixel-cyber-falls.md)
- [Galaxy Pendant](https://learn.adafruit.com/life-proof-led-necklace.md)
- [Trinket USB Volume Knob](https://learn.adafruit.com/trinket-usb-volume-knob.md)
- [3D-Printed Bionic Eye](https://learn.adafruit.com/3d-printed-bionic-eye.md)
- [LED Trinket Tree Topper](https://learn.adafruit.com/neopixel-led-trinket-tree-topper.md)
- [Adding Third Party Boards to the Arduino v1.6.4+ IDE](https://learn.adafruit.com/add-boards-arduino-v164.md)
- [Kaleidoscope Eyes (Trinket-Powered NeoPixel LED Ring Goggles)](https://learn.adafruit.com/kaleidoscope-eyes-neopixel-led-goggles-trinket-gemma.md)
- [Zelda: Breath of the Wild – 3D Printed Guardian Sword with NeoPixel LEDs](https://learn.adafruit.com/breath-of-the-wild-guardian-sword-led-3d-printed.md)
- [How to Choose a Microcontroller](https://learn.adafruit.com/how-to-choose-a-microcontroller.md)
- [CircuitPython Hardware: LED Backpacks & FeatherWings](https://learn.adafruit.com/micropython-hardware-led-backpacks-and-featherwings.md)
- [Build your own SPARC workstation with QEMU and Solaris](https://learn.adafruit.com/build-your-own-sparc-with-qemu-and-solaris.md)
- [CircuitPython Hardware: ILI9341 TFT & FeatherWing](https://learn.adafruit.com/micropython-hardware-ili9341-tft-and-featherwing.md)
