3D Xmas Tree for Raspberry Pi

This was a very nice weekend project that I highly recommend that was created by the folks over at the PiHut. I have the working video above showing you how it works, the AsciiCast to show you how to set this up via the command just below this text.

Here is a direct link to the AsciiCast.

As a bonus, I have another video at the extreme bottom that will show you how to do this from the GUI on a Raspberry Pi. So many ways to set this up to cater to all of the different people out there. ūüôā

The easiest way to control your 3D Christmas board is with Thonny. This is pre-installed in Raspbian Stretch.

So you can click on the Raspberry icon > Programming > Thonny.

Once Thonny is open paste the following code into it and then click on “Run”

from gpiozero import LEDBoard
from gpiozero.tools import random_values
from signal import pause
tree = LEDBoard(*range(2,28),pwm=True)
for led in tree:
 led.source_delay = 0.25
 led.source = random_values()
pause()

Once you have done that it will prompt you to give the code you just pasted a file name (e.g. xmas.py).

It will save the code as that file name and it will then run the code. You can then start and stop the code as you wish.

How to secure your Raspberry Pi board [Tutorial]

There is a great Raspberry Pi tutorial where you will learn to secure your Raspberry Pi. You will also learn to implement and enable the security features to make the Pi secure. This article is an excerpt from the book, Internet of Things with Raspberry Pi 3, written by Maneesh Rao. I give credit where it is due and this is what I wanted to share with all of you. Worth the time to read.

Secure Your Raspberry Pi
Secure Your Raspberry Pi

You can read all about it here.