It's a Happy Hardware Holiday for all! Meet the Particle Christmas Tree, a limited edition PCB packed full of cheer with customizable light patterns and holiday tunes. Use your tree with a Particle Photon or Electron to light up the LEDs and play music. Control your tree from the onboard joystick or from the Christmas Tree Web App.
Learn how to get started below. Happy Holidays from Team Particle!
You can setup the tree in a matter of minutes.
The joystick is a 5 way button: up, down, left, right, and center (push in) then you can reprogram the usage any way you'd like. We have setup the button for you in the Christmas tree firmware to toggle light patterns and music.
DIR | PIN |
---|---|
UP | D4 |
DOWN | A0 |
LEFT | D5 |
RIGHT | D3 |
CENTER | D6 |
The tree has 25 of the APA102 2020 RGB LEDs (also commonly known as dotstars) connected in a daisy chain. These LEDs are individually addressable using two pins, data and clock. These tiny stars are incredibly bright and fast. At full brightness, with all colors turned ON, each LED will consume about 60mA of current. So 25 of them will consume a max of 1.5Amp. This is why we recommend powering the tree with a 5VDC power supply that can source at least 2Amp. Most modern USB phone chargers should be able to meet this demand.
The two dual-row headers allow you to use either the Particle Photon or the Electron. Please take care of the orientation and position of the device while plugging in.
At the back of the tree you'll find a piezo speaker connected to pin D0. The firmware includes several 8-bit holiday tunes but you can also compose your own. This speaker can be a bit loud. If you'd like to reduce the volume, you can put a piece of tape on its opening.
These pins breakout the power and control signal of the tree. You can mount the tree on a breadboard with the help of these pins. This will allow you to connect different hardware to your tree, daisy chain multiple trees, add more LEDs or even control it with other microcontrollers.
PIN | DESCRIPTION |
---|---|
D1 | Connected to the D1 pin of the Particle device and acts as CLOCK IN to the LEDs. |
D2 | Connected to the D2 pin of the Particle device and acts as DATA IN to the LEDs. |
DATA OUT | DATA OUT pin of the LEDs. |
CLK OUT | CLOCK OUT pin of the LEDs. |
VIN | Input power to the tree and Particle device. This pin is connected to the VIN pin of the Particle device. 5VDC max . |
GND | Connected to the ground. |
You can either use a Particle Photon or an Electron to control the tree. Since the dotstar RGB LEDs work at 5VDC, you'll need to make sure that the USB cable is plugged in at all times to power the tree, unless you have powered the tree via a separate power source via the VIN pin.
NOTE: When controlled by an Electron, the tree will not work with just the LiPo battery plugged in. You'll need to connect the USB cable as well or other external 5V DC power source.
The easiest way to setup the tree is to hang it as an ornament while powering over USB. You can also rig up your own 5V power supply cable and plug it into the header.
You can use the bottom header to mount the tree on a breadboard and power/control it via your own choice of hardware or to daisy chain the tree to other trees or dotstar projects.
There is a hosted version of the web interface you can use to control your tree. Simply login with your Particle account, select your device and you'll be able to control the LEDs and music from a desktop or mobile browser.
Import the firmware to your Particle account in the Web IDE with the button above. You'll be able to add new songs or tweak the functionality to your heart's content.
Click here for more information about the Xmas Tree firmware.
Having problems or have awesome suggestions? Connect with us on our forum.