Pages: [1]   Go Down
Author Topic: Lavalamp 2.0  (Read 3011 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 21
Posts: 1419
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is the final version of replacing my 20 years old "lava lamp" that runs with a 60 watt bulb and needs at least 1 hour to warm up.
The new version uses 20 RGB-LEDs each controlled by a single WS2812 RGB-Controller. It uses only 5 or 6 watt and providing 8 different modes that are controlled by a Arduino pro mini 328 5V/16MHz board.
The potentiometers with knobs are used to switch between the modes and control speed, color or brightness of the several modes.
The LEDs are glued on a wooden staff placed inside a smoothed acrylic glass cylinder.
It took about two days creating this lamp including soldering the 120 pads and about 70 wires, crafting the mechanical part and writing the Arduino-Sketch that gets the lamp to life.

Thanks to the people created the fastspi-library: http://code.google.com/p/fastspi/



Edit: 2013/03/04 - added documented source code to this post.

* Lavalamp_2_0.ino (10.26 KB - downloaded 220 times.)
« Last Edit: March 04, 2013, 04:41:27 am by mkl0815 » Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1898
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

well done
Great project
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Greenville, IL
Offline Offline
Edison Member
*
Karma: 15
Posts: 1328
Warning Novice on board! 0 to 1 chance of errors!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


 Very nice work! Where did you get the acrylic cylinder?

 Thanks for sharing!
Logged


Offline Offline
Edison Member
*
Karma: 21
Posts: 1419
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very nice work! Where did you get the acrylic cylinder?
Thanks. I ordered the acrylic cylinders directly from a manufacturer here in germany.
Logged

South UK
Offline Offline
God Member
*****
Karma: 5
Posts: 582
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

very nice! could you share the code?
Logged

Offline Offline
Edison Member
*
Karma: 21
Posts: 1419
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The code was written quick and dirty and is poorly documented. I will try to clean it up and write some comments over the weekend and post it after it gets more representative.  smiley-lol
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very well done!
Make two of them and you have the antimatter motors of the Enterprise smiley-wink
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Edison Member
*
Karma: 21
Posts: 1419
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've just added the souce code of my sketch to the first post of this thread. feel free to use and improve it.  smiley
Mario.
Logged

Pages: [1]   Go Up
Jump to: