loading

Step 6: Web Service

The web service I wrote for my table is able to be used by others as well so I will not go too much into code, it is a basic RSS feed reader using minidom in Python which runs on the Google App Engine.

The service can run taking between zero to three parameters, if a parameter is not supplied then the default value will be used, the parameters are as follows:
-- url - this is the URL of the RSS feed which will be displayed on the 20x4 LCD, the title of the RSS feed will be shown, so feeds that have short and concise titles work better, the default value is the main RSS feed for my Twitter feed.
-- loc - this is the location that is used to retrieve the weather forecast, this can be in any format that can be used with the Google weather API, the default location is London, UK.
-- lastfm - this is the Last.fm profile that is used to retrieve the current song being played, by default the service will not try to return values for the song being played unless a profile name is specified.

The address for my web service is technoducky1.appspot.com.
cool... i loved the song and album display! <br>Also, the visualization light on the ceiling was awesome...
I can see this becoming the 2012 A-Lister must have addition to the penthouse furnishings.
Wow! Very cool!
Video when you have the chance, tables look great! Does it just tweet and play music? If so, still awesome! Now all you need is some sound reactive LEDs for the music! Maybe filling in the empty area around the electronics in the middle with an Aurora http://www.instructables.com/id/Aurora-18x18
I should get a video done later today that helps to explain the functionality of the table a little better. <br>The table has two &quot;modes&quot;, news and media, in news the LED matrix is blank and an RSS feed is shown on the green LCD and weather forecast on the blue LCD, in media mode the LED matrix reacts to the music, the blue LCD shows the current song (via Last.fm) and the green LCD is blank. <br>I hope to explain this better in a video, but it is difficult as I cannot take the table home as it has to be marked for my A level in Product Design and the Ethernet shield does not support networks that use a proxy server.
Dan - What was the final cost of the project? Excellent work by the way!
Thanks, total cost was around &Acirc;&pound;190, around &Acirc;&pound;60 for the electronics, &Acirc;&pound;75 for the glass surface and &Acirc;&pound;55 for the rest of the materials, plywood etc.
it looks like you have a dead led on your matrix in the test video
Yeah, there were about three that never lit and one that flickered occasionally, I'm not sure if it was because I burned them when soldering or they were just bad LEDs (I checked the polarity and that was fine). <br>This did really annoy me, but I couldn't see any easy way of fixing it.
Nice. When you get a video done you should add it to the intro
Thanks, and yeah I'll put it in the intro.

About This Instructable

62,085 views

246 favorites

License:

More by DanNixon: Arduino Keyboard Learning Lights Attachment Google Play Music Internet Radio (Raspberry Pi and Arduino) Arduino Web Enabled RGB Lighting
Add instructable to: