<?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>Silly Science &#187; ethernet</title>
	<atom:link href="http://www.silly-science.co.uk/tag/ethernet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silly-science.co.uk</link>
	<description>Electronics, Programming and Hacking About</description>
	<lastBuildDate>Sat, 17 Jul 2010 14:14:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Energy Monitoring</title>
		<link>http://www.silly-science.co.uk/2010/02/25/energy-monitoring/</link>
		<comments>http://www.silly-science.co.uk/2010/02/25/energy-monitoring/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:37:45 +0000</pubDate>
		<dc:creator>silly-scientist</dc:creator>
				<category><![CDATA[Energy Monitoring]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[energy monitoring]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[xc-2]]></category>
		<category><![CDATA[xc-3]]></category>
		<category><![CDATA[xmos]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=30</guid>
		<description><![CDATA[Was at a friends today and he showed me an energy monitor that he had bought and was using to monitor his electricity supply. I was like &#8220;hmm&#8230; this could be something fun to attach to an XCore and get some graphs out of&#8221;. My thought is to use my XC-3 (or maybe get an [...]]]></description>
			<content:encoded><![CDATA[<p>Was at a friends today and he showed me an energy monitor that he had bought and was using to monitor his electricity supply. I was like &#8220;hmm&#8230; this could be something fun to attach to an XCore and get some graphs out of&#8221;.</p>
<p>My thought is to use my XC-3 (or maybe get an XC-2) to connect to an energy monitor receiver &#8211; or hack/make a receiver and then push the data somewhere useful via Ethernet. In fact I could combine it with my <a title="Silly Science Embedded Traffice Monitor" href="http://www.silly-science.co.uk/2009/12/21/embedded-traffic-monitor/" target="_blank">network monitor</a>, ditch the screen and have it push the all the different types of data out into some nice pretty graphs. Anyway, enough brain dump &#8211; onto the hardware!</p>
<p><span id="more-30"></span></p>
<p>My proposal is to use a <a title="Current Cost Envi 128" href="http://www.currentcost.com/product-cc128.html" target="_blank">Current Cost Envi (CC128)</a> device. There is a helpful <a title="dale lane CC128 Envi write up" href="http://dalelane.co.uk/blog/?p=389" target="_blank">CC128 write up from dale lane</a>. It has several nice features:</p>
<ol>
<li>The receiver has a RS232 output</li>
<li>The receiver outputs XML from the RS232</li>
<li>The system has support for up to 9 individual appliance monitoring (IAMs)</li>
</ol>
<p>Some thoughts on software/graphing features:</p>
<ul>
<li>Display a comprehensive history (device can output real-time, or 2hr block data)</li>
<li>Calculate some averages (particularly for time of day, month, season)</li>
<li>Plot electricity use vs. temperature? &#8211; the relationship should be pretty obvious&#8230; but I like pretty graphs</li>
<li>Plot the electricity generation stats and calculate my carbon footprint (ooh err!) &#8211; see <a title="Amee electricity generation stats" href="http://wiki.amee.com/index.php/Real_Time_Electricity#UK_National_Grid_Data_and_RealtimeCarbon.org" target="_blank">Amee</a></li>
</ul>
<p>Could even add some<a title="X10 PLC interface" href="http://www.uk-automation.co.uk/marmitek-x10-twoway-plc-interface-xm10-ttlcmos-interface-p-1349.html" target="_blank"> X10 stuff in there</a> to&#8230; the possibilities are endless &#8211; watch this space!</p>
<p>Update: <a title="CC128 Connector pinout" href="http://www.techtoniq.com/forum/viewtopic.php?f=5&amp;t=385" target="_blank">CC128 connector pinout</a>- looks like you might be able to reprogram the internal PIC as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/02/25/energy-monitoring/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Embedded Traffic Monitor</title>
		<link>http://www.silly-science.co.uk/2009/12/21/embedded-traffic-monitor/</link>
		<comments>http://www.silly-science.co.uk/2009/12/21/embedded-traffic-monitor/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 13:40:04 +0000</pubDate>
		<dc:creator>silly-scientist</dc:creator>
				<category><![CDATA[Embedded Network Monitor]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[i2c]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[spi]]></category>
		<category><![CDATA[vfd]]></category>
		<category><![CDATA[xc-3]]></category>
		<category><![CDATA[xmos]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=3</guid>
		<description><![CDATA[This is the initial release of the embedded traffic monitor which I implemented on an XMOS XC-3 development kit. It has a 256&#215;32 VFD attached to it with a custom board that was designed from another application (hence the buttons/IR sensor you&#8217;ll notice if you are observant). Full source code is available from the embedded [...]]]></description>
			<content:encoded><![CDATA[<p>This is the initial release of the <a title="Embedded Traffic Monitor (Sourceforge)" href="http://sourceforge.net/projects/embeddednetmon/" target="_blank">embedded traffic monitor</a> which I implemented on an XMOS XC-3 development kit. It has a <a title="256x32 VFD Datasheet" href="http://www.farnell.com/datasheets/14280.pdf" target="_blank">256&#215;32 VFD</a> attached to it with a custom board that was designed from another application (hence the buttons/IR sensor you&#8217;ll notice if you are observant). Full source code is available from the <a title="XC-3 embedded traffic monitor sourceforge page" href="http://sourceforge.net/projects/embeddednetmon/" target="_blank">embedded traffic monitor sourceforge page</a>.</p>
<p>More information and pictures after the break&#8230;</p>
<p><span id="more-3"></span></p>
<p>The basic premise of the system is that data comes in and then goes out the other side (to general traffic the device looks like a wire) and information about that traffic collected on its way through (so at the moment it just looks at packet byte length). The data is then aggregated appropriately with the throughput being averaged over a second (sample at an interval of 100mS).</p>
<p>The information as well as being displayed on screen (via a simple I2C bus) is stored to an SPI flash once every 10s. This is so that if power is lost then the logged data is not.</p>
<p>Current Feature Summary:</p>
<ul>
<li>Dual MII ethernet interface</li>
<li>I2C VFD for showing the resulting information</li>
<li>Saving of data to on-board SPI flash memory</li>
</ul>
<p>Future features:</p>
<ul>
<li>Internal switch for custom applications (so you can access the device over IP)</li>
<li>A web interface to allow a user to reset stored data and maybe produce a SVG graph?</li>
<li>Change display for lower cost, lower power OLED? (Farnell order code: 1498842)</li>
</ul>
<p>And some pictures:</p>
<div id="attachment_6" class="wp-caption aligncenter" style="width: 394px"><a href="http://www.silly-science.co.uk/wp-content/uploads/2009/12/screenshot0.jpg"><img class="size-full wp-image-6 " title="XC-3 Network Monitor and Display" src="http://www.silly-science.co.uk/wp-content/uploads/2009/12/screenshot0.jpg" alt="XC-3 Network Monitor and Display" width="384" height="257" /></a><p class="wp-caption-text">XC-3 Network Monitor and Display</p></div>
<div id="attachment_5" class="wp-caption aligncenter" style="width: 394px"><a href="http://www.silly-science.co.uk/wp-content/uploads/2009/12/screenshot1.jpg"><img class="size-full wp-image-5 " title="Network Monitor Display" src="http://www.silly-science.co.uk/wp-content/uploads/2009/12/screenshot1.jpg" alt="Network Monitor Display showing a graph and data rates" width="384" height="257" /></a><p class="wp-caption-text">Network Monitor Display showing a graph and data rates</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2009/12/21/embedded-traffic-monitor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
