Weather Clock Puts OLPC to Work

weather-clcok

A clock to tell the weather? [Andrew] has created a device to do that and more. Inspired by [Sean's] weather clock, [Andrew's]clock displays the current weather conditions, temperature, moon phase, and of course the time. The whole project started years ago with a broken keyboard. [Andrew] wanted to try to use the keyboard controller PCB as a bidirectional computer interface. Data to the computer would go in via the key matrix. Output data would be read via the status LEDs. Cheap simple microcontroller boards like the Arduino sidelined the project for a few years, but he never completely left it behind.

With an unused OLPC XO-1 in hand, [Andrew] pulled out his old keyboard controller and started hacking. His first task was getting meaningful data out of the keyboard LEDs. He coded up his own keyboard led control library in python. On the hardware side an op amp took on the roll of a comparator to ensure proper logic levels were present. [Andrew] then hooked two LEDs up as clock and data lines to standard 74 series shift registers (most likely 74HC/HCT595). He found that his data was completely garbled due to bounce. A second shift register buffering the clock cleaned things up. [Andrew] was left with a stable 40 bits per second serial link to his shift registers. With all this done, the next step was the clock itself. [Andrew] bought a RUSCH Wall clock from IKEA, and converted the clockwork to a gear reduction for a DC motor he pulled from an old answering machine. He could now move the hands at will, but had no way to determine their position. IR break beam sensors from old printers came to the rescue.

After connecting the motor drive, [Andrew] still had a number of outputs available. A few LEDs were in his parts box, so into the project they went. 12 LEDs around the outside of the clock to display the current time. 3 LEDs hide behind the weather icons as status indicators. [Andrew's] python software really ties this together. His OLPC grabs data from the internet and displays it on the clock. A web interface allows the user to perform manual updates on the clock and to set alarms. The alarms even incorporate speech output via eSpeak. We love the reuse and recycling of parts in this hack. The end result is a clock any hacker would be proud to display on their wall.

Comments

  1. Trui says:

    I’ve never heard of LEDs “bouncing” when they are turned on or off.

  2. rdmilligan says:

    Impressive recycling. What about using the over-practiced and slightly nervous voice on the original answer machine message rather than eSpeak?

  3. Aztraph says:

    I’ll be home tonight about quarter past partly cloudy, but get the girls to bed the new moon.

  4. Squirrel says:

    *role

  5. Hirudinea says:

    Hell, if it was all in one I’ed buy this, except for the voice, it’s creepy!

  6. wretch says:

    It’s like being woken up by a Dalek. (c:

  7. Exit151 says:

    I love reading the content on this site. I have to ask however.. Does anyone else find it incredibly disturbing that he “had an unused OLPC XO-1 in hand”?? One Laptop per Child, a non-profit organization trying to get technology into the hands of kids FOR SCHOOL. Maybe the program is gone/dead and he somehow acquired it? Stats on the wiki do only cover up to 2011, but there is no mention (that I saw) of the program being dead. Just curious as people who have donated to the cause might find concerns that he never used his.. (till now, that is, but not for the reason it was given to him).

    Cool hack though, for what it’s worth.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,369 other followers