The Fantasic Christmas Tree

I decided to play around and make a web-controlled Christmas tree. I created a web server to host the web page to control the tree and obviously it works only when connected to the Wifi.


I used the following:


– Arduino Mega
– Ethernet Shield
– speaker
– Bootstrap to style the page stored in PROGMEM
– 17 LEDs
– 17 resistors

This is how the control web page looks like on my mobile


The main Arduino code is on GitHub. There are just a couple of functions used to blink the LED and play jingle bells. The other functions work pretty much the same way, just play around with them.