Motion-controlled glow fans

JezWeston

New Member
Here's the latest project - motion-controlled glow fans for dancing with. Inside each is a Picaxe 20X2, reading a 3-axis accelerometer, working out the hue from the angle of acceleration and the brightness from the total acceleration, chucking that info via I2C to a PCA9633 LED driver, which drives ten RGB LEDs via three transistors with 100 kHz PWM signals.

Here's what they look like in motion, being tested at a dance party last night:
http://www.youtube.com/v/tpTZXblub5Y

The big challenge for this one was making everything small enough that the electronics box could fit in a dancer's hand. The box is just a 3xAA battery box, with two AA's in there to power it. Hence the accelerometer board, 3 Watt power supply board, and Picaxe board had to fit in the space of one AA battery. It gets pretty warm. Without the new 20X2, this would not have been possible.

Getting them to look right also took a while. I'm faking a log response with dual-linear curves for both the hue and the brightness. There's also lots of filtering as the accelerometer data is fairly noisy and hysteresis on the response rates, fast when brightness goes up, slow when it goes down.

There's pics of the build process here, from breadboard to ready to test:
http://happyinmotion.com/jez/gallery/the_fannies

And parts I'd be happy to use again:
Accelerometer - http://www.pololu.com/catalog/product/766
LED driver - http://www.nxp.com/pip/PCA9633_5.html (I love the NXP drivers)
Step-up power supply - http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1831 (MAX1703)
 

hippy

Technical Support
Staff member
Very nice project and well put together. I bet it looks even better on the dance floor than it does on video.
 

JezWeston

New Member
Odd, the Youtube link works at this end.

And thanks Hippy, yes, it's hard to get video that really shows them off. I'm glad you like them.
 
Top