PiClock – Time and Weather Information Overload

[Kevin] wanted a display where he could take a quick glance and get all the current environmental information he uses throughout the day. That information includes, of course, the time and date as well as weather information. We’re not just talking the current weather information but the forecast for the upcoming week as well as a map showing current weather patterns. To do this, [Kevin] came up with a unique system he’s calling the PiClock.

[Kevin] did some serious programming to get this clock project off of the ground. The weather data comes via the Weather Underground API and the map data from the Google Maps API. The main program is written in Python and will run on any OS running Python 2.7+ and PyQt4. If you’re interested in doing something similar, check out the source at github.

From the project’s name, it is no surprise that a Raspberry Pi is the brains here. A USB WiFi adapter allows access to the internet but an Ethernet connection would do just fine. Having the RaspPi hanging out with wires everywhere would be a little lazy, so [Kevin] opened up his 19″ LCD monitor and mounted the RaspPi inside the case. He tapped 5vdc off of the monitors power supply and used that to power the RaspPi, no external wall wart necessary! And if the PiClock’s background isn’t cool enough, some RGB LED strips were mounted to the back of the monitor to give an Ambilight effect.

Hacklet 49 – Weather Display Projects

Everyone wants to know what the weather is, and what it is going to be. Today’s internet enabled forecasts give us continuous streams of current weather data and predictions from any of several computer models. Couple that with data from an on-site station, and you’ve got a lot of information to display! It makes sense that weather display projects would be popular with hackers, makers and engineers. What do you do after you build the worlds most awesome clock? Build the worlds most awesome weather display (and then incorporate a clock in there as well!).

Last week on The Hacklet I mentioned that there are two basic types  of weather projects on Hackaday.io: Sensing and Display projects. There was a bit of foreshadowing there, as this week’s Hacklet covers some of the best weather display projects on Hackaday.io!

geoWe start with [Ashley Hennefer] and G.E.O, a project which is out of this world – literally. Geological Environment Observer, or G.E.O was created for NASA’s Space Apps Challenge. G.E.O’s mission is to keep astronauts on long-distance space flight missions connected with their home city (and planet). An astronaut programs the device with their home city and G.E.O takes it from there. Inside a glass globe, G.E.O creates weather patterns mirroring the programmed city. It does this with Adafruit NeoPixel LEDs, a water pump, a mist generator, and a wave shield. An Intel Edison controls the system. For now, weather data and programming are completed using a web interface. Once G.E.O launches though, data will be streamed via NASA’s deep space network.

flaps[Sephen DeVos] keeps track of the weather with a glance at his Internet Split Flap Weather Clock. Lots of weather apps use simple icons to display the current conditions. [Sephen] placed those icons on a mechanical split flap display which lets him know the conditions outside. The project’s case came from a donor clock given to [Sephen] by his parents. He then 3D printed an entire split flap mechanism, including the gears! Each 50 mm x 100 mm flap forms half an image.  A small stepper drives the flaps, while an IR detector lets the system know when it has reached a home position. Control is handled by an Arduino Nano and companion Ethernet shield. The Arduino checks the weather every 30 minutes. If conditions have changed, it flips to the right icon. Genius!

usmap[Dan Fein] is keeping track of the temperature across the entire USA with Weather Map. [Dan] works for Weather Underground, so it’s no surprise that he uses their API (accessed via a node.js script) for weather data. The data is fed into a spark core which then drives a string of 100 WS2812 LEDs. Each LED is mapped to a specific point in the continental USA. Color indicates the current temperature at that location. [Dan] does caution that you’ll have to slow down access to Weather Underground  if you’re using a free API key. Even with slower updates, this is still an awesome project!

yaws[Jeff Thomas] went the traditional route with YAWS – (Yet Another Weather Station). YAWS uses a 5 inch TFT LCD to display weather data from a number of sensors. [Jeff] got his display and the driver board from buydisplay.com. The driver board uses the venerable RA8875 display driver chip. The RA8875 handles all the hard parts of driving an LCD, like video RAM, refresh, and clocks. This allows a relatively slow Arduino to drive all those pixels. [Jeff] created a very handsome interface to display all his data, but he has a small problem – a memory leak causes the system to freeze up every 18 hours! We’re hoping [Jeff] will share his source code so the Hackaday.io community can help him find that pesky bug!

If you want to see more projects like these, check the Weather Display Projects list on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Hacked Kobo Becomes a Weather Display

The Kobo e-reader has been hacked for a while now. It’s pretty easy to enable telnet access by modifying some files. Once [Kevin] was able to telnet into the device and draw to the display, he created the Kobo Wifi Weather Forecast. This hack was inspired by the Kindle weather display that we discussed in the past, but this version runs entirely on the Kobo.

The weather report software is written in Python using the pygame library. After loading the software package onto a Kobo, a few commands are run over telnet to set up Python and run the display. Since Python and pygame run on the Kobo, it allows for direct access to the e-ink display.

There’s a lot of possibilities for a internet connected e-ink device running custom graphics code. It’s asking to be turned into any kind of display you can imagine. What ideas do you have for a custom e-ink display? Let us know in the comments.

Turning a Kindle into a weather display

Since the first time [Matt] saw an e-paper display, the idea of using it as a regularly updated, non real-time display consumed him. It really is the perfect platform for very readable calendars, agendas or, as [Matt] found out, a weather display.

[Matt]’s build uses a server to fetch and parse weather data and forecasts from NOAA. This data is then inserted into an SVG file, rendered, converted into a PNG, and finally converted into a grayscale, no transparency image required by the Kindle.

After the image is crafted by [Matt]’s server, a small script running on the Kindle fetches the image, clears the screen, and displays the image. This entire process happens twice a day, often enough for [Matt] to get a good idea of the weather outside without having to look out a window.

The really striking feature of [Matt]’s build is how good his weather display looks. The wonderful iconography of this weather display comes partly from graphics found on The Noun Project, with a few weather conditions drawn by [Matt] himself. It looks great, and is an awesome example of an excellent use of e-paper.