<?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; Projects</title>
	<atom:link href="http://www.silly-science.co.uk/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silly-science.co.uk</link>
	<description>Electronics, Programming and Hacking About</description>
	<lastBuildDate>Tue, 10 Jan 2012 14:21:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Powermeter</title>
		<link>http://www.silly-science.co.uk/2010/03/05/google-powermeter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-powermeter</link>
		<comments>http://www.silly-science.co.uk/2010/03/05/google-powermeter/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 23:57:21 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Energy Monitoring]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=69</guid>
		<description><![CDATA[A post on hackaday alerted me to google power meter and them releasing their new powermeter API. This looks pretty cool- especially for my energy monitoring project! Taking a look at the more detailed information it looks like Google have some pretty interesting requirements for devices: Have to be able to do HTTPS (so need SSL) [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;count=none&amp;text=Google%20Powermeter" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;count=none&amp;text=Google%20Powermeter" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;title=Google%20Powermeter" id="wpa2a_2">Share/Bookmark</a></p><p>A post on <a title="Hackaday Google Powermeter Announcement" href="http://hackaday.com/2010/03/04/google-unveils-api-to-powermeter/" target="_blank">hackaday alerted me to google power meter</a> and them releasing their <a title="Google Powermeter API release" href="http://blog.google.org/2010/03/google-powermeter-api-introduced-for.html" target="_blank">new powermeter API</a>. This looks pretty cool- especially for my energy monitoring project!</p>
<p>Taking a look at the <a title="Google powermeter getting started" href="http://code.google.com/apis/powermeter/docs/getting_started.html" target="_blank">more detailed information</a> it looks like Google have some pretty interesting requirements for devices:</p>
<ul>
<li>Have to be able to do HTTPS (so need SSL)</li>
<li>Have to have a webserver on the device (for configuration etc)</li>
</ul>
<p>SSL is going to be the biggest challenge if we choose to go down this route. Once we have SSL the rest should be pretty easy. The concern with the SSL is the size of the stack and whether one can be implemented and fitted on an XMOS core.</p>
<p>Thankfully Google provide some <a title="Google power meter libraries" href="http://code.google.com/apis/powermeter/docs/powermeter_libraries.html" target="_blank">libraries for the power meter implementation</a> of their API which might go a long way to providing an initial solution - again this is going to need to be ported to whichever TCP/IP stack is used and what SSL stack is used. The current C implementation is specifically tailored for Microchip PIC libraries... so to work I guess!!</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;count=none&amp;text=Google%20Powermeter" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;count=none&amp;text=Google%20Powermeter" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fgoogle-powermeter%2F&amp;title=Google%20Powermeter" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/03/05/google-powermeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Energy Monitor &#8211; part 2</title>
		<link>http://www.silly-science.co.uk/2010/03/05/energy-monitor-part-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=energy-monitor-part-2</link>
		<comments>http://www.silly-science.co.uk/2010/03/05/energy-monitor-part-2/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 00:04:41 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Energy Monitoring]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[energy monitoring]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[uart]]></category>
		<category><![CDATA[xc-3]]></category>
		<category><![CDATA[xmos]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=47</guid>
		<description><![CDATA[So, now I hopefully(!) have my cable which will give me access to the UART RX of the CC128 energy monitor. Time to try it out and begin processing some data with it! Firstly, I go to the XMOS website and get the UART code and play around with it to create the UART code [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20part%202" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20part%202" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;title=Energy%20Monitor%20%26%238211%3B%20part%202" id="wpa2a_6">Share/Bookmark</a></p><p>So, now I hopefully(!) have my cable which will give me access to the UART RX of the CC128 energy monitor. Time to try it out and begin processing some data with it!</p>
<p>Firstly, I go to the <a title="XMOS 2 thread UART code" href="http://www.xmos.com/applications/comms/uart-two-threads" target="_blank">XMOS website and get the UART code</a> and play around with it to create the UART code I want (RX only at the moment), compile it and give it a run.</p>
<p>But it's never that simple! All I get are null characters. Odd I think - so I recheck the wiring, recheck the code. All seems to be ok.<br />
<span id="more-47"></span><br />
So I strip down the code to a really simple function- one that just receives a character and prints it out (see the <a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/super_simple_uart_rx.xc">Super Simple UART receive function</a> source file)</p>
<p>I still get null characters - maybe I got the wrong pins? Check again... nope, seems fine. So I decide its time to void the warranty (follow these <a title="Current Cost 'Envi' CC128 teardown" href="http://www.silly-science.co.uk/2010/03/04/current-cost-envi-cc128-teardown/" target="_blank">CC128 teardown instructions</a> at your own risk!).</p>
<p>Turns out there is a bit of solder between a via into the ground plane and the UART TX pin on the RJ45 connector (pin 8). After removing this I connected the XC-3 back up to the device and wah lah- it gives me the first character (a '&lt;') of the XML data string.</p>
<p>Now to get the whole string out - so off I go to re-implement the more complex UART code.</p>
<p>After some battling I got it running!</p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/uart_working.jpg"><img class="aligncenter size-medium wp-image-65" title="UART Data RX working" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/uart_working-300x187.jpg" alt="UART Data RX working" width="300" height="187" /></a>The output looks like the following is in line with the <a title="CC128 Energy Monitor XML Documentation" href="http://www.currentcost.com/cc128/xml.htm" target="_blank">CC128 XML documentation</a>.</p>
<p>Next time... parse the XML and output to somewhere a little more useful!</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20part%202" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20part%202" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F05%2Fenergy-monitor-part-2%2F&amp;title=Energy%20Monitor%20%26%238211%3B%20part%202" id="wpa2a_8">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/03/05/energy-monitor-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Current Cost &#8216;Envi&#8217; CC128 Teardown</title>
		<link>http://www.silly-science.co.uk/2010/03/04/current-cost-envi-cc128-teardown/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=current-cost-envi-cc128-teardown</link>
		<comments>http://www.silly-science.co.uk/2010/03/04/current-cost-envi-cc128-teardown/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 22:11:30 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Energy Monitoring]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Teardown]]></category>
		<category><![CDATA[cc128]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[energy monitor]]></category>
		<category><![CDATA[envi]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=56</guid>
		<description><![CDATA[The "Thats the warranty gone..." aka as a 'teardown' post! With the UART TX not working properly I was forced to open it up... so here is a bit of analysis and some photos of what is inside for the curious! The device is pretty easy to open up - there are 3 clips down [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;count=none&amp;text=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;count=none&amp;text=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;title=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" id="wpa2a_10">Share/Bookmark</a></p><p>The "Thats the warranty gone..." aka as a 'teardown' post!</p>
<p>With the UART TX not working properly I was forced to open it up... so here is a bit of analysis and some photos of what is inside for the curious!</p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04891_small.jpg"><img class="aligncenter size-medium wp-image-53" title="CC128 Board Back" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04891_small-300x200.jpg" alt="CC128 Board Back" width="300" height="200" /></a></p>
<p><span id="more-56"></span></p>
<p>The device is pretty easy to open up - there are 3 clips down each  side of the plastic case. Once those are popped out the front of the unit comes away with the board firmly attached to it. Above is the photo of the board after opening it initially.</p>
<p>This shows a PIC microcontroller (18F85J90) . There is also a receiver module on the board - most likely a ZigBee unit (Current Cost have a Zigbee logo on their website!) . Apart from that there is just the power regulator (a tiny thing on next to the power plug).</p>
<p>It is also interesting to  note that there is a set of footprints that are unpopulated that look like they should be for a transmitter (the big clue is the ANT pad!). This might be the same zigbee configuration, but made up of discrete components as the circuit layout (particularly the LC filter arrangement connected to the antenna!) are remarkably similar. Also, the box is marked RX1 as is the Zigbee module. Maybe this is done as a cost reduction option if the separate modules weren't cheap enough or available?</p>
<p>The rest of the IC's look like memory - so nothing too exciting there.</p>
<p>So to the other side of the board is basically componentless - apart from the LED and the contacts for the display (massive IO hog!) and the buttons.</p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04892_small.jpg"><img class="aligncenter size-medium wp-image-54" title="CC128 Board Front" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04892_small-300x200.jpg" alt="CC128 Board Front" width="300" height="200" /></a></p>
<p>What I did confirm is that the following pins are connected on the RJ45 (there are some others, but I couldn't be bothered to put the effort in at this stage to get the data sheet out for the PIC and work out where they were going!):</p>
<ul>
<li>pin 1 is the unregulated +3V from the power unit</li>
<li>pin 4 goes into the GND plane</li>
<li>pins 7 and 8 are RX and TX</li>
</ul>
<p>What was particularly annoying was the solder bridge (blob really!) I located between pin 8 and the via near it. This explained the 0's I was getting on my data line!</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;count=none&amp;text=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;count=none&amp;text=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F04%2Fcurrent-cost-envi-cc128-teardown%2F&amp;title=Current%20Cost%20%26%238216%3BEnvi%26%238217%3B%20CC128%20Teardown" id="wpa2a_12">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/03/04/current-cost-envi-cc128-teardown/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Energy Monitor &#8211; Part 1</title>
		<link>http://www.silly-science.co.uk/2010/03/03/energy-monitor-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=energy-monitor-part-1</link>
		<comments>http://www.silly-science.co.uk/2010/03/03/energy-monitor-part-1/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 23:20:59 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Energy Monitoring]]></category>
		<category><![CDATA[energy monitoring]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[xc-3]]></category>
		<category><![CDATA[xmos]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=37</guid>
		<description><![CDATA[My energy monitor arrived today! It's working well - I was slightly worried about how good the reception would be for the transmitter, but I am pleasantly surprised that even with the receiver 3 floors above the transmitter it seems to register a good signal. But that's boring - time to start hacking! So, first thing [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20Part%201" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20Part%201" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;title=Energy%20Monitor%20%26%238211%3B%20Part%201" id="wpa2a_14">Share/Bookmark</a></p><p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04890_small.jpg"><img class="alignright size-medium wp-image-38" title="Energy Monitor Display" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04890_small-213x300.jpg" alt="Energy Monitor Display" width="149" height="210" /></a>My energy monitor arrived today! It's working well - I was slightly worried about how good the reception would be for the transmitter, but I am pleasantly surprised that even with the receiver 3 floors above the transmitter it seems to register a good signal.</p>
<p>But that's boring - time to start hacking!</p>
<p>So, first thing I need is the interface cable. The back of the unit has a handy RJ45 connector that has serial in it (see my <a title="Energy Monitoring Ideas post" href="http://www.silly-science.co.uk/2010/02/25/energy-monitoring/" target="_blank">initial energy monitoring post</a>). This needs connecting to my XC-3 kit so that I can begin to get the data out of it. So time to get the soldering iron out!</p>
<p><span id="more-37"></span>So, initially all I need are two wires from the RJ45 network cable (standard network wiring configuration)-</p>
<ul>
<li>Brown = the UART transmit (from the energy monitor)</li>
<li>Blue = ground</li>
</ul>
<p>I soldered the rest of them onto the strip board in case I wish to use them later and it keeps things neat and tidy.</p>
<p>For the moment I am using the the GPIO port on the XC-3, using pin 1 for a 1 bit port (XCore UART RX) and pin 16 is ground. This should give a good base from which to work. Eventually I would like to put it on the LED connectors to keep the GPIO free. The other bonus of using the LED connector is that the output side is buffered up to 5V which is what the UART on the energy monitor needs - though I think I will have a check of the Microchip PIC they use inside and see if it will take 3.3V logic levels.</p>
<p>Next time... getting data into the XC-3</p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04887_small.jpg"><img class="aligncenter size-medium wp-image-39" title="XC-3 and the connection strip board" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04887_small-300x200.jpg" alt="XC-3 and the connection board" width="300" height="200" /></a></p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04888_small.jpg"><img class="aligncenter size-medium wp-image-40" title="Stripboard &quot;Connector&quot;" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04888_small-300x200.jpg" alt="Stripboard &quot;Connector&quot;" width="300" height="200" /></a></p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04889_small.jpg"><img class="aligncenter size-medium wp-image-41" title="XC-3 Connection" src="http://www.silly-science.co.uk/wp-content/uploads/2010/03/DSC04889_small-300x200.jpg" alt="XC-3 Connection" width="300" height="200" /></a></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20Part%201" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;count=none&amp;text=Energy%20Monitor%20%26%238211%3B%20Part%201" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F03%2F03%2Fenergy-monitor-part-1%2F&amp;title=Energy%20Monitor%20%26%238211%3B%20Part%201" id="wpa2a_16">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/03/03/energy-monitor-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Energy Monitoring</title>
		<link>http://www.silly-science.co.uk/2010/02/25/energy-monitoring/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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>The 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 "hmm... this could be something fun to attach to an XCore and get some graphs out of". My thought is to use my XC-3 (or maybe get an [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;count=none&amp;text=Energy%20Monitoring" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;count=none&amp;text=Energy%20Monitoring" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;title=Energy%20Monitoring" id="wpa2a_18">Share/Bookmark</a></p><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 "hmm... this could be something fun to attach to an XCore and get some graphs out of".</p>
<p>My thought is to use my XC-3 (or maybe get an XC-2) to connect to an energy monitor receiver - 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 - 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? - the relationship should be pretty obvious... but I like pretty graphs</li>
<li>Plot the electricity generation stats and calculate my carbon footprint (ooh err!) - 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... the possibilities are endless - 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>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;count=none&amp;text=Energy%20Monitoring" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;count=none&amp;text=Energy%20Monitoring" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F25%2Fenergy-monitoring%2F&amp;title=Energy%20Monitoring" id="wpa2a_20">Share/Bookmark</a></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>XMOS XS-1 Virtual Threads</title>
		<link>http://www.silly-science.co.uk/2010/02/01/xmos-xs-1-virtual-threads/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xmos-xs-1-virtual-threads</link>
		<comments>http://www.silly-science.co.uk/2010/02/01/xmos-xs-1-virtual-threads/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:21:36 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[XCore/XMOS Virtual Threads]]></category>
		<category><![CDATA[context switch]]></category>
		<category><![CDATA[interrupts]]></category>
		<category><![CDATA[xmos]]></category>
		<category><![CDATA[xs-1]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=19</guid>
		<description><![CDATA[The XMOS XS-1 architecture is a multi-threaded architecture. As opposed to normal systems it has a single processor core that can run 8 hardware threads, in real-time with no operating system overhead. But what happens if you run out of threads... 2 answers: either (1) add more cores or (2) virtualize. So I thought I [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;count=none&amp;text=XMOS%20XS-1%20Virtual%20Threads" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;count=none&amp;text=XMOS%20XS-1%20Virtual%20Threads" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;title=XMOS%20XS-1%20Virtual%20Threads" id="wpa2a_22">Share/Bookmark</a></p><p>The XMOS XS-1 architecture is a multi-threaded architecture. As opposed to normal systems it has a single processor core that can run 8 hardware threads, in real-time with no operating system overhead. But what happens if you run out of threads... 2 answers: either (1) add more cores or (2) virtualize.</p>
<p>So I thought I would do option (2) as option (1) is too easy in the XMOS architecture and its not very efficient if I want to run 1MIPs processes on a thread that has 50MIPs available. The code for this is freely available from the <a title="XS-1 Virtual Threads sourceforge page" href="http://sourceforge.net/projects/vthreads/" target="_blank">virtual threads sourceforge page</a>.</p>
<p>More information after the break...</p>
<p><span id="more-19"></span></p>
<p>The base of the system is simple <a title="Wikipedia's explanation of context switching" href="http://en.wikipedia.org/wiki/Context_switching" target="_blank">context switching</a> within a single thread - this allows multiple processes to be run on a single thread. The current implementation has only time-slicing for processes and doesn't currently have any way to handle events, ports or channels in a sensible way. Hopefully this soft of thing will be implemented when I spend some more time on the project.</p>
<p>The tricky things to handle are those which I haven't implemented yet... The risk of deadlocking the whole lot of virtual threads is quite high when working with events or waiting for external stimulus. Essentially a carefully implemented library would have to be used to stop this, but still provide the level of functionality you get using the hardware threads.</p>
<p>Its probably fairly safe to assert that the virtual threads will not ever be able to be as functional as the hardware threads.</p>
<p>So, a summary of current features:</p>
<ul>
<li>Able to start an arbitrary number of virtual threads</li>
<li>Simple time sliced context switching of virtual threads</li>
<li>Ability to disable the interrupt for atomic operation</li>
</ul>
<p>Future features:</p>
<ul>
<li>Context switch on external stimulus</li>
<li>Context switch on demand (so a virtual thread can "release" itself from the current hardware thread)</li>
<li>Implementation of access to events, channel comms, hardware</li>
<li>Call to allocate stack space to vthread</li>
<li>More flexible vthread params (ports, chans, etc)</li>
</ul>
<ul></ul>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;count=none&amp;text=XMOS%20XS-1%20Virtual%20Threads" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;count=none&amp;text=XMOS%20XS-1%20Virtual%20Threads" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F02%2F01%2Fxmos-xs-1-virtual-threads%2F&amp;title=XMOS%20XS-1%20Virtual%20Threads" id="wpa2a_24">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/02/01/xmos-xs-1-virtual-threads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded Traffic Monitor</title>
		<link>http://www.silly-science.co.uk/2009/12/21/embedded-traffic-monitor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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>The 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 256x32 VFD attached to it with a custom board that was designed from another application (hence the buttons/IR sensor you'll notice if you are observant). Full source code is available from the embedded [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;count=none&amp;text=Embedded%20Traffic%20Monitor" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;count=none&amp;text=Embedded%20Traffic%20Monitor" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;title=Embedded%20Traffic%20Monitor" id="wpa2a_26">Share/Bookmark</a></p><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">256x32 VFD</a> attached to it with a custom board that was designed from another application (hence the buttons/IR sensor you'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...</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>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;count=none&amp;text=Embedded%20Traffic%20Monitor" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;count=none&amp;text=Embedded%20Traffic%20Monitor" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2009%2F12%2F21%2Fembedded-traffic-monitor%2F&amp;title=Embedded%20Traffic%20Monitor" id="wpa2a_28">Share/Bookmark</a></p>]]></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>

