Get Your Name in Lights and be the Life of the Party! Clips on to your pocket!
This is a simple little project which you can use to get lots of attention at a party or event.
Materials Required:
3D Printed Parts
https://www.thingiverse.com/thing:2687490
Small Switch
3 WS2812 LED Lights
Small Ardiuno - Nano, Nano Pro, or Digispark/Pro (Nano used in this howto)
Wires
Paperclips
2 2032 Batteries
Printing the Parts:
You need to print one of each part except for the clips, which you need 2 of. When printing the pieces with words on them, you will want to use either a printer with dual nozzles, or set up your print to pause at the correct height so you can switch materials. Instructions on doing this with Cura are available in the Youtube video below. You will also have to glue the top and bottom sections of the name plate to the middle section. This extra step is what allows you to have a faceplate with 4 different materials while using a single-extruder printer.
If you would like to change the name (very likely) here are the CAD files:
The video below also walks you through making the required changes to change the name.
Assembling the Electronics:
As you can see below, the 2032 coin cells sit in the circular bits of the name tag back piece - one with positive side up, and the other with negative side up. You will want to put a piece of paperclip with a sleight bend at each end in the channel below them before inserting the batteries. You will also use 2 more small sections of a paperclip which are bent so they place pressure on the top of the batteries. Your positive and negative wires are then soldered to these top clips - just make sure you solder the positive to the side with the positive battery facing up. The positive wire goes to one pin of the the switch and then the next pin is wired to Vin on the Nano. The negative goes straight to GND of the Nano. What this does is use the voltage regulator which is built in to the Nano board to supply the required 5 volts to everything.
Next you will want to run a wire from another GND pin of the Nano to the first LED board, another from the 5V pin of the Nano to 5V on the first LED board, and finally a wire from pin D6 from the Nano to the DI of the first LED. You will then continue the string by wiring the 5V, GND and DO to the 5V, GND, and DI of the second LED board. Repeat this to connect the second board to the third one. You can then use a little double-sided tape to secure the LED's to the back of the case.
Once this is all done, you can program the Nano by follwing the instructions in the video below. Here is a summary:
Install and run the Arduino IDE
Install the Adafruit NeoPixel library
Load up the Example file in [File -> Examples -> Adafruit NeoPixel -> strandtest
Change line 16 from:
Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800);
to:
Adafruit_NeoPixel strip = Adafruit_NeoPixel(3, PIN, NEO_GRB + NEO_KHZ800);
Program the Nano with this example
After it is programed you can test it out by turning on the switch and waiting a couple of seconds for the sequence to start. Then put the front faceplate in place:
And finally glue on the pocket clips:
Now you just need to clip it on your pocket and turn it on!
That is it!
Don't have the WS2812 LEDs?
Here is some pictures of an earlier prototype which I built while waiting for the LEDs to arrive...it uses the 6 PWM channels of the Nano and is powered by a 9volt battery in your pocket::
Any issues or questions?
Just comment on the Youtube video with any questions you may have!
Top Comments