LED Pattern Hat using an Arduino

This is a (moderately) simple Arduino project that is a spectacular display from LEDs – that you can wear on your head! It also uses a program that is not intricate at all, so you can modify it for different patterns and cycles. It’s also a great first or second project for people new to Arduino. And, of course, it looks great in the dark!(I know the video isn’t ideally situated; I’ll try to fix that soon)

Step 1: Parts List

You will need:

A hat (of course)
16 paperclips
24 LEDs for the version pictured – Radioshack sells a bundle of red, yellow and green LEDs, which is what I used x2
Jumper wires
Duct tape
9V battery
9V connector or plug
Electrical Tape
Fishing line or string
Very small breadboard
Arduino Uno, Leonardo, etc.

Step 2: Parallel vs. Series

It might be simpler, but building the circuit with the LEDs in series (with the positive leads connected to the negative ones of the next; 5th picture) requires more voltage than the Arduino can provide. Two LEDs work, but for this design with three LEDs I used a parallel circuit. When connected in this way, like the in first four pictures, the Arduino can power at least four LEDs at once, although they are slightly dimmer.

Step 3: Construct the Ground Circuit

Since the Arduino Uno has only 3 ground ports, you’ll need a circuit that you can plug all 8 LED strips into. With a super-small breadboard (this one is 5×10), plug one wire into the ground pin on the Arduino and a row on the breadboard, and two more wires from that row into two other rows.

Arduino LED Pattern Hat connection

Step 4: Assemble the LED Strip

Straighten out 2 paperclips and bend the leads on the LEDs as shown in the first picture. Wrap the positive leads around the paperclip while leaving some of the it exposed on both ends, then do the same for the negative leads. The more times you wrap it around, the better it will stay connected. Also, it may be helpful to have one paperclip longer than the other at the green end so you know which one is positive and vice versa. If necessary, add electrical tape around the connections to keep them together some more; however, the residue from the tape can interfere with the contact between the leads and the paperclips. Finally, connect jumper wires to the green end of the paperclips.

Repeat all that as many times as you want strips on the hat; for this Instructable I used 8 (this is also the amount you can make using two LED bundles from Radioshack).

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Fishing line or string
Very small breadboard
Arduino Uno[/box]


For more detail: LED Pattern Hat using an Arduino

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top