Since I don't have a 3D printer big enough to print an entire Daft Punk helmet, and I don't have a lot of cash to spend on Halloween this year, I elected to make the poor man's version.
We're going to shove all of that inside of this $5 cobra commander mask from Party City...
Remove the cardboard packaging at the top of the mask, and the sticker from the inside. We will also need to remove the foam padding, so pull as much of it as you can out in a single block, and then you'll have some scraping to do to get the rest out. Just get as much as you can... it's ok if you don't get it all.
Next up, we're going to start assembling the electronics. The first thing you should do is get your Trinket Pro up and running, so head on over to the tutorial for that and come back when you've got your battery backpack soldered on and charging your battery. On the bottom of the trinket you can clip off the header pins, since we won't be needing them, but leave the pins on the top. You will need to solder the power leads from the neopixel strip to two of those pins.
Then solder the power wires from your NeoPixel strip to the BAT+ and GND pins coming out of the top of the backpack. There will be one wire left, for signal... solder it to pin 4 of the Trinket Pro.
After you've done that, open up your Arduino IDE and load the example sketch for a NeoPixel strip. Change the pin to 4, and push it to your Trinket. Remember to push the bootloader button BEFORE you try to upload, or it won't work.
If your strip starts lighting up and doing color wipes, you're good to go!
We're going to cut the strip up next...
This is the longest and hardest part of any NeoPixel strip project... use an exacto knife to cut the strips exactly in the middle of two adjacent neopixels (you'll see a dotted line on the PCB), and then solder wires to the pads from each strip to the next one. Make sure all the data arrows are pointing in the same direction, for a constant flow throughout the strip.
It's a good idea to reinforce those soldered joints, and I did so by wrapping each end of the strip with electrical tape.
To fit inside the mask, I divided my strip into 5 sections, the three in the middle being 12 pixels long, and the two on the ends being 11 pixels long, for a total of 58 pixels. After taping the ends of the strips, I scored the tape between each adjacent piece of strip so that I could spread the lights out in a triangular pattern.
Next, it's time to glue this into the mask. But first, turn on the Pro Trinket again, and make sure everything is working! If it isn't, you'll have to go back and fix some broken solder joints.
Also, when holding this inside of the mask, I noticed that you could see straight through the mask to the writing on the PCB, so let's fix that. I did so by cutting strips of office printer paper and gluing them to the inside of the mask where I wanted the strips to go.
I tried E6000 and hot glue, but neither worked all that well for holding in the strips, so eventually I used superglue to affix the strips to the paper. It worked well, but your mileage may vary. If you can find it, Permatex 66B silicone adhesive works great on the NeoPixel strips.
To make it easier to see out of the mask, you can also line the back of the strips with electrical tape...
And now, let's glue back in that foam so we have some padding between all of this and our foreheads...
Now on to the Trinket end of things... if you wrap up all the wires from your trinket to the mask with electrical tape, then the trinket can sit above your head while wearing the mask. The switch can go along the side of the mask, down near your ear, and sit on the inside of the mask. The battery is easily taped right along your forehead, where it will stay put.
Finally, you should do what you can to keep your Pro Trinket from getting wet. I just put it inside the little baggie that my switch came in.
Congratulations! You have now made a very quick and dirty approximation of a Daft Punk Helmet! I wore mine with my blue hoodie, to complete the $5 cosplay Cobra Commander theme.
You can either use it with the color wipe test sketch that it has already, or head on over to the code page, where we will create a larson scanner type animation for it.