element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • 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 Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Arduino Projects
  • Products
  • Arduino
  • Arduino Projects
  • More
  • Cancel
Arduino Projects
Blog [Christmas Tree] Internet of Holiday Lights - Project Description
  • Blog
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 8 Dec 2014 8:43 PM Date Created
  • Views 1928 views
  • Likes 6 likes
  • Comments 5 comments
  • infineon
  • mqtt
  • yun
  • openhab
  • classic_modern_tree
  • iot_holidaylights
  • led
  • arduino
Related
Recommended

[Christmas Tree] Internet of Holiday Lights - Project Description

fvan
fvan
8 Dec 2014

  • Introduction
  • The idea
  • Research

 

Introduction

 

Alright! I've been selected for the The Internet of Holiday Lights RoadTest Plus (or "mini challenge") along with 19 other competitors.

 

In this post, I will describe my submission and what I intend to realise for this RoadTest.

 

The idea

 

My internet holiday lights idea for this Road Test plus is about making a Christmas tree with both classic and modern elements.

 

The classic element would be the base of the tree, where I would hollow a wood log in order to stuff the electronics in (Arduino Yun + Infineon Shield).

The modern element will obviously be the lights. I'd like to use a combination of LED strips (addressable and non-addressable) to create a Christmas tree shape and tree topper.

 

This is a quick sketch of what I have in mind:

image

 

The tree shape would be controlled by the Infineon shield to control color, brightness and other effects (glowing, fade in/out, ...).

For the tree topper, I'd like to use an addressable strip and neopixel ring to create more granular animations (rotation, inward/outward motion, random, ...).

 

The color of both the tree and the topper would be controlled individually via an app on the smartphone. The app would also allow for an automatic mode where the colors and animations would randomly change.

 

In "manual" mode, everything is controlled by the user via his/her smartphone: selection of colors and animation.

 

One of the types of animation I was thinking of, could be triggered by a local sensor. I've experimented with this before as demonstrated in the video below, using a distance sensor.

 

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

 

What I'd like to achieve is to have the tree topper have an inward motion when nearing the tree and outward motion when getting further away (or vice versa).

 

When in "automatic" mode, the colors and animations for the tree and the topper would be determined based on data gathered from the internet.

 

An example could be to change colors based on keywords found in song titles. By tuning in on an internet radio channel playing Christmas songs, the lights could adapt based on certain keywords in the title of the song playing at that specific moment:

  • "Let it snow": glowing white
  • "Mr. Santa": alternate between red and white
  • etc ...

 

Research

 

For the communication between the Yun and the smartphone, I was thinking of using MQTT and openHAB, which I would deploy on an earlier project: Internet Radio Player with Raspberry Pi, PiFace CAD and MPD/MPC

image

 

While doing some research for this project, I came across an Arduino library for MQTT that is compatible with both the Yun and the UNO (combined with an ethernet shield).

I couldn't help myself, and already gave it a try with the UNO and ethernet shield.

imageimage

Using an online MQTT client from 2lemetry, which I found via iot.eclipse.org — Ecosystem I was able to successfully publish data from the Arduino and visualise it online.

This is only part of the solution, as the actual project will also require the Arduino to subscribe to a certain topic in order to retrieve the colors and animations that need to be used.

 

imageimage

 

While exploring MQTT for the CC3200, I discovered that a Paho Arduino client exists. Thanks to one of kartben's posts, I also discovered MQTTlens, to visualise MQTT message easily.

After my submission, Benjamin also posted a nice tutorial on how to use the Paho client with the Arduino Yun. You can find it here.

 

That's my project idea for this RoadTest, hope you like it!

  • Sign in to reply

Top Comments

  • DAB
    DAB over 10 years ago +1
    Looks like an interesting project. I like the interactive component. DAB
  • pmohan
    pmohan over 10 years ago +1
    As usual very well planned !!! Got to catch up
  • gadget.iom
    gadget.iom over 10 years ago in reply to clem57

    Perhaps, but my usage case is similar to the Fredericks. I am eventually looking to setup my own MQTT broker on a Raspberry Pi, but during the early phases of learning/development I would like to communicate with a "known quantity" and get my Microcontroller setup working first.

     

    Otherwise in the event of (inevitable) failure I would't know wether it was the Microcontroller or the Raspberry Pi.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to gadget.iom

    http://cdn-wp.2lemetry.com/wp-content/uploads/2014/11/2Lstack_horizontal_v2.png

    Looks like a lot of middle ware(bloat ware) to me. Do you see something different Paul?

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago

    Looks like 2lemetry has been bought out by Amazon. New users are by invitation only "We'll get back to you in a few weeks" (AKA don't call us, we'll call you), which doesn't look good for an emerging field like the IoT. There is no initial intention to undertake the obligatory Amazon rebrand (as with Love Film).  Are they are going to run it into the ground?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • pmohan
    pmohan over 10 years ago

    As usual very well planned !!! Got to catch up image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Looks like an interesting project.

     

    I like the interactive component.

     

    DAB

    • 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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube