<?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>loz's blog &#187; computers</title>
	<atom:link href="http://loz.loz-n-ali.com/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://loz.loz-n-ali.com</link>
	<description>the random key presses of an infinite monkey</description>
	<lastBuildDate>Sat, 03 Apr 2010 18:56:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Arduinophone</title>
		<link>http://loz.loz-n-ali.com/2010/04/03/arduinophone/</link>
		<comments>http://loz.loz-n-ali.com/2010/04/03/arduinophone/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 18:56:12 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduinophone]]></category>
		<category><![CDATA[stylophone]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=273</guid>
		<description><![CDATA[<p>Having just picked up an arduino starter kit (the ARDX kit from oomlout) i had finished working through the example circuits.  I played around with writing some custom code to drive some of the circuits in the kit and had a little fun.  I now wanted to design my own circuit and code completely, as [...]]]></description>
			<content:encoded><![CDATA[<p>Having just picked up an arduino starter kit (the ARDX kit from <a href="http://www.oomlout.co.uk">oomlout</a>) i had finished working through the example circuits.  I played around with writing some custom code to drive some of the circuits in the kit and <a href="http://www.youtube.com/watch?v=uY4il0gOiUc">had a little fun</a>.  I now wanted to design my own circuit and code completely, as that&#8217;s really what the arduino is for.  Hacking up a circuit and some code for the micro-controller to drive it.</p>
<p>It&#8217;s note the biggest leap from the simple switch test circuit and the piezo music circuit to construct a stylophone.  So that&#8217;s what I did.  <a href="http://www.youtube.com/watch?v=hpkW5Wu6plk">The results can be seen in this youtube video</a>, and for those interested the following circuit diagram should prove helpful in reconstructing such a project with your own arduino:</p>
<div id="attachment_276" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-276 " title="Arduinophone Circuit" src="http://loz.loz-n-ali.com/wp-content/uploads/2010/04/ardionophone.png" alt="Circuit Diagram" width="500" height="296" /><p class="wp-caption-text">Circuit Diagram</p></div>
<p>Finally the actual code for the arduino is pretty simple, and relies on the known tone durations for the piezo from other experiements.  The code can be found below.  It basically loops over the input pins (2-9) and checks to see if any are LOW (they are all HIGH by default because of the circuit layout).  If one is low, it calls a playTone function for the related note.  It will play the tone until the corresponding pin registers as HIGH again (i.e the stylus is removed).  The LOW signal is produce by the shorting of the circuit to he GROUND pin via the stylus, rather than the input pin.</p>
<p>Enjoy.</p>
<h2>The Code:</h2>
<p><code><br />
int tones[] = {1915, 1700, 1519, 1432, 1275, 1136, 1014, 956};<br />
char notes[] = {'c', 'd', 'e', 'f', 'g', 'a', 'b', 'C'};<br />
int speakerPin = 13;</code></p>
<p><code>void setup() {<br />
for(int i =2; i &lt; 10; i++) {<br />
pinMode(i, INPUT);<br />
}<br />
}</code></p>
<p><code>void playnote(int note) {<br />
int tone = tones[note-1];<br />
while(digitalRead(note+1) == LOW) {<br />
digitalWrite(speakerPin, HIGH);<br />
delayMicroseconds(tone);<br />
digitalWrite(speakerPin, LOW);<br />
delayMicroseconds(tone);<br />
}<br />
}</p>
<p></code></p>
<p><code>void loop() {<br />
int note = 0;<br />
for(int i=2; i&lt; 10; i++) {<br />
if (digitalRead(i) == LOW) {<br />
note = i-1;<br />
}<br />
}<br />
if(note &gt; 0) {<br />
playnote(note);<br />
}<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2010/04/03/arduinophone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Introducing Cachepoint</title>
		<link>http://loz.loz-n-ali.com/2009/11/21/introducing-cachepoint/</link>
		<comments>http://loz.loz-n-ali.com/2009/11/21/introducing-cachepoint/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 22:04:00 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[geocaching]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[cachepoint]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=160</guid>
		<description><![CDATA[<p>I&#8217;m pleased to introduce Cachepoint.  It&#8217;s my android app for geocaching.  It processes pocket queries and then helps to find caches when you&#8217;re out and about.</p>
<p>This is my first android app and it&#8217;s on the market now (search Cachepoint).  Dead pleased, but know that as it&#8217;s free the trolls will pan it first&#8230;</p>
<p>More details about [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to introduce <a href="/projects/cachepoint/">Cachepoint</a>.  It&#8217;s my android app for geocaching.  It processes pocket queries and then helps to find caches when you&#8217;re out and about.</p>
<p>This is my first android app and it&#8217;s on the market now (search Cachepoint).  Dead pleased, but know that as it&#8217;s free the trolls will pan it first&#8230;</p>
<p>More details about it on the <a href="/projects/cachepoint/">dedicated Cachepoint page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2009/11/21/introducing-cachepoint/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Geocaching in the field, phone and all</title>
		<link>http://loz.loz-n-ali.com/2009/10/21/135/</link>
		<comments>http://loz.loz-n-ali.com/2009/10/21/135/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 10:01:31 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[geocaching]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[develoment]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[lake district]]></category>
		<category><![CDATA[laura]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=135</guid>
		<description><![CDATA[<p>It&#8217;s been a while since I&#8217;ve written a propper blog post.  All this twitter etc means my rants are trickled out over a long time rather than in one big lump.</p>
<p>I&#8217;m actually trying to avoid a rant here.  Just outlining my thoughts from the past couple of days.  Laura and I had a short break [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve written a propper blog post.  All this twitter etc means my rants are trickled out over a long time rather than in one big lump.</p>
<p>I&#8217;m actually trying to avoid a rant here.  Just outlining my thoughts from the past couple of days.  Laura and I had a short break in the lakes to go <a title="Geocaching Website" href="http://www.geocaching.com">geocaching</a>, and we racked up a total of 21 caches, which was awesome.  We were using my own geocaching application on my android phone.  We&#8217;re being guinnea pigs for it, and I even wrote a quick change at the hotel on the morning of the 2nd day.</p>
<p>It occurs to me, that even with testing, for phone apps which use GPS and other tech which is increasingly available in smart phones, you can&#8217;t find all the issues.  It&#8217;s only when we were out and about (and on previous occasions) were we able to spot things which made life easier.</p>
<p>I&#8217;m pleased to say that the core functionality is there.  I just need to implement the built in navigation elements (I&#8217;m using an external one at present) and fully implement preferences and a couple of other bits of polish and I can release it in the Android Market.</p>
<p>I wonder if when developing these sorts of things for work, which I am begining to be doing, whether they&#8217;d be happy for me to tramp about the hills in order to test fully what we&#8217;re developing.  Probably not, but i reckon there&#8217;s little other way you&#8217;re able to properly test this sort of location and mobile net based work.</p>
<p>All in all, Laura and I had a very restful time, even if we were walking up hills and dales.</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2009/10/21/135/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Is Da Famous?</title>
		<link>http://loz.loz-n-ali.com/2009/01/05/i-is-da-famous/</link>
		<comments>http://loz.loz-n-ali.com/2009/01/05/i-is-da-famous/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 11:30:06 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[wii fit]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=99</guid>
		<description><![CDATA[<p>Website aims for TV award &#124; Commercial Creative &#124; North East business news.</p>
<p>News article for one of our projects, going in for an award.  The Wii fit really does seems to have paid off..  Not chubby around the face at all..  Awesome..  Plus be nice if we win the award..</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://bdaily.info/news/commercial-creative/website-aims-for-tv-award/">Website aims for TV award | Commercial Creative | North East business news</a>.</p>
<p>News article for one of our projects, going in for an award.  The Wii fit really does seems to have paid off..  Not chubby around the face at all..  Awesome..  Plus be nice if we win the award..</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2009/01/05/i-is-da-famous/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Media Center Edition</title>
		<link>http://loz.loz-n-ali.com/2008/07/07/linux-media-center-edition/</link>
		<comments>http://loz.loz-n-ali.com/2008/07/07/linux-media-center-edition/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 09:47:03 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=87</guid>
		<description><![CDATA[<p>How to Install Linux Media Center Edition step by step. &#124; 14 bits</p>
<p>This long video shows how to setup Linux MCE..  This is really coming together.  There&#8217;s some rough edges in the appearance. But this is way scalable.  This might be the fate of the lappy some time soon, given its small size and TV [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://14bits.blogspot.com/2008/07/how-to-install-linux-media-center.html">How to Install Linux Media Center Edition step by step. | 14 bits</a></p>
<p>This long video shows how to setup Linux MCE..  This is really coming together.  There&#8217;s some rough edges in the appearance. But this is way scalable.  This might be the fate of the lappy some time soon, given its small size and TV out capability&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2008/07/07/linux-media-center-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sign This, Stop Phorm</title>
		<link>http://loz.loz-n-ali.com/2008/05/20/sign-this-stop-phorm/</link>
		<comments>http://loz.loz-n-ali.com/2008/05/20/sign-this-stop-phorm/#comments</comments>
		<pubDate>Tue, 20 May 2008 12:49:30 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=83</guid>
		<description><![CDATA[<p>http://petitions.pm.gov.uk/ispphorm/</p>
<p>This is a government petition to stop phorm in it&#8217;s tracks.  If you don&#8217;t know what phorm is, it&#8217;s your ISP allowing an advertising company (phorm) to scan ALL the web activity you make from your home computer and then target you with adverts based on what you look at on the web.  Imagine that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.google.co.uk/">http://petitions.pm.gov.uk/ispphorm/</a></p>
<p>This is a government petition to stop phorm in it&#8217;s tracks.  If you don&#8217;t know what phorm is, it&#8217;s your ISP allowing an advertising company (phorm) to scan ALL the web activity you make from your home computer and then target you with adverts based on what you look at on the web.  Imagine that instead of just getting junk mail in the post they also read all mail you both recieve and send to/from any person on earth and then they target you futher with junk mail based on what they read in your private mail.  THAT&#8217;S PHORM.</p>
<ul>
<li>Virgin Media</li>
<li>BT</li>
<li>Carphone Warehouse (talk talk)</li>
</ul>
<p>are all looking into doing this and there&#8217;s more to follow.  This is actually likely to break the law in terms of intercept (you must have the permission in law to intercept email from both parties, i.e. you AND any website you visit).</p>
<p>Some good examples of where this can lead to issues even if you&#8217;re not that bothered about privacy were on lug radio this week:</p>
<ol>
<li>You&#8217;re looking to buy a nice anniversary present for your wife and google lots of nice things like diamond rings or carribean holidays.  Your wife then visits some websites and gets loads of really spefic ads to things you&#8217;re considering which blow the suprise.  A small issue, but will be quite important to people if it happens.</li>
<li>You&#8217;re communicating online about a deeply personal issue, say a medial problem, through a forum or maybe even webmail.  Then you&#8217;re now bombarded with adverts about your very personal problem, not very sensative.  OK, so if you&#8217;ve got errectile disfunction then there&#8217;s already tonnes of viagra ads, but still..</li>
</ol>
<p>This is very very bad, my data is mine.  Get off it Virgin..</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2008/05/20/sign-this-stop-phorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screw That</title>
		<link>http://loz.loz-n-ali.com/2008/02/01/screw-that/</link>
		<comments>http://loz.loz-n-ali.com/2008/02/01/screw-that/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 11:58:00 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=77</guid>
		<description><![CDATA[<p>BBC NEWS &#124; Business &#124; Microsoft offers to acquire Yahoo</p>
<p>If this happens, Microsoft will be further towards controlling the web.  This would be catastrophic news for anyone who uses Yahoo services, like me and Yahoo Mail, and any FLIKR users.  Bad Bad Bad.  I hope someone stamps this on the head and anti-competative, because this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://news.bbc.co.uk/1/hi/business/7222114.stm">BBC NEWS | Business | Microsoft offers to acquire Yahoo</a></p>
<p>If this happens, Microsoft will be further towards controlling the web.  This would be catastrophic news for anyone who uses Yahoo services, like me and Yahoo Mail, and any FLIKR users.  Bad Bad Bad.  I hope someone stamps this on the head and anti-competative, because this is VERY VERY Bad.</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2008/02/01/screw-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Silly</title>
		<link>http://loz.loz-n-ali.com/2008/01/15/getting-silly/</link>
		<comments>http://loz.loz-n-ali.com/2008/01/15/getting-silly/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 10:00:47 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=73</guid>
		<description><![CDATA[<p>This article shows how mental TV/DVD size is going to get.</p>
]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://www.bhfo.org/news/latest-news/japanese-33-million-pixel-tv-standard.html">article</a> shows how mental TV/DVD size is going to get.</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2008/01/15/getting-silly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kids are cute</title>
		<link>http://loz.loz-n-ali.com/2007/11/07/kids-are-cute/</link>
		<comments>http://loz.loz-n-ali.com/2007/11/07/kids-are-cute/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 09:51:34 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=66</guid>
		<description><![CDATA[<p>This New Scientist article about toddlers interacting with sony&#8217;s adorable QRIO robot shows just how cute kids are..</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://technology.newscientist.com/article/dn12879-giggling-robot-becomes-one-of-the-kids-.html">This New Scientist article</a> about toddlers interacting with sony&#8217;s adorable QRIO robot shows just how cute kids are..</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2007/11/07/kids-are-cute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lego Star Wars</title>
		<link>http://loz.loz-n-ali.com/2007/10/29/lego-star-wars/</link>
		<comments>http://loz.loz-n-ali.com/2007/10/29/lego-star-wars/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 13:34:10 +0000</pubDate>
		<dc:creator>Jonathan Lozinski</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://loz.loz-n-ali.com/?p=64</guid>
		<description><![CDATA[<p>I have ordered it!  Yes that&#8217;s right, I have pre-ordered Lego Star Wars: The Complete Saga for the Wii.  My remote will be my light-saber.  My birthday money will be going towards this and it should arrive from game.co.uk on the day of release.  Yeah!</p>
<p>Also thanks to Quidco, an online co-operative, [...]]]></description>
			<content:encoded><![CDATA[<p>I have ordered it!  Yes that&#8217;s right, I have pre-ordered Lego Star Wars: The Complete Saga for the Wii.  My remote will be my light-saber.  My birthday money will be going towards this and it should arrive from <a href="http://game.co.uk">game.co.uk</a> on the day of release.  Yeah!</p>
<p>Also thanks to <a href="http://www.quidco.com/">Quidco</a>, an online co-operative, I get 11% cashback for doing nothing but clicking on their account to go through to game.co.uk.  You should check it out, there&#8217;s squillions of online retailers they&#8217;re registered with, and you get cashback for things you&#8217;re buying anyway.  Very nice.  All Quidco do is charge £5 a year <em><strong>if and only if</strong></em> you&#8217;ve earned more than £5 in a year through cashback.  Very good..</p>
]]></content:encoded>
			<wfw:commentRss>http://loz.loz-n-ali.com/2007/10/29/lego-star-wars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
