The idea is that the LEDs will be controlled by an Arduino so they can be flashed in sequence. To achieve this each LED on the pants will be separately addressable but to do this without a large number of unnecessary wires in the undergarment I will be using the Charlieplexing method to power them. There will be four strings of 12 charlieplexed LEDs
and each string of 12 LEDs will only need 4 wires. So a total of 12 wires will be needed to control the whole array of 48 LEDs.
The other advantage of multiplexing a Charliplexed array of LEDs is that only one LED per array will be ON at any one time. The down side to this is that they will have to be rapidly flashed or multiplexed to give the illusion that more than one is on at a time and that is more complex code on the arduino. However the big benefit is in power saving as there will be a potential of 4 LEDs on at any one time (one for each 12 LED string) which will lower battery consumption enough to get away with using a 9 volt battery.
Pants.avi(160x120) 1 MB
Remove these ads by
Signing UpStep 1Materials
Materials
Pants, Good old fashioned Y fronts are the best
LEDs Blue (36) and Red (12)
Resistors (Red 130 Ohm) (Blue 80 Ohm)
Arduino
9V battery
Battery clip
Coloured wire
Heat shrink tubing.
Tools
Soldering iron
Computer and Arduino IDE
Pre-programmed arduino processor.
Big assed needles
Sewing machine (but you could probably sew by hand as an alternative)
Plus the usual small workshop tools.
| « Previous Step | Download PDFView All Steps | Next Step » |















































It took so long to solder up the LEDs that I simply didn't have time to make a up a bit of perf board to hold the micro. I even had a ATMEGA8 with a bootloader burnt on it ready to knock the cost down a few more points but the party date was fixed and as they say, Time and Tide Wait for no Man.
I was hoping for some older bald guy (with a beer belly) doing the Saturday Night Fever dance with nothing on but these :(