Introduction: Led Slot Machine Costume
This Instructable will walk you through my process of making a Slot Machine costume with addressable leds controlled with an arduino!
Step 1: The Parts List
Plain white T-Shirt
Old or new white shirt to cut
1 meter addressable led strip from Adafruit
Arduino (I used an uno smd)
Sewing gauge (or other measuring device)
1 pkg Heat-N-Bond ultra hold
Battery holder for 4 AA's
4 AA's rechargeable 1500mah
Iron on transfer paper
Hot glue gun
Flashing led kit ( I got mine from the shack, but it's also avil online elsewhere)
2 Basic night lights
2 Lg washers
Step 2: Lets Get Started
Picture set up:
I found my slot picture online that the best graphic that when enlarged would stay nice and clear. Be sure to follow the directions on the iron on transfer paper when printing and transferring. Print the picture to full page 8.5 by 11 HINT: Turn off border less printing or it will cut off part of the pic. I forgot and end cut part off the pic.
Lay out the transfer paper and mark the edges with pins ( see pic 1 ) and check to be sure it is centered. Once you are happy with the lay out you can go ahead and lay the transfer back down and remove the pins.
Start the transfer process following the iron on transfer instructions. Let it cool completely before attempting to remove. If you notice the transfer not bonding as you lift , reheat it until it bonds.
We need a way for the addressable leds to stay in place. I chose to use Heat-N-Bond with some extra fabric.
Cut fabric strips about 2 1/2" wide and 2" longer then each side ( you should end up with 4 strips for all sides) (See Pic 2)
Cut the Heat-N-Bond to the size of the strips and attach following the instructions provided with the package. (See Pic 3)
Cut some more fabric strips to 1 1/2" wide by as long as the other strips you just made. (See Pic 4)
Cut 2" by 2" fabric squares and iron them to the ends of the strips. (See Pic 5)
Attach the light holder strips:
Turn the shirt inside out and position the 1 1/2" (See pic 4a ) strips along the picture outline. Peal the backing off the Heat-N-Bond of the wider strips and lay facing down on top of small strips being sure it is centered. (See pic 4b)
Iron on following the instructions provided in package.
You should now have long pockets along the perimeter of the picture with 2" ends that can be lifted ( these will later be used for access to solder the lights then bonded down) (See pic 6)
Step 3: Moving on to the Next Phase
Adding the lights:
Cut the light strips so there is 6 leds on two strips and 10 leds on two more strips ( 4 strips total)
Insert the two longer strips into the bottom and top of the light holders (see pic A) Making sure to keep track of the in and out of each section.
Then insert the other two strips.
Place some foil under the end of the strip so you don't burn the shirt while soldering. These can be soldered on the front or the back either way will do. But be sure to keep track of the 5v+, 5v-, DI, CI lines they must match. It is important that the out put end connects to the input line!! (See Pic B)
Leave one end unconnected (I chose bottom right) The end of the short strip can be left untouched, However the longer bottom strip with the input will need some pins soldered. ( See Pic C)
TESTING!! Must test before closing up fabric ends.
Load the arduino sketch and connect to make sure all lights and connections are in working order.
Connect the Di of the led strip to arduino pin 11
Connect the Ci of the led strip to arduino pin 13
Connect the -5V of the led strip to arduino ground
Connect the +5v of the led strop to arduino +5v
Close it all up:
Once you have determined all is working we can now close up the extra fabric flaps. Lay them all flat and determine if there is any extra you want to trim. Cut a slit where the pins will protrude from and mark the the - and +( See pic D)
Now cut some small strip of Heat-N-bond and iron it the the shirt just under the flaps, peal the backing and lay the fabric flap over and iron. ( See pic E for finished look)
Attach cable of choice again be sure to keep track of the wire layout.
Step 4: The Enclosure
For the enclosure I used a plastic box I had laying around and It fit just right. An altoids tin will work just as well.
Connect some wire to four pins and make a small hole in the side of the enclosure (See pic A1) On the inside of the enclosure slit the wire so you have 2 sets of 2 . Take 2 pins and bend at a 90o angle and solder the +5v and -5v to these. Next take 3pins beld at a 90o angle and solder the Di and Ci wires to each end.
I used a battery holder for 4 AA's it has two wires and a switch. Chose the location of the battery holder and cut a small hole for the switch. Connect 2 pins bet at a 90o angle and solder to the end. ( These will connect to the VIN and gnd on the arduino
The enclosure is now complete!!
Step 5: Hat Light
Building the hat light:
Start heating up the glue gun:
Build the flashing led kit. Then remove the covers from 2 nightlights and trace the outline from the bottom of the covers on a piece of cardboard (this will separate and hold the led kit in place). (pic C1)
The cardboard will need to be trimmed a bit more as needed so as it holds it in the center. (pic C2)
Hold one nightlight on the front of the hat with the washer inside on the bottom slightly to one side of the center of the hat and place some glue in the center of the washer and hold till it dries. Remove the light cover and repeat for the second washer. (pic C3)
Now assemble the light with the cardboard and flasher kit inside under both washers and place a piece of clear tape over the seam.(pic C4) Make a small hole in the hat by the seam of the brim and face to run the wire inside. Now on the inside add a switch and battery clip.(pic C5, C6) Glue the switch behind the sweat band so it can easily be reached. Glue the 9V batt to the side of the hat where it will be comfortable. I chose the the top front where the hat sticks out the most.
Step 6: Code and Video
We have a be nice policy.
Please be positive and constructive.