Cheerlights Desktop Christmas Tree

/Cheerlights Desktop Christmas Tree
Cheerlights Desktop Christmas Tree2018-08-01T13:40:44+00:00

Project Description

This little tree uses an Arduino with an Ethernet Shield to track the Cheerlights channel on ThingSpeak. Cheerlights allows lights around the world to be controlled in unison via Twitter. This tree is nothing more than 10 RGB (red/green/blue) LEDs connected in parallel to an Arduino with an Ethernet Shield running a modified version of the cheer lights sketch.

Cheerlights Desktop Christmas Tree

Picture of RGB LED Tutorial (using an Arduino) (RGBL)

Parts
: arduino uno, ehternet shield, leds

 

Testing
Wire up the Test Schematic (below)

  • Plug the RGB LED into your breadboard
  • Connect a current limiting resistor to each of the three cathodes
  • Connect the common anode to 5V (5 volts)
  • Test each color by connecting its current limiting resistor to ground (GND)
  • Experiment with colour mixing a little by powering multiple elements at once

 

Picture of Testing

RGBL-TestSchematic.png  RGBL-Pin-Out.png

 

Arduino Controlled Example Circuit
There are two ways to do this. For the more advanced consult the schematic below.

Christmas tree led circuit

 

Digital Control of Color

It is possible to control an RGB LED digitally. This requires 3 digital pins for each LED and allows for 7 colours to be displayed (Red, Green, Blue, Yellow, Cyan, Magenta, White).

RGBL-DigitalColor.png

 

Analog Control of Color

Now onto the fun stuff, controlling an RGB LED using the Arduinos PWM (pulse width modulation) pins. This lets you create almost any colour your heart desires, and better than that fade between colours.

Picture of Analog Arduino Code

Source
https://github.com/nothans/CheerLights/blob/master/Arduino-Ethernet-Controller.ino

http://www.instructables.com/id/RGB-LED-Tutorial-using-an-Arduino-RGBL/

 

0 7 0

Leave a Reply