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 ;)
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Traffic_Indicator.inoMake sure to install TImeLib library in your IDEino - 4.97 kB - 10/09/2016 at 11:15 |
|
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.
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.
Make sure the three stripped wires are clear and little bit tall to connect them to Arduino & 1Sheeld.
Create an account to leave a comment. Already have an account? Log In.
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.
Google distance matrix API link is 404, FYI. Otherwise this is an awesome addition to an office or home for that matter.
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
"https://maps.googleapis.com/maps/api/distancematrix/json?origins=YOUR_ORIGINS&destinations=YOUR_DESTINATION&key=YOUR_API_KEY"
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
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...