Arduino/Twitter Hack – How to Make a Location-Telling Magic Clock!

by max on Saturday, November 28th, 2009
No Comments
Share
Email Email

magic-clock-1

Here’s a fun Arduino/Twitter hack that involves a location-telling magic clock that you can update your location with Twitter update statuses.

magic-clock-2

The author says he will be looking in the future for automated location using GoogleMaps GPS location on smartphones.  (I think that’s a great idea and perhaps be very effective in saving time if you have a super-activve kids)  Also see my write-up on how to tweet your Palm Pre’s GPS location to Twitter as reference for GPS build.

  1. My final design uses a script to fetch four twitter feeds every couple minutes.
  2. The script then parses out the first words and searches for a matching ’status’.
  3. If no match is found, it sets the status to ‘Read Me’
  4. The script outputs a string with the hand number followed by a separator character, and then a letter from a-l for the status like  ‘1>d2>b3>g4>a’.  This would set the 1 hand to ’school’ the 2 hand to ‘Church’, the 3 hand to ‘Home’ and the 4 hand to ‘Mortal Peril’.
  5. The string is passed to the arduino which checks if the hand location is known.  If it is and hasn’t changed, it does nothing.  If it’s unknown or changed, it drives the corresponding servo to the new location and stores the current location.

Check out the video of Magic Clock in action:

Click Here to View in Full Screen Mode

via make

magic-clock-3

(Hey, Harry, where ARE YOU???)


Leave a Reply

   Connect with Twitter

If you like this post then please subscribe to our full feed RSS or follow us on Twitter @Zedomax.

You can also subscribe by E-mail by filling out your name and E-mail below:

Name: Email:
Got a new hack, DIY, howto, or gadget you want us to blog about?

Tip us via Twitter @Zedomax or send e-mail to zedomax [at] gmail.com.

You can also use our free Guest Blogger services.

Try Goohack to find a new Hack:

Related News and Resources

Other Interesting News From Our Friends


Featured Sites From Zedomax Blog Network