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!
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.
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...
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.
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...