Christmas Lights 2015
For this Christmas I came up with a neat little light effect which looks good under the tree.
The idea was very simple and the implementation as well. I wanted it to transition between randomly generated colours. I choose the Arduino Uno for this project because it’s very easy to use and I have a few of these at home. And I use a simple RGB LED since it can emit… coloured light.
Basically I generate random colours and transition between them using Linear Interpolation (https://youtu.be/mAi2-LTC2CA) as time passes.
To illuminate the room more I used a little hack. I put a ping-pong ball on the LED with a hole on it to scatter the photons.
And here is the code using CodeBender so it is very easy to try out. The wiring should be very easy based on the comments. (But make sure your LED is a Common Anode or Cathode one)