This is the second mood lamp, I've created. The technical part is very similar to the first one (
Lacam Lamp 2.0). But this time I used 48 RGB-LEDs in one strip cutted into 6 pieces. So I have a 6 columns by 8 rows matrix to play with.
In fact that I used a diffuse plastic orb from a garden lamp, I had to change some things for the effects running on the lamp. The problem is, that the distance from the LEDs to the inner side of the orb is not the same for all LEDs (depending on the number of the LED's row). Additionally the distance is to big to create single spots on the orb. The colors are mixing, so I have to use "blocks" of LEDs with the same of similar colors.
The most interresting mode is the "color cloud", having some color shapes moving around on the sourface of the orb. At the moment the movement is a little bit static and the code needs some optimiziation, cause calculating HVS to RGB data for every LED on every frame takes too much time (cause it uses a lot of float operations). Maybe I find a better way dealing directly with the RGB data in the LED-Strip datastructure.
Using 48 instead of only 20 LEDs makes the whole thing much brighter, so I added a third knob to control brightness in most of the modes.
At the moment the lamp is driven by a 5V / 2A powersupply that runs in problems if I turn all 48 LEDs to 100% white, but 90% is OK. So I assume that the lamp takes a little bit more than the 2A. In the next days my new 5V / 3A powersupply should arrive and this problem should be solved. So we talk about 12 or 13 watt for 100% white light, which is bright enough to enlight our living room with 4m by 5m. In other modes then "white bulb" the lamp takes less then 10 watt.
http://www.youtube.com/watch?v=T1p6yeHGh6M