MindKits News and Blog

Arduino-controlled mood lamp

We have mood rings that tell us our mood....so what about robotics telling us about our mood? Check this moody project out.

Minneapolis maker Michael Krumpus, created this lovely mood lamp made out of LEDs, an Arduino Duemilanove, and glass vials.

This is a mood lamp I build using 16 LEDs of different colors and small glass vials. The square bottoms of the vials look a lot like glass block, and the glass diffuses and scatters the light in beautiful ways. The software shows random patterns of light and the brightness of each LED can vary -- they aren't simply "on" or "off".

The Arduino code is pretty complex because it implements PWM (pulse-width modulation) for all 16 LEDs. The Arduino board only has 5 PWM-capable pins, so providing PWM for all 16 pins is accomplished purely in the code. The lamp randomly displays different lighting patterns and can be really mesmerizing.

 

moodLamp1.jpg



Post has no comments.
Make a Comment
Finish Your Submission
Captcha Image
Stay informed by signing up to our newsletter
Captcha Image

We take SPAM seriously and promise not to solicit your email address to any 3rd parties.

All prices are shown in New Zealand Dollars and inclusive of GST unless otherwise stated. Prices excluding GST show for non NZ Visitors.