If you were wandering around Prague this Christmas season you may have spotted a Raspberry Pi 2 controlled Christmas tree. But you had to look quick because it was on the back of a special tram car that lubricates the rails around the city to reduce noise. The colors on the tree were determined by a web site that allowed visitors to change the colors. The same system, with a few adjustments, controlled a tree in the entrance hall of Czech Technical University in Prague at Karlovo.
The adjustments weren’t trival. Power was a problem, for one. The electrical noise from the tram’s drive motors needed to be filtered by using a switching power supply. Cold temperatures might have created a frozen Pi so they added a heater. After all, everyone loves warm Pi. The LEDs on the tree were handled by a WS2811 addressable LED driver chip.
You can catch the tram any time on the web, but the tree will be gone once the Christmas season ends.