Christmas Tree with 150 Digital LED Pixels

Arduino-controlled Christmas Tree lit by 150 digital RGB LED pixels. The RTC chip switches on and off the tree at the planned hours!

Aug 26, 2017

18167 views

12 respects

Components and supplies

1

Real Time Clock (RTC) DS3231

1

Jumper Wires

1

Electronic Wire (20AWG)

1

Arduino Mega 2560

1

(External) Junction Box

3

12mm Diffused Thin Digital RGB LED Pixels WS2801 (Strand of 50)

1

Half-size Breadboard

1

DC Power supply - 5V 10A

1

Christmas Tree

1

Female DC Power adapter - 2.1mm jack to screw terminal block

1

Insulating tape

Tools and machines

1

Soldering iron (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Christmas_tree

arduino

This is the MAIN CODE of your project. It is ready-to-use!

Christmas_tree_UPDATED

arduino

Same animations and functions, but colors are MORE CALIBRATED because they are set with the HSV method. If you are not an expert user, learn more here: https://github.com/FastLED/FastLED/wiki/Pixel-reference#setting-hsv-colors-

RTC_set

arduino

This code copies the hour of your PC on the RTC connected to Arduino. Just upload this code on Arduino once, and the open the Serial Monitor to see the changes. Remeber to upload this BEFORE the main code, in order to make it run correctly!

RTC_read

arduino

Upload this code and open the Serial Monitor to check the time stored on the RTC connected to the Arduino.

Christmas_tree_UPDATED

arduino

Same animations and functions, but colors are MORE CALIBRATED because they are set with the HSV method. If you are not an expert user, learn more here: https://github.com/FastLED/FastLED/wiki/Pixel-reference#setting-hsv-colors-

RTC_read

arduino

Upload this code and open the Serial Monitor to check the time stored on the RTC connected to the Arduino.

RTC_set

arduino

This code copies the hour of your PC on the RTC connected to Arduino. Just upload this code on Arduino once, and the open the Serial Monitor to see the changes. Remeber to upload this BEFORE the main code, in order to make it run correctly!

Downloadable files

Christmas Tree Breadboard scheme

Christmas Tree Breadboard scheme

Christmas Tree Breadboard scheme

Christmas Tree Breadboard scheme

Comments

Only logged in users can leave comments

martinoghisleni

0 Followers

0 Projects

Table of contents

Intro

12

0