<?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>..the cat came back.. &#187; hardware</title>
	<atom:link href="http://blog.automated.it/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.automated.it</link>
	<description>i does tech i does.</description>
	<lastBuildDate>Wed, 25 Nov 2009 08:30:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pictures from Computex 2009</title>
		<link>http://blog.automated.it/2009/06/02/pictures-from-computex-2009/</link>
		<comments>http://blog.automated.it/2009/06/02/pictures-from-computex-2009/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 10:51:56 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[computex]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=218</guid>
		<description><![CDATA[Two of my colleagues are in Taipei again attending Computex 2009 this week and the news is that there appear to be a whole lot of netbooks on view.  As ever Nick is uploading pictures to Picasa so you can get some idea of what&#8217;s about. As the days progress Nick will update the [...]]]></description>
			<content:encoded><![CDATA[<p>Two of my colleagues are in Taipei again attending Computex 2009 this week and the news is that there appear to be a whole lot of netbooks on view. <img class="right" title="Eepc tablet" src="/images/gallery/computex2009/dscf6103_sm.jpg" alt="" width="257" height="193" /> As ever Nick is uploading pictures to <a href="http://picasaweb.google.com/nick.shore/Computex2009Day1" target="_blank">Picasa</a> so you can get some idea of what&#8217;s about. As the days progress Nick will update the images, but it is a slow, slow process. Keep your eyes peeled for the rest of the week &#8211; and make sure you&#8217;re not looking at last years&#8217; pictures by mistake <img src='http://blog.automated.it/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .  Some of you might notice that some things like the Asus Skype phone have been around for a little while. In fact it has been around since September of last year. </p>
<p>Update 1: <a href="http://picasaweb.google.com/nick.shore/Computex2009Day2" target="_blank">More pictures</a> are available.</p>
<p>Update 2: <a href="http://picasaweb.google.com/nick.shore/Computex2009Day3" target="_blank">Pictures from day 3</a> are available now.</p>
<p>Update 3: <a href="http://picasaweb.google.com/nick.shore/Computex2009Day4" target="_blank">Pictures from day 4</a> are available now. There are also some shots of <a href="http://picasaweb.google.com/nick.shore/Taipei02" target="_blank">Taipei</a></p>

<br><a href=http://blog.automated.it/2009/06/02/pictures-from-computex-2009/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F&amp;title=Pictures+from+Computex+2009" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2009%2F06%2F02%2Fpictures-from-computex-2009%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2009/06/02/pictures-from-computex-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G1 Assault on battery</title>
		<link>http://blog.automated.it/2009/04/25/g1-assault-on-battery/</link>
		<comments>http://blog.automated.it/2009/04/25/g1-assault-on-battery/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 22:27:44 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[Google Phone]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=215</guid>
		<description><![CDATA[I know I&#8217;m late to the party but a few days ago I received a small package containing a T-Mobile G1 phone running Android. The first thing I did was go to unlock-now to get myself a SIM unlock code. After submitting my details and paying up the 17.50 EUR it was just a case [...]]]></description>
			<content:encoded><![CDATA[<p>I know I&#8217;m late to the party but a few days ago I received a small package containing a <a href="http://www.t-mobile.co.uk/shop/mobile-phones/phones/pay-monthly/t-mobile/g1-black/overview/" target='blank'>T-Mobile</a> G1 phone running <a href="http://www.android.com/" target='blank'>Android</a>. The first thing I did was go to <a href="http://dream.unlock-now.com/sim-unlock-T-Mobile-G1/" target='blank'>unlock-now</a> to get myself a SIM unlock code. After submitting my details and paying up the 17.50 EUR it was just a case of waiting for the email, about 3 hours in my case. The email details <img src="http://blog.automated.it/images/gallery/g1/g1image.png" alt="G1" />everything you need to know when unlocking, particularly useful is the info on setting up a new APN which you&#8217;ll need to do if you aren&#8217;t using <a href="http://www.t-mobile.co.uk/shop/mobile-phones/phones/pay-monthly/t-mobile/g1-black/overview/" target='blank'>T-Mobile</a> as your carrier. My <a href="http://www.o2.co.uk/iphone/paygo" target='blank'>O2 PAYG</a> SIM from my <a href="http://www.apple.com/iphone/" target='blank'>iPhone</a> worked fine and soon the G1 was syncing happily with gmail. One of the things that struck me about the G1 was all the negative comment on it&#8217;s size and feel that I&#8217;d read in various blogs and reviews. Personally I couldn&#8217;t see and issue with either the thickness of the device or the the look and feel of it and I wasn&#8217;t alone in that. I really don&#8217;t see what all the &#8216;complaints&#8217; were about. </p>
<p>One of the things I had heard though, that I can confirm, is the poor battery life. Without installing any extra software the only real control over the G1&#8217;s power management seems limited to turning off the GPS or WiFi. However, there is a ray of light. After installing <a href="http://nettogo.net/powermanager/" target='blank'>Power Manager</a> things improved immensely but it still wasn&#8217;t enough. The solution I settled on was to buy an extended, 2400mAh, battery which came with a replacement back. The battery is physically 2 or 3 times the thickness of the original, which is why you get a replacement and the end result is a device that&#8217;s about as thick as a <a href="http://www.nokia.co.uk/" target='blank'>NOKIA</a> N95.  </p>
<p>So why didn&#8217;t I wait for a G2? Simple really. The G1 has a wonderful physical keyboard. I really can&#8217;t stand on screen keyboards, perhaps I&#8217;m a minority.</p>
<p> Of course the other reason that I wont be getting a G2 is that Vodafone are capping both daily and monthly usage when you sign up &#8211; 15mb / day and 500mb a month. Perhaps everyone at Vodafone still uses a 6310? Maybe they just don&#8217;t like the G2 or <a href="http://www.android.com/" target='blank'>Android</a>. Who knows?</p>
<p>Update (Sunday 10th May) : G1 Running cupcake has been running for 3 days with the extended battery and no charging!</p>

<br><a href=http://blog.automated.it/2009/04/25/g1-assault-on-battery/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F&amp;title=G1+Assault+on+battery" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2009%2F04%2F25%2Fg1-assault-on-battery%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2009/04/25/g1-assault-on-battery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gratifying Graphic Gizmos</title>
		<link>http://blog.automated.it/2009/03/01/gratifying-graphic-gizmos/</link>
		<comments>http://blog.automated.it/2009/03/01/gratifying-graphic-gizmos/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 08:47:37 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[1-Wire]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[Pachube]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=207</guid>
		<description><![CDATA[Yesterday the Current Cost unit actually got installed for real, something I was dreading. Dreading not because it was a difficult thing to do but simply because I expected the figure it would show would be terrible. Guess what, it wasn&#8217;t. In fact it seemed to be fairly close to that of other people who [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday the <a href=http://www.currentcost.com/ target=_new>Current Cost</a> unit actually got installed for real, something I was dreading. Dreading not because it was a difficult thing to do but simply because I expected the figure it would show would be terrible. Guess what, it wasn&#8217;t. In fact it seemed to be fairly close to that of other people who are monitoring theirs. The initial figure of 371 Watts didn&#8217;t last too long once the dishwasher and oven came on and an interesting spike appeared when the hob went on for the kettle. </p>
<p><img class="left" title="Current Cost Graph" src="/images/gallery/environment/small_69.png" alt="" width="387" height="166" /><br />
<br/><br />
Continuing with my sudden graphing fetish, as well as using a Current Cost unit I have dotted a number of little devices I&#8217;ve built with <a href='http://www.digi.com/products/wireless/zigbee-mesh/' target=_new>Xbee</a> and <a href='http://arduino.cc' target=_new>Arduinos</a> to measure temperatures (and other things)  around the house. More information on those will come out later, but it&#8217;s an interesting project too. </p>
<p>Since I have the data for those it&#8217;d be rude not to graph them too, there&#8217;s a sample in the thumbnails below.</p>
<p>Not content with graphing them locally I picked up a <a href=http://www.pachube.com target=_new>Pachube</a> invite and started graphing data there too. The process is simple really and as you can see on the right hand side of this page under &#8216;Graphy Stuff&#8217;, graph images can be embedded in your own or other sites. The really interesting thing about Pachube is that you can <a href=http://www.pachube.com/feeds/1498 target=_new>share</a> your data with people who may be interested. The data they get to see is delayed by approximately 15 minutes. If you output your data in the <a href=http://community.pachube.com/?q=node/127>eeml</a> format then you can specify your own tags too.</p>
<p><a title="Electricity Usage Graph" rel="thumbnail" href="http://blog.automated.it/images/gallery/environment/graph_69_1.png"><img src="http://blog.automated.it/images/gallery/environment/thumb_graph_69_1.png" alt="Electricity Usage Graph" width="176" height="64" /></a><a title="Temperature in the garage" rel="thumbnail" href="http://blog.automated.it/images/gallery/environment/graph_70_1.png"><img src="http://blog.automated.it/images/gallery/environment/thumb_graph_70_1.png" alt="Temperature in the garage" width="176" height="64" /></a><br />
<br/></p>

<br><a href=http://blog.automated.it/2009/03/01/gratifying-graphic-gizmos/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F&amp;title=Gratifying+Graphic+Gizmos" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2009%2F03%2F01%2Fgratifying-graphic-gizmos%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2009/03/01/gratifying-graphic-gizmos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current Cost Capers</title>
		<link>http://blog.automated.it/2009/02/13/current-cost-capers/</link>
		<comments>http://blog.automated.it/2009/02/13/current-cost-capers/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 09:38:06 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[monitoring]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=205</guid>
		<description><![CDATA[My Unbioctium Current Cost CC128 arrived on Thursday and although I&#8217;m not going to actually get a chance in install it for a couple of weeks I did have a play. The first thing to do once it was all up and paired with the base was get the output into my laptop. To do [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href=http://shop.ebay.co.uk/?_nkw=unbioctium target=_new><del datetime="2009-02-13T08:41:13+00:00">Unbioctium</del></a> <a title="Current Cost" href="http://www.currentcost.com/" target="_blank">Current Cost</a> CC128 arrived on Thursday and although I&#8217;m not going to actually get a chance in install it for a couple of weeks I did have a play. The first thing to do once it was all up and paired with the base was get the output into my laptop. To do this you will need to buy the data cable or <a href=http://e.inste.in/2008/06/15/interfacing-the-currentcost-meter-to-your-pc/ target=_new>make</a> up your own&#8230;</p>
<p>At first I tried to be smart with reading from the serial port, as that seems to be a bit unreliable I fell back on the old tried and tested method. I also decided from the outset that I was going to parse the XML that the the CC128  spat out rather than just filter the bits needed with regexp.</p>
<p>You will need to make sure you have the perl modules Device::SerialPort and XML::Simple installed. If you don&#8217;t have them then as root on your linux box do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">perl -MCPAN -e shell</pre></div></div>

<p>then install each module, for example Device::SerialPort,</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">install Device::SerialPort</pre></div></div>

<p>and here&#8217;s the script which is also available for <a href=/files/cc-128.txt target=_new>download</a>.<em>Updated to make it more reliable</em>.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> Device<span style="color: #339933;">::</span><span style="color: #006600;">SerialPort</span> <span style="color: #000066;">qw</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">:</span>PARAM <span style="color: #339933;">:</span>STAT <span style="color: #cc66cc;">0.07</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> XML<span style="color: #339933;">::</span><span style="color: #006600;">Simple</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">$port</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/dev/ttyUSB0&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">$ob</span> <span style="color: #339933;">=</span> Device<span style="color: #339933;">::</span><span style="color: #006600;">SerialPort</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$port</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;Can not open port $port<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ob</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">baudrate</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">57600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ob</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">write_settings</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ob</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">close</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># using XML::Parser speeds xml parsing up lots!</span>
<span style="color: #0000ff;">$backend</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'XML::Parser'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$ENV</span><span style="color: #009900;">&#123;</span>XML_SIMPLE_PREFERRED_PARSER<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$backend</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># we use this to only do 1 iteration (or not)</span>
<span style="color: #0000ff;">$escape</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span>SERIAL<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;&lt;$port&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$escape</span> <span style="color: #339933;">&lt;=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000066;">sleep</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$line</span> <span style="color: #339933;">=</span> <span style="color: #009999;">&lt;SERIAL&gt;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;"># for debug</span>
		<span style="color: #666666; font-style: italic;">#print $line;</span>
&nbsp;
		<span style="color: #0000ff;">$isValid</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">index</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$line</span><span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;&lt;msg&gt;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #0000ff;">$isValid</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">last</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;This data is&quot;</span>.<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$isValid</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">?</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #339933;">:</span><span style="color: #ff0000;">&quot; not&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #ff0000;">&quot; valid<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;"># force XML::Simple to see this as a string not as a file</span>
		<span style="color: #666666; font-style: italic;"># since XML::Simple is stupid and needs to be shot</span>
&nbsp;
		<span style="color: #0000ff;">$line</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;&lt;fakeTag&gt;$line&lt;/fakeTag&gt;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #0000ff;">$isHistoric</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">index</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$line</span><span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;&lt;hist&gt;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #0000ff;">$nref</span> <span style="color: #339933;">=</span> XMLin<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$line</span><span style="color: #339933;">,</span>forcearray <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #0000ff;">$ref</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$nref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>msg<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;"># just for reference, show if data is historic or not</span>
&nbsp;
		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;This data is&quot;</span>.<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$isHistoric</span><span style="color: #339933;">==</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">?</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #339933;">:</span><span style="color: #ff0000;">&quot; not&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #ff0000;">&quot; historic<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #0000ff;">$isHistoric</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
	        	<span style="color: #0000ff;">$dsb</span>        <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>dsb<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        		<span style="color: #0000ff;">$recordTime</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span><span style="color: #000066;">time</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        		<span style="color: #0000ff;">$ccname</span>     <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>src<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        		<span style="color: #0000ff;">$temp</span>       <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>tmpr<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
			<span style="color: #0000ff;">$ch1watts</span>   <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>ch1<span style="color: #009900;">&#125;</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>watts<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
			<span style="color: #0000ff;">$sensor</span>     <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>sensor<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
			<span style="color: #0000ff;">$id</span>         <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>id<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
			<span style="color: #0000ff;">$type</span>       <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>type<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">defined</span> <span style="color: #0000ff;">$ref</span><span style="color: #339933;">-&gt;</span><span style="color: #009900;">&#123;</span>whatever<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
				<span style="color: #666666; font-style: italic;"># do something based on whatever</span>
&nbsp;
			<span style="color: #009900;">&#125;</span>
&nbsp;
        		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;This $ccname was born $dsb days ago as at $recordTime - temperature is: $temp :: Current Watts in use on channel 1 are $ch1watts :: Sensor is $sensor, with an id of $id and a type of $type<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;"># for cacti you'd probably just want to output CC_Temperature:$temp CC_Watts1:$ch1watts </span>
&nbsp;
			<span style="color: #666666; font-style: italic;"># insert data into db</span>
&nbsp;
			<span style="color: #666666; font-style: italic;"># if you want to exit after a 'good' iteration set this to 1 otherwise set it to 0 (or don't change it to 1 :) );</span>
			<span style="color: #0000ff;">$escape</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">#process or ignore historic data</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066;">close</span><span style="color: #009900;">&#40;</span>SERIAL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>and here&#8217;s some example output, remember that I haven&#8217;t actually connected the loop around my electrical cable as yet.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">This data is not historic
This CC128-v0.11 was born 1 days ago as at 21:16:44 - temperature is: 23.7 :: Watts used on channel 1 are 0 :: Sensor is 0, with an id of 02835 and a type of 1</pre></div></div>

<p>Historic data isn&#8217;t processed at the moment but it would be trivial to do. I&#8217;m not processing it since I don&#8217;t really see the point if you&#8217;re going to store the results in a database.</p>

<br><a href=http://blog.automated.it/2009/02/13/current-cost-capers/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F&amp;title=Current+Cost+Capers" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F13%2Fcurrent-cost-capers%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2009/02/13/current-cost-capers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One Wireduino made easy</title>
		<link>http://blog.automated.it/2009/02/04/one-wireduino-made-easy/</link>
		<comments>http://blog.automated.it/2009/02/04/one-wireduino-made-easy/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 21:46:25 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[1-Wire]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=204</guid>
		<description><![CDATA[For a very long time now I&#8217;ve been playing with the Arduino boards but it wasn&#8217;t until I recently discovered some DS1820 1-wire chips in my parts box that I started even thinking about 1-wire stuff. Connecting 1-wire devices to the Arduino is, well, amazingly simple. Using the sample circuit from the datasheet we can [...]]]></description>
			<content:encoded><![CDATA[<p>For a very long time now I&#8217;ve been <a href="http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/" target="_new">playing</a> with the <a title="Arduino" href="http://www.arduino.cc/" target="_blank">Arduino</a> boards but it wasn&#8217;t until I recently discovered some <a title="DS1820 (replacements)" href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3021" target="_blank">DS1820</a> 1-wire chips in my parts box that I started even thinking about 1-wire stuff. Connecting 1-wire devices to the Arduino is, well, amazingly simple. Using the sample circuit from the datasheet we can see the connections are few and far between.</p>
<p style="text-align: center;"><img class="aligncenter" title="DS1820 Circuit" src="/images/gallery/1wire/ds1820-circuit.png" alt="" width="415" height="135" /></p>
<p>Please note that this is the corrected circuit, previously the VDD was not tied to ground. While the circuit would work it would only give reliable results on very short runs. This circuit allows longer runs to the sensor.</p>
<p>Coding this up is also made extremely easy with the OneWire library. I&#8217;ve put together a little application below that will read all of the 1-wire devices on a bus. If you press L in the Arduino IDE serial monitor it will list all the 1-Wire device id&#8217;s and if you press T you&#8217;ll get the id and temperature reading.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
</pre></td><td class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/*
Simple 1-wire device reading
&nbsp;
Pass T over serial to get temperatures
Pass L to list 1-wire devices
&nbsp;
*/</span>
<span style="color: #339933;">#include &lt;OneWire.h&gt;</span>
<span style="color: #339933;">#include &lt;stdio.h&gt;</span>
&nbsp;
<span style="color: #339933;">#define CONVERT     0x44</span>
<span style="color: #339933;">#define READSCRATCH 0xBE</span>
<span style="color: #339933;">#define SKIP_ROM    0xCC</span>
<span style="color: #339933;">#define MATCH_ROM   0x55</span>
&nbsp;
OneWire  ds<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// The DS18S20 is connected on pin 10</span>
<span style="color: #993333;">int</span> ledPin <span style="color: #339933;">=</span> <span style="color: #0000dd;">13</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// flash an led on 13 - we all like flashing lights</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// initialize inputs/outputs</span>
  <span style="color: #666666; font-style: italic;">// start serial port</span>
  Serial.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  pinMode<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> OUTPUT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">//we'll use the led to output a heartbeat</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">int</span> incomingByte <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>Serial.<span style="color: #202020;">available</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// read the incoming byte:</span>
		incomingByte <span style="color: #339933;">=</span> Serial.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// say what you got:</span>
		<span style="color: #666666; font-style: italic;">//Serial.print(&quot;I received: &quot;);</span>
		<span style="color: #666666; font-style: italic;">//Serial.println(incomingByte, DEC);</span>
                <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>incomingByte <span style="color: #339933;">==</span> <span style="color: #0000dd;">84</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                  getStuff<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                  Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>^&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>incomingByte <span style="color: #339933;">==</span> <span style="color: #0000dd;">76</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                   listDevices<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> listDevices<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  byte addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  ds.<span style="color: #202020;">reset_search</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>ds.<span style="color: #202020;">search</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
     digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// sets the LED on</span>
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> OneWire<span style="color: #339933;">::</span><span style="color: #202020;">crc8</span><span style="color: #009900;">&#40;</span> addr<span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>   <span style="color: #009900;">&#123;</span>
         <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #208080;">0x10</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #666666; font-style: italic;">// Make sure it is a DS18S20 device</span>
            <span style="color: #993333;">char</span> buffer<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">512</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
            sprintf<span style="color: #009900;">&#40;</span>buffer<span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;Id:%02x%02x%02x%02x%02x%02x%02x%02x<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>
                       addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">3</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">4</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
                       addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">5</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
              Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>buffer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
    Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">'^'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> getStuff<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  byte i<span style="color: #339933;">;</span>
  byte present <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  byte data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">12</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  byte addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> buff<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">15</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">float</span> real_temp<span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #993333;">float</span> temp_count<span style="color: #339933;">;</span>
  <span style="color: #993333;">float</span> read_temp<span style="color: #339933;">;</span> 
&nbsp;
  ds.<span style="color: #202020;">reset_search</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>ds.<span style="color: #202020;">search</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>  <span style="color: #009900;">&#123;</span>
&nbsp;
     digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> HIGH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// sets the LED on</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> OneWire<span style="color: #339933;">::</span><span style="color: #202020;">crc8</span><span style="color: #009900;">&#40;</span> addr<span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span>  <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// Check CRC is valid</span>
        Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;CRC is not valid&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #208080;">0x10</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>   <span style="color: #666666; font-style: italic;">// Make sure it is a DS18x20 device</span>
      Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Device is not a DS18x20 family device.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    ds.<span style="color: #202020;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// Reset device</span>
    ds.<span style="color: #202020;">select</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// Select device</span>
    ds.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span>CONVERT<span style="color: #339933;">,</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// Issue Convert command </span>
&nbsp;
    delay<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// maybe 750ms is enough, maybe not</span>
    digitalWrite<span style="color: #009900;">&#40;</span>ledPin<span style="color: #339933;">,</span> LOW<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// sets the LED off</span>
&nbsp;
    present <span style="color: #339933;">=</span> ds.<span style="color: #202020;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// Reset device</span>
    ds.<span style="color: #202020;">select</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// Select device</span>
    ds.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span>READSCRATCH<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// Read Scratchpad</span>
&nbsp;
    <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span> i <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #0000dd;">9</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  <span style="color: #666666; font-style: italic;">// we need 9 bytes</span>
          data<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> ds.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>OneWire<span style="color: #339933;">::</span><span style="color: #202020;">crc8</span><span style="color: #009900;">&#40;</span> data<span style="color: #339933;">,</span> <span style="color: #0000dd;">8</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  <span style="color: #666666; font-style: italic;">// Check CRC is valid</span>
&nbsp;
      <span style="color: #666666; font-style: italic;">// CRC is ok</span>
      <span style="color: #666666; font-style: italic;">// Divide the temperature by 2 - note the » and</span>
      <span style="color: #666666; font-style: italic;">// « need to be replaced with double &lt; and &gt;</span>
      <span style="color: #666666; font-style: italic;">// wordpress kills the server when you try to </span>
      <span style="color: #666666; font-style: italic;">// save otherwise.</span>
      read_temp<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span>«<span style="color: #0000dd;">8</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> » <span style="color: #0000dd;">1</span> <span style="color: #339933;">;</span>
     <span style="color: #666666; font-style: italic;">// Convert to real temperature</span>
      temp_count<span style="color: #339933;">=</span><span style="color: #993333;">float</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">-</span> data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">6</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">float</span><span style="color: #009900;">&#41;</span>data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      real_temp <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">float</span><span style="color: #009900;">&#41;</span>read_temp<span style="color: #339933;">-</span><span style="color:#800080;">0.25</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span>temp_count<span style="color: #339933;">;</span>
&nbsp;
       <span style="color: #666666; font-style: italic;">// Convert float to ascii</span>
      tempToAscii<span style="color: #009900;">&#40;</span>real_temp<span style="color: #339933;">,</span>buff<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #993333;">char</span> buffer<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">512</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
      sprintf<span style="color: #009900;">&#40;</span>buffer<span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;%02x%02x%02x%02x%02x%02x%02x%02x %s<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span>
                  addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">3</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">4</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
                  addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">5</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">6</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> buff<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      Serial.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>buffer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span>    <span style="color: #009900;">&#123;</span>
       Serial.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;CRC Failed&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>    
&nbsp;
<span style="color: #993333;">void</span> tempToAscii<span style="color: #009900;">&#40;</span><span style="color: #993333;">double</span> temp<span style="color: #339933;">,</span> <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>buff<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">int</span> frac<span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">//get three numbers to the right of the decimal point</span>
  frac<span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">unsigned</span> <span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>temp<span style="color: #339933;">*</span><span style="color: #0000dd;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span><span style="color:#800080;">1000</span><span style="color: #339933;">;</span>
  itoa<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">int</span><span style="color: #009900;">&#41;</span>temp<span style="color: #339933;">,</span>buff<span style="color: #339933;">,</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  strcat<span style="color: #009900;">&#40;</span>buff<span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #666666; font-style: italic;">//put the frac after the decimal</span>
  itoa<span style="color: #009900;">&#40;</span>frac<span style="color: #339933;">,&amp;</span>amp<span style="color: #339933;">;</span>buff<span style="color: #009900;">&#91;</span>strlen<span style="color: #009900;">&#40;</span>buff<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>There&#8217;s also a copy of the .pde file that you can <a title="download file" href="http://blog.automated.it/files/ds18s20.pde" target="_blank">download</a> if you feel more inclined. It&#8217;s not an exact copy, I removed the commented out xml for the above version. It&#8217;s worth pointing out that this circuit is using what is called parasitic power, which means your cable run should be shortish. If you want to use an external power supply then pin 3 (VDD) on the DS18S20 should go to your external supply. This would allow for much longer runs of cable. Below is an example graph generated by <a title="Cacti" href="http://www.cacti.net/" target="_blank">cacti</a> with 2 DS1820&#8217;s connected the the arduino. As you can see the temperatures aren&#8217;t exactly the same but this is to be expected since the accuracy of the DS1820 is +/- 0.5 ° C</p>
<p style="text-align: center;"><img class="aligncenter" style="margin-left: 30px; margin-right: 30px;" title="Example Graph" src="/images/gallery/1wire/example_graph.png" alt="" width="367" height="304" /></p>
<p>The breaks in the graph were caused my me removing the USB plug from the PC it was connected to so that I could make some minor alterations to the circuit.</p>
<p><a href=http://blog.automated.it/2009/02/04/one-wireduino-made-easy/#comments>Josh</a> asked how I was getting the input for Cacti, here&#8217;s the perl script I use</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
&nbsp;
<span style="color: #0000ff;">$output</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">`echo -en &quot;T&quot; &gt;&gt;/dev/ttyUSB0 &amp;&amp; cat /dev/ttyUSB0`</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #0000ff;">@lines</span> <span style="color: #339933;">=</span> <span style="color: #000066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/\r\n/</span><span style="color: #339933;">,</span><span style="color: #0000ff;">$output</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$t</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #0000ff;">$line</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">@lines</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
       <span style="color: #0000ff;">@spl</span> <span style="color: #339933;">=</span> <span style="color: #000066;">split</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/\s+/</span><span style="color: #339933;">,</span><span style="color: #0000ff;">$line</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #0000ff;">$lc</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">@spl</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$lc</span> gt <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>	
                <span style="color: #0000ff;">$node</span><span style="color: #339933;">=</span><span style="color: #0000ff;">$spl</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #0000ff;">$val</span><span style="color: #339933;">=</span><span style="color: #0000ff;">$spl</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;Temperature_$node:$val &quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #0000ff;">$t</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>This outputs <em>Temperature_x:n</em> where x is the 1-Wire id and n is the temperature. It could probably do with tidying up and if you wanted to you could pass the 1-Wire id to the script to and only output the temperature for that particular 1-Wire device. A copy of the exported Cacti template can be <a href="/files/cacti_arduino.xml" target=_new>downloaded</a>, I&#8217;m hoping that you just need to import that into your Cacti after placing the script in the scripts directory. Just remember, under linux, if you unplug and replug in your Arduino you may need to set the tty port speed to 9600 (or whatever you put in your Serial.begin(); ). You can use the following command for that;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">stty</span> <span style="color: #660033;">-F</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>ttyUSB0 cs8 <span style="color: #000000;">9600</span> ignbrk <span style="color: #660033;">-brkint</span> <span style="color: #660033;">-icrnl</span> <span style="color: #660033;">-imaxbel</span> <span style="color: #660033;">-opost</span> <span style="color: #660033;">-onlcr</span> <span style="color: #660033;">-isig</span> <span style="color: #660033;">-icanon</span> <span style="color: #660033;">-iexten</span> <span style="color: #660033;">-echo</span> <span style="color: #660033;">-echoe</span> <span style="color: #660033;">-echok</span> <span style="color: #660033;">-echoctl</span> <span style="color: #660033;">-echoke</span> noflsh <span style="color: #660033;">-ixon</span> <span style="color: #660033;">-crtscts</span></pre></td></tr></table></div>

<p>Make sure that ttyUSB0 is what your Arduino is connected to first. If not you will need to change it in the perl script and on the line above. </p>

<br><a href=http://blog.automated.it/2009/02/04/one-wireduino-made-easy/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F&amp;title=One+Wireduino+made+easy" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2009%2F02%2F04%2Fone-wireduino-made-easy%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2009/02/04/one-wireduino-made-easy/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Meet JO Black</title>
		<link>http://blog.automated.it/2008/11/01/meet-jo-black/</link>
		<comments>http://blog.automated.it/2008/11/01/meet-jo-black/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 14:37:24 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[IMIV]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=195</guid>
		<description><![CDATA[Having the IMIV in the car makes driving around much more fun but up until recently I had my iPhone and prior to that my iPod Classic flapping about on the passenger seat. It worked but wasn&#8217;t particularly elegant and of course the moment I had a passenger in the 
car there was a problem. [...]]]></description>
			<content:encoded><![CDATA[<p>Having the <a title="IMIV" href="http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/">IMIV</a> in the car makes driving around much more fun but up until recently I had my <a href="http://www.apple.com/iphone/" target='blank'>iPhone</a> and prior to that my iPod Classic flapping about on the passenger seat. It worked but wasn&#8217;t particularly elegant and of course the moment I had a passenger in the <img class="right" title="JO Black" src="/images/gallery/joblack/joblack_inline.jpg" alt="" width="200" height="267" /><br />
car there was a problem. This week I finally broke and decided to sort out the problem. To be honest I was looking for something cheap and functional. A quick search lead me to the JO BLACK from <a title="x castro" href="http://www.x-castro.com/" target="_blank">x castro</a> design. This is a rather simple frame with what I can only describe as a bulldog clip on the back. The JO works rather simply. You squeeze the clip to open it and slip it onto one of your car air vents. Your iPod or <a href="http://www.apple.com/iphone/" target='blank'>iPhone</a> or other device slips into it, gently held by the neoprene arms. The arms can be bent to allow more or less grip, so, although it seems to be an <a href="http://www.apple.com/iphone/" target='blank'>iPhone</a> or iPod holder it isn&#8217;t just that, it can safely hold pretty much any handheld device &#8211; within reason of course. The fact that it has an open base means I can have the IMIV cable connected with no issues.</p>
<p>The JO is available with the neoprene in one of 7 colours, the base frame is always black but the colour range is varied enough for most tastes.</p>
<p>If you&#8217;re looking for a passive holder for your phone or music player then for the money the JO series suit. One thing I did notice when looking at the pricing on <a title="x castro" href="http://www.x-castro.com/" target="_blank">their site</a> compared to <a href="http://www.amazon.co.uk/gp/product/B001HKROD8?ie=UTF8&amp;tag=thcacaba-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B001HKROD8">Amazon</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.co.uk/e/ir?t=thcacaba-21&amp;l=as2&amp;o=2&amp;a=B001HKROD8" border="0" alt="" width="1" height="1" /> was that although the x castro site and Amazon prices matched (after shipping), there seemed to be no way to select the free shipping for the UK. The 3 options in the dropdown box all added more to the price.</p>
<p><a title="Front" rel="thumbnail" href="http://blog.automated.it/images/gallery/joblack/fjoblackIMG_0105.JPG"><img src="http://blog.automated.it/images/gallery/joblack/thumb_joblackIMG_0105.JPG" alt="Front view" width="32" height="48" /></a><a title="Front" rel="thumbnail" href="http://blog.automated.it/images/gallery/joblack/fjoblackIMG_0108.JPG"><img src="http://blog.automated.it/images/gallery/joblack/thumb_joblackIMG_0108.JPG" alt="Front view" width="32" height="48" /></a><a title="Side" rel="thumbnail" href="http://blog.automated.it/images/gallery/joblack/fjoblackIMG_0109.JPG"><img src="http://blog.automated.it/images/gallery/joblack/thumb_joblackIMG_0109.JPG" alt="Side view" width="32" height="48" /></a><a title="Angle side" rel="thumbnail" href="http://blog.automated.it/images/gallery/joblack/fjoblackIMG_0112.JPG"><img src="http://blog.automated.it/images/gallery/joblack/thumb_joblackIMG_0112.JPG" alt="Angle side" width="32" height="48" /></a><a title="With battery" rel="thumbnail" href="http://blog.automated.it/images/gallery/joblack/fjoblackIMG_0110.JPG"><img src="http://blog.automated.it/images/gallery/joblack/thumb_joblackIMG_0110.JPG" alt="With battery" width="32" height="48" /></a></p>

<br><a href=http://blog.automated.it/2008/11/01/meet-jo-black/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F&amp;title=Meet+JO+Black" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F11%2F01%2Fmeet-jo-black%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/11/01/meet-jo-black/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tesco DVD Player Region Hack</title>
		<link>http://blog.automated.it/2008/10/11/tesco-dvd-player-region-hack/</link>
		<comments>http://blog.automated.it/2008/10/11/tesco-dvd-player-region-hack/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 11:28:50 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Region Hack]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=192</guid>
		<description><![CDATA[In the UK Tesco are selling a sub £20 DVD player &#8211; the Tecknika DVD 1033. It looks cheap, it looks nasty but it works very well indeed and what&#8217;s more you can make it region free. I really don&#8217;t know how they build these things so cheaply and I do worry that small children [...]]]></description>
			<content:encoded><![CDATA[<p>In the UK Tesco are selling a sub £20 DVD player &#8211; the Tecknika DVD 1033. It looks cheap, it looks nasty but it works very well indeed and what&#8217;s more you can make it region free. I really don&#8217;t know how they build these things so cheaply and I do worry that small children might have been involved. Anyway, here&#8217;s how you make your Tecknika DVD 1033 region free.<br />
<span id="more-192"></span><br />
1. Power On</p>
<p>2. Open the tray</p>
<p>3. Press the &#8217;setup&#8217; key</p>
<p>4. Press the fast forward key ( &#8216;>>&#8217; )</p>
<p>5. Type 9735 on the keypad</p>
<p>6. In the top right corner you will see a &#8216;2&#8242; this is your current region. Use the left and right arrow keys to change the region. If you make this &#8216;0&#8242; (zero) your player will be region free. </p>
<p>7. Press &#8217;setup&#8217; to exit the setup menu.</p>
<p>8. Play your DVD&#8217;s <img src='http://blog.automated.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is a sticky fix, meaning that if you power the player off and then back on it will still be set to the region (or freeness) prior to the power off.</p>

<br><a href=http://blog.automated.it/2008/10/11/tesco-dvd-player-region-hack/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F&amp;title=Tesco+DVD+Player+Region+Hack" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F10%2F11%2Ftesco-dvd-player-region-hack%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/10/11/tesco-dvd-player-region-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ecobutton waste</title>
		<link>http://blog.automated.it/2008/09/08/ecobutton-waste/</link>
		<comments>http://blog.automated.it/2008/09/08/ecobutton-waste/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 17:02:57 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=99</guid>
		<description><![CDATA[Today we had a delivery of the ecobutton at work and I got to play with it a little. This USB device plugs into your PC and magically ecourages you to save electricity by putting said PC to sleep if you leave your desk (if you remember to push it). That&#8217;s the theory of it [...]]]></description>
			<content:encoded><![CDATA[<p>Today we had a delivery of the <a title="eco trash" href="http://www.eco-button.com/" target="_blank">ecobutton</a> at work and I got to play with it a little. <img class="left" title="Ohhh it glows" src="/images/ecoballs.png" alt="" width="230" height="307" />This USB device plugs into your PC and magically ecourages you to save electricity by putting said PC to sleep if you leave your desk (if you remember to push it). That&#8217;s the theory of it anyway. The trouble is I have a big problem with it. It&#8217;s not just that this device is made of plastic, probably the cheap nasty kind that kills you if you look at it in the wrong way. It&#8217;s not that it&#8217;s made in China, which means it either got to me via a cargo ship or an aeroplane spewing CO2 as it travelled thousands of miles. It&#8217;s not that it uses electricity while it&#8217;s sitting there doing nothing. It&#8217;s not even that it looks like it cost 30p ($0.52 ish) to make but sells for about £7 ($12.35 ish). The big problem with this device is the implementation. You know what it does? When you press the ecobutton it does this:<br />
<span id="more-99"></span><br />
<center><img class="aligncenter" title="Winders Key" src="/images/winblows.png" alt="" width="157" height="41" align="top" /></center></p>
<p><span></p>
<p></span></p>
<p>which brings up the Windows &#8216;Run&#8217; dialog, it pauses for a second or two and then <span style="text-decoration: underline;"><strong>types</strong></span> <em>&#8220;ecobutton&#8221;</em> and a <em>carriage return</em> which, as you may have guessed, runs the ecobutton application which puts yor PC to sleep. Why would anyone who had more than one brain cell think that it was a good idea? Seriously why? Even if you were going to do this why would you do it in such a retarded way. I&#8217;m not a Windows programmer but I have done enough to know that mapping global hotkeys is trivial. Doing it that way would at least ensure that using the device on any other operating system would also be trivial.</p>
<p>The ecobutton may work as a reminder but then so would a sticker or a punch to the head both of which are preferrable to this shoddy POS. Don&#8217;t forget to plant 5 trees to offet the carbon used to make this and get it to your door or, again the more preferable alternative,  don&#8217;t buy it.</p>

<br><a href=http://blog.automated.it/2008/09/08/ecobutton-waste/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F&amp;title=Ecobutton+waste" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F09%2F08%2Fecobutton-waste%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/09/08/ecobutton-waste/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>My Acer &#8216;Macbook&#8217;</title>
		<link>http://blog.automated.it/2008/06/17/my-acer-macbook/</link>
		<comments>http://blog.automated.it/2008/06/17/my-acer-macbook/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 20:06:58 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=54</guid>
		<description><![CDATA[Over the weekend I decided to take a little look at one of the latest incarnations of OSX to see what all the fuss was about. One of the real problems with OSX is that under normal circumstances you have to shell out at least 399 GBP before you even get to try it out. [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend I decided to take a little look at one of the latest incarnations of OSX to see what all the fuss was about. One of the real problems with OSX is that under normal circumstances you have to shell out at least 399 GBP before you even get to try it out. If you don&#8217;t like it or can&#8217;t get on with it you&#8217;re out nearly 400 big ones and who wants to risk that?</p>
<p>There are of course ways around this and I took the plunge with a <a title="Kalyway 10.5.2" href="http://forum.insanelymac.com/index.php?showtopic=77069" target="_blank">Kalyway 10.5.2 iso</a>. My <img class="right" style="vertical-align: middle;" src="http://blog.automated.it/images/mbp-apple.jpg" alt="Macbook Pro (15 Inch)" width="278" height="160" />laptop is an <a title="Acer 3690 Series Linux Status" href="http://www.automated.it/acer/acer3692.html" target="_blank">Acer Aspire 3692 WLMI</a> which originally came with an 80GB hard drive which I have already upgraded to a 160GB drive. Since I was only going to be testing this out I wasn&#8217;t about to erase my current linux install. I dusted off the the old 80GB drive and swapped it out with the 160GB drive and kicked off the install. I actually did the install a couple of times to get used to how Mac people do stuff.<br />
<span id="more-54"></span><br />
Some things just worked, my little <a title="Trust BT2400P" href="http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/" target="_blank">Trust BT2400p</a> bluetooth dongle, WiFi, Audio, Graphics all just worked. I was floored.  Of course there were a few things that didn&#8217;t work but they don&#8217;t work under linux either, namely the Orbicam and the internal card reader &#8211; neither of which I really give a stuff about.</p>
<p style="text-align: right;"><span class=left>
<div id="video1" class="flashvideo">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript">
var s1 = new SWFObject("http://blog.automated.it/wp-content/plugins/flash-video-player/mediaplayer.swf","n1","320","260","7");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addVariable("javascriptid","n1");
s1.addVariable("height","260");
s1.addVariable("width","320");
s1.addVariable("image","http://blog.automated.it//images/acer-book-splash.jpg");
s1.addVariable("searchbar","false");
s1.addVariable("screencolor","0x000000");
s1.addVariable("overstretch","true");
s1.addVariable("showeq","false");
s1.addVariable("showicons","true");
s1.addVariable("shownavigation","true");
s1.addVariable("showstop","false");
s1.addVariable("showndigits","true");
s1.addVariable("showdownload","false");
s1.addVariable("usefullscreen","true");
s1.addVariable("autoscroll","false");
s1.addVariable("displayheight","240");
s1.addVariable("thumbsinplaylist","true");
s1.addVariable("autostart","false");
s1.addVariable("bufferlength","3");
s1.addVariable("repeat","false");
s1.addVariable("rotatetime","5");
s1.addVariable("shuffle","false");
s1.addVariable("smoothing","true");
s1.addVariable("volume","80");
s1.addVariable("enablejs","true");
s1.addVariable("linkfromdisplay","false");
s1.addVariable("linktarget","_self");
s1.addVariable("searchlink","http://search.longtail.tv/?q=");
s1.addVariable("file","http://blog.automated.it//video/acer-book.flv");
s1.write("video1");
</script>
</span></p>
<p><em>Actually this install boots slower than the original Kalyway 10.5.1 install I had a few hours earlier. Sorry about the dumb auto focus on the camera &#8211; or is it a Steve Jobs distortion field?</p>
<p></em></p>
<p>Obviously the multimedia buttons don&#8217;t work and rather annoyingly the scrolling button (between the left and right mouse buttons) doesn&#8217;t work either. Sleep mode seems to need a bit of work. Well, it&#8217;s not the sleeping, it&#8217;s the waking up &#8211; it just doesn&#8217;t. One other thing I did notice was how quick my laptop boots with OSX, it beats my SuSe 10.2 install into a cocked hat.</p>
<p>While most things worked fine I do still have one concern &#8211; compatability. Compatability not with Windows, but with linux. Everything I do now is done using linux and I need to be able to continue doing those things if I were to switch to a Mac. So far things are looking good. Right now I&#8217;m just off to create my own .mac service&#8230;</p>

<br><a href=http://blog.automated.it/2008/06/17/my-acer-macbook/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F&amp;title=My+Acer+%26%238216%3BMacbook%26%238217%3B" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F17%2Fmy-acer-macbook%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/06/17/my-acer-macbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freerunner production&#8230;</title>
		<link>http://blog.automated.it/2008/06/05/freerunner-production/</link>
		<comments>http://blog.automated.it/2008/06/05/freerunner-production/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 17:16:59 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[freerunner]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[openmoko]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=52</guid>
		<description><![CDATA[Go! Go! Go!
&#8220;The latest update I have from the factory indicates that mass Production (that means running the SMT line without stopping to check stuff every two seconds) has been CLEARED TO START.&#8221;

WooHoo!!













]]></description>
			<content:encoded><![CDATA[<p><a title="WooHoo" href="http://lists.openmoko.org/pipermail/community/2008-June/018575.html" target="_blank">Go! Go! Go!</a></p>
<p><em><strong>&#8220;The latest update I have from the factory indicates that mass Production (that means running the SMT line without stopping to check stuff every two seconds) has been CLEARED TO START.&#8221;<br />
</strong></em></p>
<p>WooHoo!!</p>

<br><a href=http://blog.automated.it/2008/06/05/freerunner-production/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F&amp;title=Freerunner+production%26%238230%3B" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F05%2Ffreerunner-production%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/06/05/freerunner-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Computex 2008 Pictures</title>
		<link>http://blog.automated.it/2008/06/04/computex-2008-pictures/</link>
		<comments>http://blog.automated.it/2008/06/04/computex-2008-pictures/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 11:26:39 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[FIC]]></category>
		<category><![CDATA[GPS]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=51</guid>
		<description><![CDATA[A couple of my colleagues are currently in Taipei attending Computex 2008. There seem to be quite a few eeepc clones and look alikes. Nick is uploading photos to Picasa if you want to take a look &#8211; there&#8217;s an eeepc album too. Unfortuneately it&#8217;s a fairly slow process since it appears he can only [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of my colleagues are currently in Taipei attending Computex 2008. There seem to be quite a few eeepc clones and look alikes. <img style="vertical-align: bottom;" src="http://blog.automated.it/images/computex08/sm_gigabyte.jpg" alt="Gigabyte " width="267" height="200" />Nick is uploading photos to <a title="Picasa" href="http://picasaweb.google.com/nick.shore/" target="_blank">Picasa</a> if you want to take a look &#8211; there&#8217;s an <a title="eeepc" href="http://picasaweb.google.com/nick.shore/ComputexDay2EeePc" target="_blank">eeepc</a> album too. Unfortuneately it&#8217;s a fairly slow process since it appears he can only upload 5 pictures at a time for some odd reason. ASUS also have a neat GPS unit (R710) with an optional HUD, though he wasn&#8217;t sure if some sort of film would be needed on your windscreen to be sure of contrast. There are a couple of pictures of it in the <a title="GPS Album" href="http://picasaweb.google.com/nick.shore/ComputexDay2GpsStuff" target="_blank">GPS</a> album. There are some exciting new products appearing so keep an eye out for updates.  He also stopped by the FIC stand to ask about the Freerunner and <a href="http://wiki.openmoko.org/wiki/Main_Page" target='blank'>Openmoko</a> but, in his words:</p>
<p><em><strong>&#8220;I asked and they said no very dismissively&#8221;</strong></em></p>
<p>which is a huge shame really. They may be different companies (FIC is the parent iirc) but they really should at least try to fein enthusiasm &#8211; this is a trade show after all , they are supposed to be trying to get people interested in product. It simply reflects badly on FIC imho.</p>

<br><a href=http://blog.automated.it/2008/06/04/computex-2008-pictures/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F&amp;title=Computex+2008+Pictures" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F06%2F04%2Fcomputex-2008-pictures%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/06/04/computex-2008-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is 3g an important feature?</title>
		<link>http://blog.automated.it/2008/04/07/is-3g-an-important-feature/</link>
		<comments>http://blog.automated.it/2008/04/07/is-3g-an-important-feature/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 10:34:49 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://blog.automated.it/?p=45</guid>
		<description><![CDATA[A discussion started yesterday on the irc channel with regard to 3g. Most people had made their mind up but we really wanted to see what others thought too. So, to find out how everyone else feels here is a little, totally unofficial poll.













]]></description>
			<content:encoded><![CDATA[<p>A discussion started yesterday on the irc channel with regard to 3g. Most people had made their mind up but we really wanted to see what others thought too. So, to find out how everyone else feels here is a little, totally unofficial poll.</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.

<br><a href=http://blog.automated.it/2008/04/07/is-3g-an-important-feature/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F&amp;title=Is+3g+an+important+feature%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F04%2F07%2Fis-3g-an-important-feature%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/04/07/is-3g-an-important-feature/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>How long does yours stay up?</title>
		<link>http://blog.automated.it/2008/03/08/how-long-does-yours-stay-up/</link>
		<comments>http://blog.automated.it/2008/03/08/how-long-does-yours-stay-up/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 22:51:29 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[neo 1973]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2008/03/08/how-long-does-yours-stay-up/</guid>
		<description><![CDATA[Ok, we all know that the Neo 1973 GTA01 power management isn&#8217;t quite there yet but we&#8217;ve had the recent good news that NXP have made the user manual available for the PCF50633;
&#8220;We have carefully reconsidered how to best serve the OpenMoko community in supporting our PCF50633 product, and our decision has been to allow [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, we all know that the Neo 1973 GTA01 power management isn&#8217;t quite there yet but we&#8217;ve had the recent good news that <a href="http://www.nxp.com" title="nxp" target="_blank">NXP</a> have made the user manual available for the <em>PCF50633;</em></p>
<p>&#8220;<em>We have carefully reconsidered how to best serve the <a href="http://wiki.openmoko.org/wiki/Main_Page" target='blank'>OpenMoko</a> community in supporting our PCF50633 product, and our decision has been to allow you to publish the full User Manual on the <a href="http://wiki.openmoko.org/wiki/Main_Page" target='blank'>OpenMoko</a> website. This is more effective for the development community then having to reference to 2 documents, being the DS already sent to you and the addendum containing the register description. We therefore prefer that the full UM get&#8217;s published. The Company Confidential notice has been removed.  We hope to see the successful application of our device and hope to see many <a href="http://wiki.openmoko.org/wiki/Main_Page" target='blank'>OpenMoko</a> products in the market, using our PCF50633.</em>&#8221;</p>
<p>So really, we should have hundreds of pairs of eyes looking at this for the GTA02. Anyway, in the meantime I&#8217;ve been testing out a little battery pack,  <img src="http://blog.automated.it/images/gallery/usbpower/usbpower-inout.jpg" alt="usb power" align="middle" height="250" width="250" />supplied by <a href="http://www.portablepowersupplies.co.uk/usbliionbatterypack.htm" title="Poertable Power Supplies" target="_blank">Portable Power Supplies</a> in the UK, which is charged and charges via USB ports. Just the ticket for the Neo GTA01. The unit takes an initial, approximate 6 hours to charge and can be done from a standard USB port on a desktop or laptop. There is also a wall charger available but this obviously bumps up the price. Once charged the unit will happily sit there for months at a time doing nothing, which makes for a good emergency backup. Of course the battery pack will not indicate to the Neo that it can do fast charging but it is capable of doing so &#8211; indeed it can serve up a healthy 700ma &#8211; but that problem is solved by Bobby Martin (wurp2 irc nick) who  has produced a <a href="http://wiki.openmoko.org/wiki/CheckFastCharge-script" title="fast charge force" target="_blank">python application</a> to help out. This little application allows you to force the Neo to do fast charging (draw 500ma). Obviously by doing this you override the safety checks, but as I already know that the battery pack is capable of serving more than the Neo will take there&#8217;s really no risk here. So far my Neo has been running off it for more than 24 hours and I&#8217;d expect it to go on for a lot longer too. This is going to mean that I don&#8217;t have to turn off my Neo to save power, especially when I do those overnight trips to and from The Netherlands. I&#8217;ll update here when the battery eventually dies, I&#8217;m expecting at least 3 or 4 days but we&#8217;ll see.</p>
<p><strong> update:</strong> <em>at about 4am this morning the Neo had managed to suck the life out of the battery pack and its own battery. This is horrific,  showing  just how thirsty a  Neo is.  The total  time ended up at about 30 hours, but I&#8217;m going to rerun the test  to be sure</em>.</p>
<p><strong>update 2:</strong> <em>I&#8217;ve repeated the test 2 more times now and the results are very similar, sadly.</em></p>
<p><a href="http://blog.automated.it/images/gallery/usbpower/usbpower-3tips.jpg" rel="thumbnail" title="Standard tips"><img src="http://blog.automated.it/images/gallery/usbpower/thumb_usbpower-3tips.jpg" alt="Standard Tips" height="48" width="64" /></a><a href="http://blog.automated.it/images/gallery/usbpower/usbpower-extratips.jpg" rel="thumbnail" title="Extra tips"><img src="http://blog.automated.it/images/gallery/usbpower/thumb_usbpower-extratips.jpg" alt="Extra tips" height="48" width="64" /></a><a href="http://blog.automated.it/images/gallery/usbpower/usbpower-pack.jpg" rel="thumbnail" title="Power pack"><img src="http://blog.automated.it/images/gallery/usbpower/thumb_usbpower-pack.jpg" alt="Power pack" height="48" width="64" /></a><a href="http://blog.automated.it/images/gallery/usbpower/usbpower-button.jpg" rel="thumbnail" title="Power pack button"><img src="http://blog.automated.it/images/gallery/usbpower/thumb_usbpower-button.jpg" alt="Power pack button" height="48" width="64" /></a></p>

<br><a href=http://blog.automated.it/2008/03/08/how-long-does-yours-stay-up/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F&amp;title=How+long+does+yours+stay+up%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F03%2F08%2Fhow-long-does-yours-stay-up%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/03/08/how-long-does-yours-stay-up/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>USB Controlled RGB Blob</title>
		<link>http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/</link>
		<comments>http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 15:46:42 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[arduino]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/</guid>
		<description><![CDATA[I recently came across a little project which would turn on an LED box when there was mail your gmail account. I thought it was quite interesting and, since I&#8217;d had an Arduino Diecimila in my laptop bag for about 6 months and not touched it, I decided to replicate it. The idea was simply [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across a <a title="gmail notifier" href="http://www.j4mie.org/2008/02/15/how-to-make-a-physical-gmail-notifier/" target="_blank">little project</a> which would turn on an LED box when there was mail your gmail account. I thought it was quite interesting and, since I&#8217;d had an <a title="arduino" href="http://www.arduino.cc/" target="_blank">Arduino </a><a title="diecimila" href="http://www.arduino.cc/en/Main/ArduinoBoardDiecimila" target="_blank">Diecimila</a> in my laptop bag for about 6 months and not touched it, I decided to replicate it. The idea was simply to get used to how the Arduino board worked, the project in itself isn&#8217;t exactly going to push anyone to their limit. I was right, the code was basically in the examples there was nothing to do. Since we&#8217;re selling our house lots of my electronics development stuff has ended up in the loft. I went for a rummage and found some little RGB light globes that a local garden centre had been trying to sell off cheaply at a couple of Euros each. Undoing the screws on the base of the globe revealed a very simple <img class="right" src="http://blog.automated.it/images/arduino-board.jpg" alt="Arduino board" width="217" height="151" align="middle" /></p>
<p>design, I&#8217;d just need to tap into the LEDs and disconnect the chip they used. Before any of this was going to happen I needed to build some sort of prototype to at least be sure that the concept was going to work. Since I didn&#8217;t have any RGB LEDs or even one of each red, green and blue I had to settle for a small LED board that had come from an old piece of equipment that I&#8217;d bought, literally, just for the parts. There was a slight problem. The led board was red, green and errm&#8230; orange. It didn&#8217;t really matter at this stage, I was only proving the code and making sure that I could get the whole idea to work before destroying the perfectly useless light globes.</p>
<p>The software side was also fairly straight forward too. In the end I used the <a title="serial messages" href="http://www.arduino.cc/playground/Code/SimpleMessageSystem" target="_blank">SimpleMessageSystem</a> library to handle the serial data since I kept running into issues with the standard serial I/O routines. The SimpleMessageSystem routines basically use white space as variable separators and a &lt;CR&gt; to signify the end of input.</p>
<p align="center">
<div id="video3" class="flashvideo">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript">
var s3 = new SWFObject("http://blog.automated.it/wp-content/plugins/flash-video-player/mediaplayer.swf","n3","320","260","7");
s3.addParam("allowfullscreen","true");
s3.addParam("allowscriptaccess","always");
s3.addVariable("javascriptid","n3");
s3.addVariable("height","260");
s3.addVariable("width","320");
s3.addVariable("image","http://blog.automated.it//images/gallery/arduino/orbandarduino.jpg");
s3.addVariable("searchbar","false");
s3.addVariable("screencolor","0x000000");
s3.addVariable("overstretch","true");
s3.addVariable("showeq","false");
s3.addVariable("showicons","true");
s3.addVariable("shownavigation","true");
s3.addVariable("showstop","false");
s3.addVariable("showndigits","true");
s3.addVariable("showdownload","false");
s3.addVariable("usefullscreen","true");
s3.addVariable("autoscroll","false");
s3.addVariable("displayheight","240");
s3.addVariable("thumbsinplaylist","true");
s3.addVariable("autostart","false");
s3.addVariable("bufferlength","3");
s3.addVariable("repeat","false");
s3.addVariable("rotatetime","5");
s3.addVariable("shuffle","false");
s3.addVariable("smoothing","true");
s3.addVariable("volume","80");
s3.addVariable("enablejs","true");
s3.addVariable("linkfromdisplay","false");
s3.addVariable("linktarget","_self");
s3.addVariable("searchlink","http://search.longtail.tv/?q=");
s3.addVariable("file","http://blog.automated.it//video/arduino-globe.flv");
s3.write("video3");
</script>
</p>
<p>Each of the colour channels can have a value between 0 (zero) and 255 which gives a lot of variation. There&#8217;s also the option to pulse the mixed colours.</p>
<p>Initially I was just going to have the 3 LEDs change to their relative brightness but then I hit on the idea of having them fade up and down to the correct value. I have to say it looks much better with the gradual change, although I might just add the option of selecting either gradual or instant to the parameter list.</p>
<p>Now, with a simple command, I can set the RGB value of my light globe.</p>
<p>./rgb-globe -l -b 9600 -p/dev/ttyUSB0 -s &#8220;1 255 50 0&#8243;</p>
<p>The original code for the command line application came from <a title="todbot" href="http://todbot.com/blog/" target="_blank">Tod Kurt</a> and was written to be able to send serial data to the Arduino. I did make some modifications, including a couple of virtual slappings of Tod for using strcpy &#8211; I still don&#8217;t understand why people don&#8217;t pretend that function just does not exist.</p>
<p>I&#8217;m considering writing a small GTK application  that just has a colour picker to select colours, but that would be in addition to the command line application since this is designed to be used from things like scripts or mail and IM notifications or, as I suspect mine will, build status information for my <a href="http://wiki.openmoko.org/wiki/Main_Page" target='blank'>Openmoko</a> buildhost. The only real issue at the moment is that it&#8217;s really not bright enough, I think I need to rethink the orb &#8211; maybe it&#8217;ll be better at night&#8230;</p>
<p><a title="The globe/orb (anyone seen Mork?)" rel="thumbnail" href="http://blog.automated.it/images/gallery/arduino/orb.jpg"><img src="http://blog.automated.it/images/gallery/arduino/thumb_orb.jpg" alt="The globe/orb" width="64" height="48" /></a><a title="The globe/orb and Arduino board" rel="thumbnail" href="http://blog.automated.it/images/gallery/arduino/orbandarduino.jpg"><img src="http://blog.automated.it/images/gallery/arduino/thumb_orbandarduino.jpg" alt="The globe/orb connected to the Arduino board" width="64" height="48" /></a></p>

<br><a href=http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F&amp;title=USB+Controlled+RGB+Blob" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F02%2F18%2Fusb-controlled-rgb-blob%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/02/18/usb-controlled-rgb-blob/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tiny bluetooth adapter</title>
		<link>http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/</link>
		<comments>http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 00:07:01 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/</guid>
		<description><![CDATA[Earlier in the week someone mentioned the Trust 2400p Bluetooth adapter to me. This little device is tiny and is designed to be installed in a free USB port and then &#8220;forgotten&#8221; about. I have no idea how well or badly these would function under linux but I&#8217;m quite happy to go out and grab [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Earlier in the week someone mentioned the <a href="http://www.trust.com/products/product_detail.aspx?item=15542" title="Trust 2400p" target="_blank">Trust 2400p</a> Bluetooth adapter to me. This little<img src="http://blog.automated.it/images/2400p.jpg" class="right" alt="Tiny bt-2400p" align="left" height="175" width="210" /> device is tiny and is designed to be installed in a free USB port and then &#8220;forgotten&#8221; about. I have no idea how well or badly these would function under linux but I&#8217;m quite happy to go out and grab one, particularly as the price works out at about £10 / 14 EUR. Since my Acer laptop didn&#8217;t come with Bluetooth this should fit nicely in one of the rear USB ports. My only concern is that when using Bluetooth adaptors before I&#8217;ve had issues with the wifi dropping out.</p>
<p align="left"><em><strong>update </strong></em>I&#8217;ve just snagged myself one of these from a local shop. My SuSe 10.2 install saw it immediately and kbluetooth reported it as<strong> </strong>Bluetooth 2.0 + EDR which, in theory, should give 3Mbit /sec.</p>
<p><strong><em>Update 2</em></strong>  This device uses hci_usb as the driver. It&#8217;s based on the Cambridge Silicon chipset.</p>
<p><a href="http://blog.automated.it/images/gallery/trust/laptop-2400.jpg" rel="thumbnail" title="Trust BT-2400p plugged in"><img src="http://blog.automated.it/images/gallery/trust/thumb_laptop-2400.jpg" alt="Trust BT-2400p plugged into the back of a laptop" height="48" width="64" /></a><a href="http://blog.automated.it/images/gallery/trust/battery-2400.jpg" rel="thumbnail" title="Trust BT-2400p next to an AA battery"><img src="http://blog.automated.it/images/gallery/trust/thumb_battery-2400.jpg" alt="Trust BT-2400p next to an AA battery" height="48" width="69" /></a></p>

<br><a href=http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F&amp;title=Tiny+bluetooth+adapter" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F20%2Ftiny-bluetooth-adapter%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/01/20/tiny-bluetooth-adapter/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>IMIV = Music to my ears</title>
		<link>http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/</link>
		<comments>http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 19:47:24 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/</guid>
		<description><![CDATA[I&#8217;ll admit it, I&#8217;m a Volvo driver. I don&#8217;t care who knows it, I love my S80. Recently I decided that I could really do with a decent stash of music for my long trips that I&#8217;m making every couple of weeks between the UK and Netherlands.  For the longest time I&#8217;d been struggling [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll admit it, I&#8217;m a <a href="http://www.volvocars.co.uk/models/s80/" title="Volvo" target="_blank">Volvo</a> driver. I don&#8217;t care who knows it, I love my S80. Recently I decided that I could really do with a decent stash of music for my long trips that I&#8217;m making every couple of weeks between the UK and Netherlands.  For the longest time I&#8217;d been struggling with getting CD&#8217;s out of their cases for the single cd, or fighting with the CD Changer jumping  at the slightest bump. <img src="http://blog.automated.it/images/imiv.jpg" alt="IMIV" align="middle" height="184" width="150" />I finally caved in and purchased an <a href="http://imiv.ca" title="imiv" target="_blank">IMIV</a> unit so I could connect an <a href="http://www.apple.com/ipodclassic/" title="ipod" target="_blank">iPod</a> and  control it from the stock Volvo head unit. So far it&#8217;s working really well, although I seem to have the knack of putting it into firmware upgrade mode. I&#8217;m going to email the developers to see if it&#8217;s possible to disable the headunit trigger of an update. I&#8217;m pretty sure I&#8217;m never going to upgrade while in motion which means I&#8217;ll have access to the physical unit to switch to update mode.  The interesting thing about the IMIV is that you can get it to pretend to be various different devices, mine presents itself to the car as a Mini-disc changer and TV input. This means that I can still have the CD Changer working just by using the IMIV pass through port.</p>
<p>Itunes sucks as it is, but since I don&#8217;t use Macs or Windows  it means I can&#8217;t use that for my music. It&#8217;s a bit of a blessing in reality. There are a number of applications for Linux which allow you to manage your iPod, in the end I went with the simple to use, opensource  <a href="http://www.gnu.org/software/gnupod/" title="gnupod" target="_blank">gnupod</a> Perl scripts. The best part of these scripts is the ability to use regex for generating the playlists, something that&#8217;s very important with the IMIV.</p>
<p>The IMIV  will only work with MELBUS (Mitsubishi Electronics Bus) based Volvo systems, newer Volvos (XC90, new  model S40/V50/C70 and S80)  use MOST  which is apparently fiber optic  based.<strong><font color="black" face="verdana" size="2"><a title="workwith" name="workwith" id="workwith"></a></font></strong></p>

<br><a href=http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F&amp;title=IMIV+%3D+Music+to+my+ears" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2008%2F01%2F19%2Fimiv-music-to-my-ears%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2008/01/19/imiv-music-to-my-ears/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tux thou hast forsaken me</title>
		<link>http://blog.automated.it/2007/12/11/tux-thou-hast-forsaken-me/</link>
		<comments>http://blog.automated.it/2007/12/11/tux-thou-hast-forsaken-me/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 12:44:00 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2007/12/11/tux-thou-hast-forsaken-me/</guid>
		<description><![CDATA[I&#8217;d been planning to get myself, or at least persuade my wife get me, a tux droid which looks like an interesting piece of hardware to play with. The tux droid has is a wireless penguin which, for a change, only works with Linux. I&#8217;m pretty sure you could use cygwin or something if you [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d been planning to get myself, or at least persuade my wife get me, a <a href="http://www.tuxisalive.com" target="_blank">tux droid</a> which looks like an interesting piece of hardware to play with. The tux droid has is a wireless penguin which, for a change, only works with Linux. I&#8217;m pretty sure you could use <a href="http://www.cygwin.com" target="_blank">cygwin</a> or something if you were a Windows user, but I&#8217;m not so I don&#8217;t honestly care and obviously I haven&#8217;t actually tried it.</p>
<p>Sadly they appear to have just added 20 euro (an increase of nearly 25.5%) to the price for no apparent reason. I suspect they are just trying to cash in on Christmas &#8211; A pretty poor show if you ask me. So no Tux for me.</p>

<br><a href=http://blog.automated.it/2007/12/11/tux-thou-hast-forsaken-me/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F&amp;title=Tux+thou+hast+forsaken+me" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2007%2F12%2F11%2Ftux-thou-hast-forsaken-me%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2007/12/11/tux-thou-hast-forsaken-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freak charge failure?</title>
		<link>http://blog.automated.it/2007/11/16/freak-charge-failure/</link>
		<comments>http://blog.automated.it/2007/11/16/freak-charge-failure/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 09:55:56 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[neo 1973]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2007/11/16/freak-charge-failure/</guid>
		<description><![CDATA[After getting a little frantic over my Neo battery life it appears that it has magically cured itself. I had decided that I&#8217;d try to eliminate the software side of thing as a cause for my charging issue. Rolling back to a 20071109 version of one of my own builds showed that the Neo was [...]]]></description>
			<content:encoded><![CDATA[<p>After getting a little frantic over my Neo battery life it appears that it has magically cured itself. I had decided that I&#8217;d try to eliminate the software side of thing as a cause for my charging issue. Rolling back to a 20071109 version of one of my <a href="http://buildhost.automated.it/OM2007.2/" target="_blank">own builds</a> showed that the Neo was charging perfectly, rolling forward again and it was still happily charging.</p>
<p>Having left it running all night sampling the battery voltage once a second with no failure or reboot, I&#8217;m convinced that it was just a freak failure.</p>
<p>Hopefully other people monitoring their battery using the same method will report their findings so we can see if there is any sort of pattern in this.</p>

<br><a href=http://blog.automated.it/2007/11/16/freak-charge-failure/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F&amp;title=Freak+charge+failure%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F16%2Ffreak-charge-failure%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2007/11/16/freak-charge-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neo Battery Failure?</title>
		<link>http://blog.automated.it/2007/11/15/neo-battery-failure/</link>
		<comments>http://blog.automated.it/2007/11/15/neo-battery-failure/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 12:51:28 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[neo 1973]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2007/11/15/neo-battery-failure/</guid>
		<description><![CDATA[I&#8217;m a little worried about my Neo 1973, or more precisely it&#8217;s battery. We all know that the Neo doesn&#8217;t last particularly  long with its battery, even after powering down, unless you take the battery out for a few minutes first. The problem started a few days about when my Neo seemed to reboot [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a little worried about my Neo 1973, or more precisely it&#8217;s battery. We all know that the Neo doesn&#8217;t last particularly  long with its battery, even after powering down, unless you take the battery out for a few minutes first. The problem started a few days about when my Neo seemed to reboot itself for no apparent reason. I noticed it about three times and thought nothing of it. Until now that is. I&#8217;m wondering how many times and for how long the battery can take being plugged into my laptop, getting charged and discharged on an almost daily basis.  I&#8217;m trying to work it out, my Neo arrived on July 31 2007, If I estimate 1 charge / discharge per day that comes out at only 107 recharges, which is surely well under the life of a battery?</p>
<p>Looking at the graph below it appears that my battery is not charging while the Neo is powered up, or at least, it&#8217;s only getting enough charge to keep it at a fairly static level &#8211; ie not actually charging over what it takes to run the device.</p>
<p style="text-align: center"><img src="http://blog.automated.it/images/neovoltage2.jpg" /></p>
<p>    <strong>I&#8217;ve Updated the graph because the Neo lost its charge competely, the graph should show this clearly and seems to  mirror the results from <a href="http://rabenfrost.net/openmoko/battvolt2.png" target="_new">here</a></strong></p>
<p>I used a simple bash script to check for the voltage from</p>
<p><em>/sys/devices/platform/s3c2410-i2c/i2c-adapter/i2c-0/0-0008/battvolt</em></p>
<p>every second and then dump it to a file on my laptop. The Neo was plugged in via usb. To me the graph, measured over an hour, looks like it&#8217;s falling.</p>
<p>So it looks like either my battery and/or the charging circuit is damaged or I&#8217;m reading the data wrongly. I&#8217;m going to run the battery monitor for a day or so, or at least until the neo reboots itself. Once that is done I&#8217;ll put the second battery that I got with the advanced kit  and see how that does in the same tests.</p>

<br><a href=http://blog.automated.it/2007/11/15/neo-battery-failure/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F&amp;title=Neo+Battery+Failure%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F15%2Fneo-battery-failure%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2007/11/15/neo-battery-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting the Neo 1973 from SD</title>
		<link>http://blog.automated.it/2007/11/12/booting-the-neo-1973-from-sd/</link>
		<comments>http://blog.automated.it/2007/11/12/booting-the-neo-1973-from-sd/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 08:42:12 +0000</pubDate>
		<dc:creator>ScaredyCat / Andy Powell</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[neo 1973]]></category>
		<category><![CDATA[openmoko]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[qtopia]]></category>
		<category><![CDATA[u-boot]]></category>

		<guid isPermaLink="false">http://blog.automated.it/2007/11/12/booting-the-neo-1973-from-sd/</guid>
		<description><![CDATA[After a somewhat lengthy session trying to get a Neo to boot from and image on SD I&#8217;ve finally managed to get it working.  It took so long because u-boot is broken.  Having taken the risk of flashing u-boot many times I finally found one that works properly and, after flashing, the Neo [...]]]></description>
			<content:encoded><![CDATA[<p>After a somewhat lengthy session trying to get a <a href="http://www.openmoko.com" target="_blank">Neo</a> to boot from and image on SD I&#8217;ve finally managed to get it working.  It took so long because u-boot is broken.  Having taken the risk of flashing u-boot many times I finally found <a href="http://buildhost.automated.it/u-boot-good-for-sd-boot-r13_0_2632_0.bin" target="_blank">one that works</a> properly and, after flashing, the Neo booted perfectly from SD. Sadly for one person, also trying to achieve the same on their Neo, they have a brick after flashing a bad u-boot. Incidentally, when I say &#8216;booted perfectly&#8217; what I really mean is it part booted and then I got a kernel panic. This was caused by it not being able to mount the root partition which although I&#8217;d created as ext2 didn&#8217;t work. A quick reformat as ext3, a recopy of the appropriate files, and it booted without issue.</p>
<p>The good news is that I now have a dual booting Neo with <a href="http://trolltech.com/products/qtopia" target="_blank">Qtopia</a> and <a href="http://wiki.openmoko.org/" target="_blank">Openmoko</a>, although I don&#8217;t know how badly  booting like this this will affect the current very poor battery life. At least I can now test either as I want without flashing I might even buy myself a bigger SD card and partition it off and have a number of bootable versions, who knows maybe <a href="http://www.android.com" target="_blank">Android</a> will get on there.</p>

<br><a href=http://blog.automated.it/2007/11/12/booting-the-neo-1973-from-sd/><p><img style='float:right;margin-left:15px;margin-bottom:10px;' src='http://blog.automated.it/images/tccb.png' border='0'></a></p><br>

<br><span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F&amp;title=Booting+the+Neo+1973+from+SD" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
<a href="http://twitter.com/home?status=Currently reading http%3A%2F%2Fblog.automated.it%2F2007%2F11%2F12%2Fbooting-the-neo-1973-from-sd%2F" title="Click to send this page to Twitter!" target="_blank"><img src="http://www.twitter.com/favicon.ico" width="16" height="16" alt="[Twitter]" /></a>
</span><br><br>]]></content:encoded>
			<wfw:commentRss>http://blog.automated.it/2007/11/12/booting-the-neo-1973-from-sd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
