Thanks Guys, your appreciation is worth more than many sleepless night.
You can download the code and supporting files from the #4 post.
hey zoomkat can you guide me how can we dim the light source to create a "Scene" using arduino. I am new for electronics as well as programming.