Display traffic status using Arduino & 1Sheeld

Using a transparent IKEA clock and RGB leds, I can change the color of the clock according to the traffic status to my way home ;)

Similar projects worth following
Whenever it's time to get off the office, I always check the traffic status to choose the best time to go home. But I couldn't find a way to do that autonomously. So then .... I was up to make a system that shows me the current traffic status with the help of a simple tool that is used probably in all the offices, a wall clock ;)

Using the 1Sheeld and Arduino, I can access the internet and check the traffic time duration (every 5 minutes) to my home and glow the clock green if traffic is clear, or red if is horrible :D Let's check out the steps to know how to do it yourself!


Make sure to install TImeLib library in your IDE

ino - 4.97 kB - 10/09/2016 at 11:15


View all 9 components

  • 1
    Step 1

    First you will have to solder the 12 RGB LEDs in parallel, stripping out the three wires (5v, Gnd, control), then test the LEDs before sticking them to the back of the clock.

  • 2
    Step 2

    Cut down small pieces from the double face tape and place them adjacently to the 12 clock numbers (Figures), then stick the 12 LEDs on them.

  • 3
    Step 3

    Make sure the three stripped wires are clear and little bit tall to connect them to Arduino & 1Sheeld.

View all 6 instructions

Enjoy this project?



Robert Poser wrote 05/26/2017 at 19:52 point

Having ported your sketch to Particle, everything now works nicely. I've seen that the actual traffic data was not taken into account using the suggested httprequest in the Files Section: The eta is constant over the whole day?! However it works better after adding "&departure_time=now" into the httpRequest/webhook. Then the estimated time of arrival changes depending on the actual traffic situation...

  Are you sure? yes | no

Robert Poser wrote 05/14/2017 at 12:14 point

Very nice demo! Inspired by your project I am currently developing a version which displays the eta on a micro ePaper screen. Using Particle as a platform since this is the only way where I know how to trigger the webhook towards the google maps API. Will let you know once it is running.

  Are you sure? yes | no

Brandon Dunson wrote 10/11/2016 at 14:57 point

Google distance matrix API link is 404, FYI. Otherwise this is an awesome addition to an office or home for that matter.

  Are you sure? yes | no

Eslam wrote 10/11/2016 at 15:07 point

Are you requesting the same url given in the sketch ? 

check the link but first make sure you put your api key inside the url along with the origins and destination values


  Are you sure? yes | no

Just4Fun wrote 10/10/2016 at 10:10 point
Thumbs up! (For the presentation too...)

  Are you sure? yes | no

Eslam wrote 10/10/2016 at 10:22 point

Thanks :) 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates