Home > Projects > Game – Entertainment Projects > LED Pattern Hat using an Arduino

LED Pattern Hat using an Arduino

Summary of LED Pattern Hat using an Arduino


This article describes a wearable Arduino LED hat project ideal for beginners. It features a simple program allowing custom patterns and a parallel circuit design to ensure the LEDs light up sufficiently using an Arduino Uno. The build involves attaching 8 strips of three LEDs each to a hat using paperclips, wires, and a small breadboard, powered by a 9V battery.

Parts used in the LED Pattern Hat:

  • Hat
  • 16 paperclips
  • 24 LEDs (red, yellow, and green)
  • Jumper wires
  • Duct tape
  • 9V battery
  • 9V connector or plug
  • Electrical Tape
  • Fishing line or string
  • Very small breadboard (5x10)
  • Arduino Uno, Leonardo, etc.
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).

Major Components in Project
Fishing line or string
Very small breadboard
Arduino Uno

 

For more detail: LED Pattern Hat using an Arduino

Quick Solutions to Questions related to LED Pattern Hat:

  • Why is a parallel circuit used instead of a series circuit?
    A parallel circuit is used because a series circuit requires more voltage than the Arduino can provide for three LEDs, whereas the parallel setup allows the Arduino to power at least four LEDs at once.
  • How many LED strips are created for this specific project?
    The project uses 8 LED strips, which corresponds to the amount that can be made using two bundles of LEDs from Radioshack.
  • What should be done if the Arduino has only 3 ground ports?
    You must create a circuit on a super-small breadboard to plug all 8 LED strips into, connecting one wire from the Arduino ground pin to a row and then branching out to other rows.
  • How are the LED leads connected to the paperclips?
    Straightened paperclips have the positive leads wrapped around them while leaving some exposed on both ends, and the negative leads are wrapped similarly.
  • Is it helpful to make the paperclips different lengths?
    Yes, having one paperclip longer than the other at the green end helps identify which side is positive and which is negative.
  • Can electrical tape be used to secure connections?
    Electrical tape can be added to keep connections together, but users should be careful as residue from the tape can interfere with contact between the leads and paperclips.
  • Is this project suitable for people new to Arduino?
    Yes, it is considered a great first or second project for beginners due to its moderately simple nature and non-intricate programming.
  • What type of LEDs are recommended for this project?
    Radioshack sells a bundle of red, yellow, and green LEDs, which were used for the version pictured in the article.

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:
LinkedinTwitter
Scroll to Top