loading

This is a guide for all modern gentlemen who would like to show off their electronic prowess.
This illuminated pocket square is just the accoutrement to illustrate that you're more than a suit.
Despite your straight razor shave and that Steuben rocks glass you hold: You're a maker too.

Check out Draper 2.0 in action.

Step 1: Materials

For this project, you will need:

  1. Pro Trinket 5v
  2. Pro Trinket battery backpack
  3. Lithium Ion Polymer Battery (be greedy!)
  4. High Density NeoPixel Strip
  5. Capacitor *optional*
  6. Silicone Wire (three colors is ideal)
  7. Perma-Proto Board
  8. Power Switch
  9. Picture hanging tape (diffusion material)
  10. Double sided tape
  11. Electrical tape
  12. White Pocket Square

This is probably the first wearable electronics project that has plenty of space or a large battery, so feel free to be a little greedy. I found that 1200 mAh lasted for approximately three days of gluttonous use.

Step 2: Soldering the Board

Battery backpack

  1. Using the extra long headers included with the backpack, solder the long portion through the bottom of the BAT, G, and 5V pins.
  2. Solder the backpack on top of the Pro Trinket as depicted above.

Pro Trinket

  1. Using the included headers position the Pro Trinket so that the USB port is at the bottom of the Perma-Proto board.
  2. Solder the headers to the Pro Trinket, for all analog and digital pins along the sides.
    ***The BAT, G, and 5V pins will already have headers coming from the bottom due to step one.
  3. Solder the headers from the bottom of the Pro Trinket onto the Perma-Proto board.
  4. Clip the end of the headers off.
    ***Nail clippers are actually awesome for this.

Power Switch

  1. Use an exacto-knife to cut the pads between the switch pins.
  2. Carefully bend the pins coming out of the bottom of the switch 90 degrees so that the switch mounts flush against the Pro Trinket battery backpack.
  3. Solder the switch in place

Capacitor and wires

  1. Solder the capacitor into the power bus to the left of the board.
    Be sure to pay attention to which lead is positive and negative on the capacitor.
    This is optional, but also a good safety step.
  2. Solder a wire between the BAT row and the positive line of the power bus
  3. Solder a wire between the G row and the negative line of the power bus
  4. Solder a data wire to the row you intend to use as your digital pin.
    This is shown as the green wire.
    I used pin 6, but it's hard to see because of the battery backpack.
  5. Solder power and ground wires to the power bus near (but NOT AT) the top of the power bus.
    The strip will be attached to the opposite side and I had some issues where contact with the strip caused a short.

Step 3: Soldering the NeoPixel Strip

This step is arguably the trickiest of business.

  • The contacts you have to solder onto are tiny
  • The data pin is uncomfortably close to the first LED

I'd like to share with you the best way I've found to reliably tackle this challenging step.
Tin the strip and the wires separately, then bond them.

  1. You are going to need 12 LEDs, so carefully cut the 144/m strip.
    Feel free to leave the ending pads on the remaining strand instead of splitting the tiny surface in half.
  2. Apply some solder flux... errrr... apply alot of solder flux to the tiny pads.
  3. Apply solder to the end of your soldering iron and tin the pads.

Be very careful to spend as little time in contact with the strip as possible.
It is relatively easy to ruin the surface mounted LEDs or melt them :X

Step 4: Tape Time!

Now it's time to attach the NeoPixel strip to the top of the board.

  1. On the back of the board, apply some double sided tape.
  2. Center the NeoPixels and firmly stick them to the double sided tape.
  3. Use some electrical tape to further secure the strip from the Pro Trinket side.

Diffusion Techniques

Even though the cloth of the pocket square will apply some diffusion, it wasn't enough to get a uniform 'glow' across the entire square.

Try using some foam tape thats usually used to mount photo frames on the wall.
I used the velcro-ish type to get a pretty even glow.

Step 5: Folding

Here is a great overview on pocket squares.
There is a ton of variation in folds, but the most traditional is the square fold.
In a square fold, it's common to place an index card to help the square hold its shape.

In our build, the index card is replaced by a battery and LED board.

Reference the photos above for a quick and simple fold that fits snugly into your coat pocket.

Step 6: Future Enhancements

Sensors

There's still plenty of room on that Perma-Proto board to include some type of sensor.

  • A color sensor could be used to match your date.
  • An accelerometer could add a dimension of fun to dancing.
  • A bluetooth 4.0 board could provide a means for you to change your style on the fly.

Gentleman's Tip: Your pocket square should never match the pattern of your tie. Always aim to match the color of your shirt, or your date instead.

TODO:

  • Share some code
  • Share a video tutorial on soldering led strips
  • Include a sensor or two

<p>That's so daper and futuristic! I love the concept, and it looks stellar!</p>
<p>Thank you very much!</p>
Fantastic idea and follow-through!
<p>I'm new to NeoPixels. Why did you choose the strip over the stick https://www.adafruit.com/products/1426. Seems like you have a lot of left over NeoPixels if they come in 1M. Do you think I could use the stick instead?</p>
<p style="margin-left: 20.0px;">Sorry for the delay!<br>The NeoPixel stick would be more convenient if it wasn't so short! Pocket squares are usually 3&quot; across, and the Adafruit stick is only 2&quot;.</p><p style="margin-left: 20.0px;">Congratulations on starting with NeoPixels.<br>If you send me a message, I'll happily gift you some leds so you don't have to buy the whole strip ;)</p>
<p>I just made this cool project!</p><p>i opted to use a neopixel strip instead</p><p><a href="http://www.adafruit.com/product/1334" rel="nofollow">I added this color sensor to my order http://www.adafruit.com/product/1334</a></p><p>used this to help me wire it up. (there is a note that applies to this:</p><p>&quot;On older Arduinos such as the Duemilanove and pre R3 UNOs, SDA is on Analog 4 and SCL is on Analog 5.&quot;</p><p> <a href="https://learn.adafruit.com/adafruit-color-sensors/assembly-and-wiring" rel="nofollow">https://learn.adafruit.com/adafruit-color-sensors...\</a></p><p>and used the code (slightly modified the parameters) from the chameleon-scarf project that RichardBronosky linked to.<br>i can colour match to my shirt and it works AWESOME!!!!</p><p></p>
<p>Great! I'm glad you enjoyed it :)</p>
<p>Make sure there is really good cover the sharp edges get caught on the cloth easily . </p>
<p>Really nice! I was wondering why you did not simply use an EL Foil, instead?</p>
<p>I chose the leds because they can change any color and do animations. EL Foil / wire / tape / paper is fun though!<br><br>P.S. Check out the animations in action here: https://www.youtube.com/watch?v=_xmzeTK2eqA</p>
<p>Just a question, but why do you include a capacitor in the circuit?</p>
<p>That's an interesting question! A capacitor is used to prevent a rush of power going to the leds when you power the device. It's probably not necessary for this project, but I have a habit of adding them anyway.<br><br>There's some magic number of these leds where it becomes necessary to add that capacitor, and that is likely somewhere just short of 60.</p><p>Learn more about that here: https://learn.adafruit.com/adafruit-neopixel-uberguide/best-practices</p>
<p>OMG.. freakin' awesome!!!!</p>
<p>This is fantastic! Will you be sharing your code for it?</p>
<p>Sure! I use the FastLED library, and the video was just running an example sketch called ColorPalette <a href="https://github.com/FastLED/FastLED/tree/master/examples/ColorPalette" rel="nofollow">https://github.com/FastLED/FastLED/tree/master/exa...</a></p><p>I'll update the tutorial with the code soon.</p>
<p>Awesome, Thanks!</p>
<p>Great....</p><p>And I think it can be sell in market....</p>
<p>cool idea</p>
<p>Thanks!</p>
<p>Nice Idea!</p>
<p>Thank you :)</p>
<p>If you want to match your date, add the Flora color sensor.</p><p><a href="https://www.adafruit.com/products/1356" rel="nofollow">https://www.adafruit.com/products/1356</a></p><p>In fact, This entire project would be good for the Flora platform. It's very similar to https://learn.adafruit.com/chameleon-scarf?view=all </p>
<p>Absolutely Richard! Thanks for bringing awarness to the &quot;Sensors&quot; step!</p>

About This Instructable

26,252views

349favorites

Bio: I'm Co-founder and an Engineer at LumiLabs. My focus is on Human Centric Lighting (HCL), but who can resist some colorful glow or a ... More »
More by ChrisSmolinski:Draper 2.0, Illuminated Pocket Square 
Add instructable to: