Picture of Disco pants!
I've been invited to go to a friends 40th birthday party and want to take a present that will be appreciated. He is a bit of a tech head and has also been known to get drunk and shout PANTS! a lot. So I've decided to make him a pair of flashing LED disco pants.

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 adsRemove these ads by Signing Up
Yes. Just yes.
J-Five10 months ago

Okay I now I seen everything!!!!

mrworf1 year ago
but why?!
o0mouse0o (author) 4 years ago
A good point, very well made.
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.
logan9964 years ago
Why did you used a Arduino Duemilanove module? wouldn't it have been more reliable to use some perfboard and a simple bit of componets soldering it might have taken a extra day or 2 but would have been way more flexible because of lack of parts to be bent/snapped off, also those duemilanove boards are like $30 aren't they? Other than that this is a really nice project!
Sparrowhawk4 years ago
Nice, but was disappointed in the video...

I was hoping for some older bald guy (with a beer belly) doing the Saturday Night Fever dance with nothing on but these :(
Totally awesome.
gamegenie2k4 years ago
Blinking undergarments, that's a brilliant idea! You know in case you're jogging at your underwear!
caitlinsdad4 years ago
I thought you would have also wired up a disposable camera taser circuit to it for your friend. It's not going to hurt a bit.
That's a great idea!
The Flux Capacitor, now in underpants! Although running at 88 miles per hour could be troublesome..