<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mark Selby &#187; Rss Displays</title>
	<atom:link href="http://markmakedo.co.uk/category/rss-displays/feed/" rel="self" type="application/rss+xml" />
	<link>http://markmakedo.co.uk</link>
	<description>Things I Make and Do</description>
	<lastBuildDate>Fri, 13 Jan 2012 11:44:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Living Dangerously: Earthquake Data</title>
		<link>http://markmakedo.co.uk/2010/01/12/living-dangerously-earthquake-data/</link>
		<comments>http://markmakedo.co.uk/2010/01/12/living-dangerously-earthquake-data/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 22:04:52 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[mini projects]]></category>
		<category><![CDATA[Rss Displays]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[earthquakes]]></category>
		<category><![CDATA[living dangerouly]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://markmakedo.co.uk/?p=748</guid>
		<description><![CDATA[The other day, as a way of avoiding work that I really should be doing, I made a few basic but necessary improvements to my earthquake RSS feed reading code. I haven&#8217;t touched it for ages, but sometimes it&#8217;s good to come back to these things after a little while away. First I tweaked it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://markmakedo.co.uk/wp-content/uploads/2010/01/quake.jpg"><img class="alignnone size-full wp-image-747" title="Earthquake readings" src="http://markmakedo.co.uk/wp-content/uploads/2010/01/quake.jpg" alt="" width="520" height="345" /></a></p>
<p>The other day, as a way of avoiding work that I really should be doing, I made a few basic but necessary improvements to my earthquake RSS feed reading code. I haven&#8217;t touched it for ages, but sometimes it&#8217;s good to come back to these things after a little while away.<br />
First I tweaked it so that the programme only displays the earthquake data and writes it to the serial port (for arduino) when there is new activity &#8211; before it was sending the data every time it checked, which is not helpful. So now we only get new data if there&#8217;s a new earthquake.</p>
<p>So you can see from the screen grab that the magnitude of the most recent earthquake was 59 (well, 5.9 really), while the depth was 50 km. In the Processing IDE&#8217;s text area at the bottom  it says &#8221; no new activity&#8221;, meaning that the data displayed is from the last earthquake.</p>
<p>Next I added a magnitude threshold so it only picks up earthquakes above a certain magnitude. This is mostly because small earthquakes and tremors are surprisingly frequent, sometimes occurring every few seconds. Now the programme only parses a new one roughly every 10 minutes.</p>
<p><a href="http://markmakedo.co.uk/wp-content/uploads/2010/01/quake2.jpg"><img class="alignnone size-full wp-image-746" title="waiting for data" src="http://markmakedo.co.uk/wp-content/uploads/2010/01/quake2.jpg" alt="" width="520" height="336" /></a></p>
<p>&#8220;Waiting&#8230;&#8221; means that the last new earthquake that occurred wasn&#8217;t big enough for us to bother with. The idea is more to respond to noteworthy occurences,  on the website the RSS feed is from they distinguish between earthquakes above 2.5, and those of 5.0 and over. However, earthquakes over 5.0 are still surprisingly common, so next I think I&#8217;ll look into the classification system a bit more and work out suitable a magnitude threshold.</p>
<p>This works nicely because  the plan is to have the arduino do something physical in response to earthquakes, but I don&#8217;t really want that to happen too often, so adjusting the magnitude threshold changes how often  data is sent to the arduino. Well, roughly anyway, but thats a good thing.</p>
<p>The XML feed also contains the date and location of the earthquake so I&#8217;ll be doing something with those next, probably nothing too exciting &#8211; sometimes it&#8217;s just nice to have the meta data.</p>
<p>Next the arduino code also needs doing, not to mention the design and implementation of the hardware and output. At this rate, it&#8217;s going to take ages.</p>
<p>Anyway, nothing to exciting, just checkin&#8217; in really.</p>
]]></content:encoded>
			<wfw:commentRss>http://markmakedo.co.uk/2010/01/12/living-dangerously-earthquake-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rss Displays &#8211; Enclosure</title>
		<link>http://markmakedo.co.uk/2009/03/21/rss-reader-enclosure/</link>
		<comments>http://markmakedo.co.uk/2009/03/21/rss-reader-enclosure/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 20:36:40 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[mini projects]]></category>
		<category><![CDATA[Rss Displays]]></category>

		<guid isPermaLink="false">http://markmakedo.wordpress.com/?p=65</guid>
		<description><![CDATA[Knocked this up the other day on the laser cutter, it&#8217;s not finished though &#8211; when I get a chance I&#8217;ll veneer the edges of the MDF. Very much inspired by spikenzie, although not as slick looking!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/23339730@N04/3373803858/"><img class="alignnone" title="LCD Enclosure." src="http://farm4.static.flickr.com/3579/3373803858_fba176179d.jpg?v=0" alt="" width="500" height="333" /></a></p>
<p>Knocked this up the other day on the laser cutter, it&#8217;s not finished though &#8211; when I get a chance I&#8217;ll veneer the edges of the MDF.</p>
<p>Very much inspired by <a href="http://www.flickr.com/photos/spikenzie/">spikenzie</a>, although not as slick looking!</p>
]]></content:encoded>
			<wfw:commentRss>http://markmakedo.co.uk/2009/03/21/rss-reader-enclosure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS displays &#8211; first steps</title>
		<link>http://markmakedo.co.uk/2009/02/22/rss-displays-first-steps/</link>
		<comments>http://markmakedo.co.uk/2009/02/22/rss-displays-first-steps/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 22:51:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[mini projects]]></category>
		<category><![CDATA[Rss Displays]]></category>
		<category><![CDATA[arduino ethernet rss lcd]]></category>

		<guid isPermaLink="false">http://markmakedo.wordpress.com/?p=19</guid>
		<description><![CDATA[Arduino Board (Diecimila). Arduino Eternet Shield. 16*2 serial LCD . The data sheet is here. The wiring is largely based on this forum post, but the pin mappings are done according to the data sheet of my lcd display, which addmittedly is not wildly different. I also edited the c++ file in the lcd4bit library [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-20" title="The set-up" src="http://markmakedo.files.wordpress.com/2009/02/dscf0003.jpg" alt="The set-up" width="480" height="301" /></p>
<p><a href="http://www.arduino.cc">Arduino Board</a> (Diecimila).</p>
<p><a href="http://tinkerit.myshopify.com/products/arduino-ethernet-shield">Arduino Eternet Shield.</a></p>
<p><a href="http://www.maplin.co.uk/module.aspx?moduleno=36389">16*2 serial LCD .</a> The data sheet is <a href="http://www.maplin.co.uk/Media/PDFs/N25AZ.pdf">here</a>.</p>
<p>The wiring is largely based on <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1232923370/6#6">this forum post</a>, but the pin mappings are done according to the data sheet of my lcd display, which addmittedly is not wildly different.</p>
<p>I also edited the c++ file in the lcd4bit library (as shown in the forum post) to set the pins on the arduino &#8211; this isn&#8217;t difficult, I&#8217;ve never done c++ before.</p>
<p>I think this is going to be a weather rss feed display, or possibly something to do with Flickr. Dunno yet, at the moment I&#8217;m just messing around with getting xml onto the screen (I&#8217;m quite new to  this XML/API stuff). Code still to come, when I manage to get it working.</p>
]]></content:encoded>
			<wfw:commentRss>http://markmakedo.co.uk/2009/02/22/rss-displays-first-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

