Before I built this hat I built a smaller 5x8 hat with some LEDs left over from an LED cube. The goal of this hat was to greatly increase the pixel density and be able to display things like words or simple pictures. So one crazy day my friend and I ordered the parts and set out to make two of these hats. 
For the experienced solderer the construction of the hat shouldn't take more than a weekend; as for my friend, the novice, it will take about a week if they put in a good amount of time daily.

Step 1: Design and Parts

The hat contains 200 LEDs total, 4 shift registers, 4 buttons, 4 AAA batteries, and one Arduino mini pro.
Along with lots of wire. Making the wire longer than it needs to be is a MUST, if the wire is short and you will have to go back to fix something it make resoldering almost impossible. So make every wire long enough to extend outside of the hat, at least to the rim to make soldering possible after installing all the parts.

The height is 8 because one shift register, connected to PNP transistors, will control the 8 cathode layers of the hat. Another great number is 10 because decade counters will output 10 rows for you. For best density of LEDs 16 tall, or two shift registers, would be fantastic but require a lot more effort and resources. 

When choosing the number of LEDs across it is a lot easier to make things a multiple of 8 so that they can all be handled in the same way. There is one row on my hat that must be turned on and off by the Arduino directly and it is a bother to deal with.

I assume a basic background in soldering before attempting this build. If you have never soldered before this project will be hard and painfully long.
+Mircocontroller: Arduino Pro Mini, anything could be used but I have grown to like the Pro Mini because of it's size and ease of use.     Plus you can find it for cheap on ebay.
+Programmer: You'll need and FTDI cable or breakout board or similar USB programmer to program the Aruino Pro. If you choose An Arduino Uno then you will not need a programmer. If you have an Arduino it can be used as a programmer if need be but buying an FTDI cable will be much easier and faster.
+LEDs: Ebay... Search and find your choice of color and size. I used 3mm blue that are not diffused. I would recommend buying the diffused because they do a much better job not blinding you when looking directly at the hat. Though I am cheep and not diffused still look good.
+Power: I bought a 4 battery AAA holder from radio shack. I love that a switch is built in and its only $3. A 9V would work but wont last as long and need to be attached to a regulator to be used. AA provide more amp hours so if that's what you want and you don't mind the weight then pick them. You really only need 3V to run the hat so as little as 2 AA or AAA would work just fine.
+Shift Registers: I had a large batch of custom 74HC595 breakout boards made from SeeedStudio and they work great for SMD components. There is no need to do that as long as your are handy with a soldering iron DIP and some proto board would work great.
+Transistors: PN2222 are great for LED projects, buy a batch off ebay and have fun.
+Resistors: I used 402 ohm resistors because they were cheap on Newark. Anything between 200ohm and 500ohm will work. The higher the Ohms the longer the battery will last. Also you'll need some 10K ohm resisters for the buttons.
+Capacitor: Its always good to thrown in a capacitor, especially near your microconroller and important integrated circuits. I used 10pF, you can get a mixed pack at radio shack and use any of those. Capacitors help smooth out the quick variations in current that mircrocontrollers but on the system.
+Buttons: Buy them, salvage some, it doesn't matter where you get them standard dip push buttons are all you need.
+Wire: A clean and simple project is a happy one. Ribbon cable will look much nicer and be less cluttered than using individual wire.

That makes sense, Thanks!
Now that's a great project!
I want to do this!! I haven't soldered before but I'm planning on starting some LED projects on this site. I know you said this would be really hard if I have never soldered before, but I'm up for the task since I'm a computer scientist and I've done some computer engineering circuitry classes in college. I think I can do it within a month or two, except I am confused about a couple things. What is the board with all the ribbon cable connected to it in step 3? Also, It looks like you have an Arduino Uno in your step 4 (debugging)?
I think this hat can be done by anyone, it will just take longer. Only a couples days if you can put in some hours. <br>As for the green board in step 3, that is a custom 74hc595 board i made for use with the cheap and abundant shift register. I would recommend, for you, using the DIP packaging for the 74HC595. <br>Finally the Arduino Uno is connected directly to the shift registers so i can more quickly debug and test the hat and the hat's program. Basically the last thing i made was the board with the Arduino Pro Mini on it and i was just testing things with an Arduino Uno.
You can diffuse leds with a quick application of sandpaper. If you want to diffuse the sides too, then a buffing wheel with coarse compound on it will hit the all parts of the led really quick. the trade off is your time diffusing the leds or initial money spent. I have also seen people apply a dot of paint to the tip of leds so that the light escaping is mostly from the sides.
Yah, I tried that for a while. Got tired of the doing them like that before I got anywhere neat 200. <br>But I have been successful in coating larger numbers of LEDs in Elmer's glue. It works well at diffusing the LEDs and if you mess up it peels right off.
Wow this project looks so cool !i am totally loving it<br/>
Anonther way you could have done this is using something like Adafruit's Flora instead of an arduino (it is arduino compatable) and condutive thread. <br> <br> <br>Here is a link to adafruits main Flora page: <br> <br>http://www.adafruit.com/category/92
If someone really didn't want to solder that could work. However, my hat is has a tough cardboard inner. Just poking the holes for the LEDs was a long proccess. So if someone wanted to use the Flora then get a felt hat instead.
Nice job!
That would be great at Burning Man!

About This Instructable




More by sbbrain:Plex Bot Printrbot Upgrades 25x8 LED Hat, for parties and other useful things 
Add instructable to: