0

June 27, 2014 AT 1:00 am

PiTFT Weather Station #piday #raspberrypi @Raspberry_Pi

Pasted Image 6 22 14 12 05 PM

Raspberry Pi PiTFT Weather Station:

More tinkering with the wonderful Adafruit 2.8″ Touchscreen TFT module (PiTFT) for the Raspberry Pi.  This time a weather station drawing data from weather.com.

Luckily there’s a wonderful python module to extract data from three popular weather services; python-weather-api supports NOAA, Yahoo! Weather and weather.com.  This makes life so much easier.

Download the module and install in the usual way; there are instructions in their wiki.

A simple way to display the raw data in a more readable form is to use Pretty Print (pprint) which is installed by default on Respbian.  Just change the code in the call to weather.com in the script below to your town which can be found in the URL if you use the weather.com web page….

Read more.

Pasted Image 6 22 14 12 08 PM


Featured Adafruit Product!

Pasted Image 6 22 14 12 10 PM

PiTFT Mini Kit – 320×240 2.8″ TFT+Touchscreen for Raspberry Pi: Limit 100 per customer, orders cannot be combined. Limited supply available. Is this not the cutest little display for the Raspberry Pi? It features a 2.8″ display with 320×240 16-bit color pixels and a resistive touch overlay. The plate uses the high speed SPI interface on the Pi and can use the mini display as a console, X window port, displaying images or video etc. Best of all it plugs right in on top! … (read more)


998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — “ORANGE PI: MEETING WITH STEVEN ZHAO IN SHENZHEN”

Wearables — Design with IFTTT

Electronics — Keep track of those rails!

Biohacking — Why Our Eyes Cannot Look at a Solar Eclipse

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.