element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Upcycle It
  • Challenges & Projects
  • Design Challenges
  • Upcycle It
  • More
  • Cancel
Upcycle It
Blog Upcycled clock – LED diffusion panel integration
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: carmelito
  • Date Created: 3 Jun 2017 7:42 AM Date Created
  • Views 1553 views
  • Likes 6 likes
  • Comments 6 comments
  • upcycledclock
  • 3dprint
  • wood filament
  • upcycleit
  • google_maps
  • openweathermap
  • upcycle it
  • tweepy
  • iot
  • intel edison
Related
Recommended

Upcycled clock – LED diffusion panel integration

carmelito
carmelito
3 Jun 2017

As part of this blog post, the idea is to put all the bits of code together which were part of the previous blog post to light up the LEDs assigned to the panels on the clock. As part of the final setup the python program below will be setup to run automatically in the morning using a system service, starting at 6:30 AM and for every 20 mins interval till about 8:30 AM. But for now, I am using the POT to create the video demo of the features listed below-

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

 

  • Weather- this lights up based on the weather conditions, so if it is sunny the panel will light up yellow, and if it rains, which it rarely does here, it will light up blue and I will also have the LEDs at the back of the clock light blue, which is a reminder to carry an umbrella when I head out.This feature uses the OpenWeatherMap.org API, and for more info on the setup with the API checkout the blog post at - Reading out the weather using eSpeak
  • Gmail – this panel will light up red, if I have more than 10 unread messages, and green if less than 10. But as part of a future enhancement, the idea is to have it only light up red, if I have emails from family/friends.
  • Traffic – Based on my drive from home to work every morning, I bet this panel will always be lit up red. The idea here is, to have the panel light up red if time to work is more than 45 mins , orange if it is between 35 to 45 mins, and green if it is less than 35 mins.This is based on the Google Maps Distance Matrix API, for more info setup checkout - Commute time to work using Google Maps API
  • Home – this panel is to monitor air quality and temperature at home, this will light up red if the temperature >22 C, or the air quality value >150, which means there are weird gases at home aka there could be a potential gas leak in my apartment. If this panel is lit up red, then you can use the POT to display temperature and gas sensor value on the RGB LCD screen which will be part of the next blog post.
  • Twitter – this will be set to blue , if the hashtag that I am tracking has been used in a tweet today on the twittersphere. In my case, I am tracking the #upcycleit hashtag. Just in case you come across this blog post in the future and wondering what the hashtag means, basically this post was created as part of the Upcycle it design challenge.For more info on using tweepy to get tweets based on hashtag check out - Reading out tweets on a Bluetooth speakers

 

Before uploading the code to the Intel Edison, from the GitHub repo below, we need to glue the panels on the clock. The dual 3D printed diffuse'r slide into panel holder , which means I can replace one of the features above with something more interesting in the future..

 

https://github.com/CJAndrade/Upcycled-Clock/tree/master/PanelDiffusion

 

 

{gallery} Panels

image

Panels and the 3D printed diffusion parts

image

Hot gluing the panel parts

image

Glue the panel to the clock

image

Dual 3D printed diffuser just slide in, just in case I have to replace one of them with something more intresting

image

Finally add a button caps and a fancy knob

image

Build complete

image

Mounted on the wall ..

image

All the LED diffusion panels on.

  • Sign in to reply

Top Comments

  • gpolder
    gpolder over 8 years ago +2
    great demo, congrats. Gerrit.
  • jasonwier92
    jasonwier92 over 8 years ago +1
    Agree, great demo. Although I don't want to know when I have 10 emails!
  • Workshopshed
    Workshopshed over 8 years ago +1
    Fantastic results, top upcycle!
  • nandohila
    nandohila over 8 years ago

    Well done! Congrats

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Great finish to a cool project.

     

    Well done.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago

    Congratulations, a very well done job!

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Workshopshed
    Workshopshed over 8 years ago

    Fantastic results, top upcycle!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jasonwier92
    jasonwier92 over 8 years ago

    Agree, great demo. Although I don't want to know when I have 10 emails!  

    • 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