element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs LED Xmas Tree Project 2
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: benmatrix
  • Date Created: 25 Nov 2014 10:53 AM Date Created
  • Views 373 views
  • Likes 3 likes
  • Comments 1 comment
  • animation
  • flowcode
  • audio
  • led
  • rgb
  • tree
  • christmas
  • pic
Related
Recommended

LED Xmas Tree Project 2

benmatrix
benmatrix
25 Nov 2014

It’s been nearly a year since my last blog on creating a simple LED based Xmas tree so thought it was time for a re-visit.

 

Xmas Tree Blog 1

 

This time instead of cobbling together a section of breadboard I decided to go with a more professional approach and design an actual PCB to host all the components.

 

I also wanted something a bit more useful so I stuck with 15 LEDs but this time I replaced the fixed colour LEDs with large 10mm RGB type common cathode LEDs. The tree allows all 15 LEDs to be controlled by using enough octal buffer IC’s to allow each Red, Green and Blue signal to be switched on or off independently. By switching the various internal LEDs on and off at high speed we can then generate a wide selection of colours. Another addition was to add a simple sounder circuit to allow audio to be generated from the board and a simple switch to allow for some user interaction.

 

HPTREE-71-1.jpg

 

The complete set of parts to build the tree have been placed into a kit that is now available as a product to buy from the MatrixTSL website: HPTREE Product Page

 

Instructions on how to build and test the kit are also available from the resources section of the product page.

 

To save on money around this expensive time of year and also to reduce complexity I decided not to fit the circuit board with any re-programming circuitry. The supplied 16F88 device comes pre-programmed with the firmware shown in the video. This means that once the tree is assembled it will create a nice centre piece without having to do anything further.

 

Should you want to re-program the device then you have a few options.

  1. Use a PICkit 2 or PICkit 3 to re-program the 16F88 device via the ICSP header fitted to the tree PCB.
  2. Lever the 16F88 chip out of it’s socket and use with a programmer such as our EB006 PIC Multi-programmer.
  3. Lever the 16F88 chip out of it’s socket and replace with an ECIO device to the larger socket on the reverse side of the PCB.

 

Also available from the product page is a Flowcode component designed to simplify creation of new animations and audio jingles. All of the complexity of creating the various colours and audio tones has been taken care of for you so you can focus on what colours and what notes you want to display. The source code for the Flowcode component is also available should you want to dig into the world of colour and audio control techniques using a high speed timer interrupt.

 

The board can be powered from a standard PP3 type 9V battery or any DC supply in the range of 7V – 9V. There is a double check diode fitted to the PCB to avoid any problems should you connect up the power supply with reverse polarity but it is wise to double check your connections before powering up the board for the first time.

 

Here is the project schematic.

Tree.jpg

 

The board features mounting holes to allow it to be hung from a tree, attached to a wall or added to a 3D printed or laser cut casing.

 

Here is a quick video detailing the MatrixTSL Xmas Tree kit, the software and the fully assembled end product.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply

Top Comments

  • toxxn
    toxxn over 8 years ago +1
    This is super cool and would make a great Christmas Tree ornament for any engineer or hobbyist!
  • toxxn
    toxxn over 8 years ago

    This is super cool and would make a great Christmas Tree ornament for any engineer or hobbyist!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube