<?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"
	>

<channel>
	<title>Paul René Jørgensen</title>
	<atom:link href="http://paulrene.no/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulrene.no</link>
	<description>Me, my projects and some other stuff</description>
	<pubDate>Thu, 11 Feb 2010 21:32:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Decoding Falcom Mambo2 binary format in Java</title>
		<link>http://paulrene.no/index.php/2010/02/decoding-falcom-mambo2-binary-format-in-java/</link>
		<comments>http://paulrene.no/index.php/2010/02/decoding-falcom-mambo2-binary-format-in-java/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 21:32:23 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[binary]]></category>

		<category><![CDATA[decode]]></category>

		<category><![CDATA[falcom]]></category>

		<category><![CDATA[mambo]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=30</guid>
		<description><![CDATA[I&#8217;ll post this piece of code since it could come in handy for more developers than me.

	private static HashMap decode(int[] data) {
		HashMap m = new HashMap();

		// Extract date information
		int date = data[0] >> 7) &#038; 0xf; // 4 bits
		int day = (date >>> 11) &#038; 0&#215;1f; // 5 bits

		// Extract time information
		int millis = data[4] [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll post this piece of code since it could come in handy for more developers than me.</p>
<pre>
	private static HashMap<String, Object> decode(int[] data) {
		HashMap<String, Object> m = new HashMap<String, Object>();

		// Extract date information
		int date = data[0] << 8 | data[1];
		int year = 2000 + (date &#038; 0x7f); // 7 bits
		int month = (date >>> 7) &#038; 0xf; // 4 bits
		int day = (date >>> 11) &#038; 0&#215;1f; // 5 bits

		// Extract time information
		int millis = data[4] << 8 | data[5]; // 16 bits
		int time = data[2] << 8 | data[3];
		int minute = time &#038; 0x3f; // 6 bits
		int hour = (time >>> 6) &#038; 0&#215;1f; // 5 bits
		int second = millis / 1000;
		millis = millis % 1000;

		// Construct Date object
		Calendar c = Calendar.getInstance(TimeZone.getTimeZone(&#8221;GMT+00&#8243;));
		c.set(year, month-1, day, hour, minute, second);
		c.set(Calendar.MILLISECOND, millis);
		m.put(&#8221;gpsTime&#8221;, c.getTime());

		// Extract validity
		m.put(&#8221;valid&#8221;, (time >> 31) == 1);

		// Extract latitude
		int latValue = data[6] << 24 | data [7] << 16 | data [8] << 8 | data[9];
		if((latValue>>>31) == 1) latValue = - ((~latValue) + 1);
		m.put(&#8221;latitude&#8221;, latValue * 0.0000001);

		// Extract longitude
		int lngValue = data[10] << 24 | data [11] << 16 | data [12] << 8 | data[13];
		if((lngValue>>>31) == 1) lngValue = - ((~lngValue) + 1);
		m.put(&#8221;longitude&#8221;, lngValue * 0.0000001);

		// Extract speed
		int speedValue = data[14] << 8 | data[15];
		m.put("speed", speedValue * 0.01);

		// Extract course
		int courseValue = data[16] << 8 | data[17];
		m.put("course", courseValue * 0.01);

		// Extract altitude
		int altValue = data[18] << 8 | data[19];
		m.put("altitude", altValue);

		return m;
	}
</pre>
<p>I hereby put this code into the public domain.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=Decoding%20Falcom%20Mambo2%20binary%20format%20in%20Java&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2010%2F02%2Fdecoding-falcom-mambo2-binary-format-in-java%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Decoding Falcom Mambo2 binary format in Java";a2a_linkurl="http://paulrene.no/index.php/2010/02/decoding-falcom-mambo2-binary-format-in-java/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2010/02/decoding-falcom-mambo2-binary-format-in-java/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adapting Jira for Scrum</title>
		<link>http://paulrene.no/index.php/2009/04/adapting-jira-for-scrum/</link>
		<comments>http://paulrene.no/index.php/2009/04/adapting-jira-for-scrum/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 07:48:40 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[adressa]]></category>

		<category><![CDATA[adresseavisen]]></category>

		<category><![CDATA[jira]]></category>

		<category><![CDATA[scrum]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=28</guid>
		<description><![CDATA[Adapting JIRA For Scrum 
View more presentations from Paul rené Jørgensen.

Presentation I held last year for my colleagues at Adresseavisen.

    
    a2a_linkname="Adapting Jira for Scrum";a2a_linkurl="http://paulrene.no/index.php/2009/04/adapting-jira-for-scrum/";
    

	]]></description>
			<content:encoded><![CDATA[<div id="__ss_624208" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Adapting JIRA For Scrum" href="http://www.slideshare.net/paulrene/adapting-jira-for-scrum-presentation?type=powerpoint">Adapting JIRA For Scrum</a><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=adapting-jira-for-scrum-1222687239385829-9&amp;rel=0&amp;stripped_title=adapting-jira-for-scrum-presentation" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=adapting-jira-for-scrum-1222687239385829-9&amp;rel=0&amp;stripped_title=adapting-jira-for-scrum-presentation" allowscriptaccess="always" allowfullscreen="true"></embed></object> </p>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/paulrene">Paul rené Jørgensen</a>.</div>
</div>
<p>Presentation I held last year for my colleagues at Adresseavisen.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=Adapting%20Jira%20for%20Scrum&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2009%2F04%2Fadapting-jira-for-scrum%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Adapting Jira for Scrum";a2a_linkurl="http://paulrene.no/index.php/2009/04/adapting-jira-for-scrum/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2009/04/adapting-jira-for-scrum/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eventually Consistent - Consistently Fantastic</title>
		<link>http://paulrene.no/index.php/2009/02/eventually-consistent-consistently-fantastic/</link>
		<comments>http://paulrene.no/index.php/2009/02/eventually-consistent-consistently-fantastic/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 21:38:16 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[consistent]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[distributed]]></category>

		<category><![CDATA[eventually]]></category>

		<category><![CDATA[multicast]]></category>

		<category><![CDATA[processing]]></category>

		<category><![CDATA[systems]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=27</guid>
		<description><![CDATA[I just stumbled upon an article by Werner Vogels about consistency in distributed systems. It was an eye opener and I recommend everyone interested to read it.
Eventually Consistent: &#8220;This is a specific form of weak consistency; the storage system guarantees that if no new updates are made to the object, eventually all accesses will return [...]]]></description>
			<content:encoded><![CDATA[<p>I just stumbled upon an <a href="http://www.allthingsdistributed.com/2008/12/eventually_consistent.html" target="_blank">article by </a><span class="byline"><a href="http://www.allthingsdistributed.com/2008/12/eventually_consistent.html" target="_blank">Werner Vogels</a> </span><span class="byline">about consistency in distributed systems. It was an eye opener and I recommend everyone interested to read it.</span></p>
<p>Eventually Consistent: <em>&#8220;This is a specific form of weak consistency; the storage system guarantees that if no new updates are made to the object, eventually all accesses will return the last updated value. If no failures occur, the maximum size of the inconsistency window can be determined based on factors such as communication delays, the load on the system, and the number of replicas involved in the replication scheme. The most popular system that implements eventual consistency is DNS (Domain Name System). Updates to a name are distributed according to a configured pattern and in combination with time-controlled caches; eventually, all clients will see the update.&#8221;</em></p>
<p>In the same reading frenzy I also read these related pages:</p>
<ul>
<li>http://www.readwriteweb.com/archives/is_the_relational_database_doomed.php</li>
<li>http://belaban.blogspot.com/2009/01/replcache-storing-your-data-in-cloud.html</li>
<li>http://commons.apache.org/sandbox/pipeline/</li>
<li>http://www.jgroups.org/demos.html</li>
<li>http://www.helidb.org/</li>
</ul>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=Eventually%20Consistent%20-%20Consistently%20Fantastic&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2009%2F02%2Feventually-consistent-consistently-fantastic%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Eventually Consistent - Consistently Fantastic";a2a_linkurl="http://paulrene.no/index.php/2009/02/eventually-consistent-consistently-fantastic/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2009/02/eventually-consistent-consistently-fantastic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Girl Effect</title>
		<link>http://paulrene.no/index.php/2008/11/the-girl-effect/</link>
		<comments>http://paulrene.no/index.php/2008/11/the-girl-effect/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 00:09:36 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[political]]></category>

		<category><![CDATA[kiva]]></category>

		<category><![CDATA[loan]]></category>

		<category><![CDATA[the girl effect]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=26</guid>
		<description><![CDATA[Could not help but smile and donate some more to micro loans for women at Kiva.org. You should do the same!


    
    a2a_linkname="The Girl Effect";a2a_linkurl="http://paulrene.no/index.php/2008/11/the-girl-effect/";
    

	]]></description>
			<content:encoded><![CDATA[<p>Could not help but smile and donate some more to micro loans for women at <a href="http://www.kiva.org">Kiva.org</a>. You should do the same!</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/WIvmE4_KMNw&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/WIvmE4_KMNw&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=The%20Girl%20Effect&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F11%2Fthe-girl-effect%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="The Girl Effect";a2a_linkurl="http://paulrene.no/index.php/2008/11/the-girl-effect/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/11/the-girl-effect/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Property database for parts of Norway</title>
		<link>http://paulrene.no/index.php/2008/10/property-database-for-parts-of-norway/</link>
		<comments>http://paulrene.no/index.php/2008/10/property-database-for-parts-of-norway/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 12:26:15 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[adressa.no]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[property]]></category>

		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=25</guid>
		<description><![CDATA[My employer Adresseavisen (local newspaper in Norway) released a Google Maps based property transfer database I&#8217;ve written for them today.
You can visit the application here: Eiendomsdatabasen


    
    a2a_linkname="Property database for parts of Norway";a2a_linkurl="http://paulrene.no/index.php/2008/10/property-database-for-parts-of-norway/";
    

	]]></description>
			<content:encoded><![CDATA[<p>My employer <a href="http://adressa.no" target="_blank">Adresseavisen</a> (local newspaper in Norway) released a Google Maps based property transfer database I&#8217;ve written for them today.</p>
<p>You can visit the application here: <a href="http://www.adressa.no/tjenester/article1163676.ece" target="_blank">Eiendomsdatabasen</a></p>
<p><a href="http://www.adressa.no/tjenester/article1163676.ece" target="_blank"><img src="http://farm4.static.flickr.com/3196/2908904597_64d777efb2.jpg" alt="" width="418" height="500" /></a></p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=Property%20database%20for%20parts%20of%20Norway&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F10%2Fproperty-database-for-parts-of-norway%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Property database for parts of Norway";a2a_linkurl="http://paulrene.no/index.php/2008/10/property-database-for-parts-of-norway/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/10/property-database-for-parts-of-norway/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The astonishing promise of DNA folding</title>
		<link>http://paulrene.no/index.php/2008/09/the-astonishing-promise-of-dna-folding/</link>
		<comments>http://paulrene.no/index.php/2008/09/the-astonishing-promise-of-dna-folding/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 06:29:05 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=24</guid>
		<description><![CDATA[&#8220;In 2007, Paul Rothemund gave TED a short summary of his specialty, DNA folding. Now he lays out in clear, adundant detail the immense promise of this field &#8212; to create tiny machines that assemble themselves.&#8221;
http://www.ted.com/index.php/talks/paul_rothemund_details_dna_folding.html
I just watched this presentation and thought that I should share it with you. As a software engineer this is [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;In 2007, Paul Rothemund gave TED a short summary of his specialty, DNA folding. Now he lays out in clear, adundant detail the immense promise of this field &#8212; to create tiny machines that assemble themselves.&#8221;</p>
<p><a href="http://www.ted.com/index.php/talks/paul_rothemund_details_dna_folding.html">http://www.ted.com/index.php/talks/paul_rothemund_details_dna_folding.html</a></p>
<p>I just watched this presentation and thought that I should share it with you. As a software engineer this is intrieging.</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=The%20astonishing%20promise%20of%20DNA%20folding&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F09%2Fthe-astonishing-promise-of-dna-folding%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="The astonishing promise of DNA folding";a2a_linkurl="http://paulrene.no/index.php/2008/09/the-astonishing-promise-of-dna-folding/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/09/the-astonishing-promise-of-dna-folding/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Usemon JavaZone 2008 presentation and demo</title>
		<link>http://paulrene.no/index.php/2008/09/usemon-javazone-2008-presentation-and-demo/</link>
		<comments>http://paulrene.no/index.php/2008/09/usemon-javazone-2008-presentation-and-demo/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 08:05:33 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[Programming]]></category>

		<category><![CDATA[bi]]></category>

		<category><![CDATA[callstack]]></category>

		<category><![CDATA[calltrace]]></category>

		<category><![CDATA[javazone]]></category>

		<category><![CDATA[mdx]]></category>

		<category><![CDATA[monitoring]]></category>

		<category><![CDATA[olap]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[statistics]]></category>

		<category><![CDATA[usemon]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=23</guid>
		<description><![CDATA[ 
You may download the files below

Usemon presentation is available from Slideshare
Usemon Live demo video is available here


    
    a2a_linkname="Usemon JavaZone 2008 presentation and demo";a2a_linkurl="http://paulrene.no/index.php/2008/09/usemon-javazone-2008-presentation-and-demo/";
    

	]]></description>
			<content:encoded><![CDATA[<p> <iframe src='http://docs.google.com/EmbedSlideshow?docid=dt8c7pg_11c4p464hf' frameborder='0' width='410' height='342'></iframe></p>
<div>You may download the files below</div>
<ul>
<li><a href="http://www.slideshare.net/paulrene/slideshows" target="_blank">Usemon presentation is available from Slideshare</a></li>
<li><a href="http://paulrene.no/javazone08/usemon-live-demo.avi" target="_blank">Usemon Live demo video is available here</a></li>
</ul>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=Usemon%20JavaZone%202008%20presentation%20and%20demo&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F09%2Fusemon-javazone-2008-presentation-and-demo%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="Usemon JavaZone 2008 presentation and demo";a2a_linkurl="http://paulrene.no/index.php/2008/09/usemon-javazone-2008-presentation-and-demo/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/09/usemon-javazone-2008-presentation-and-demo/feed/</wfw:commentRss>
<enclosure url="http://paulrene.no/javazone08/usemon-live-demo.avi" length="75953378" type="video/x-msvideo" />
		</item>
		<item>
		<title>SpotPilot - Reading NMEA sentences from the GPS</title>
		<link>http://paulrene.no/index.php/2008/08/spotpilot-reading-nmea-sentences-from-the-gps/</link>
		<comments>http://paulrene.no/index.php/2008/08/spotpilot-reading-nmea-sentences-from-the-gps/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 22:17:02 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Airplane]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[autopilot]]></category>

		<category><![CDATA[gps]]></category>

		<category><![CDATA[nmea]]></category>

		<category><![CDATA[spot]]></category>

		<category><![CDATA[sun]]></category>

		<category><![CDATA[sun spot]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=22</guid>
		<description><![CDATA[Tonight I upgraded one of my Sun Spots to the new beta release of the blue firmware. One of the changes were an important bugfix in the UART code of the daughter board handling the UART buffers.
Anyway, after upgrading I wrote some test code to display the NMEA data from the GPS and guess what.. [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight I upgraded one of my Sun Spots to the new beta release of the blue firmware. One of the changes were an important bugfix in the UART code of the daughter board handling the UART buffers.</p>
<p>Anyway, after upgrading I wrote some test code to display the NMEA data from the GPS and guess what.. It worked!</p>
<pre>        EDemoBoard edb = EDemoBoard.getInstance();
        edb.initUART(edb.SERIAL_SPEED_4800, edb.SERIAL_DATABITS_8, edb.SERIAL_PARITY_NONE, edb.SERIAL_STOPBITS_1);
        while(true) {
            try {
                System.out.print((char) edb.readUART(1000));
            } catch (IOException e) {
                e.printStackTrace();
            }
        }</pre>
<p>And the output (No fix. I was in my livingroom)..</p>
<pre>Squawk VM Starting (blue-080718)...
$GPGGA,220058.000,,,,,0,00,50.0,,M,0.0,M,,0000*40
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,220058.000,V,,,,,,,080808,,*2A
$GPGGA,220059.000,,,,,0,00,50.0,,M,0.0,M,,0000*41
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPRMC,220059.000,V,,,,,,,080808,,*2B
$GPGGA,220100.000,,,,,0,00,50.0,,M,0.0,M,,0000*4C
$GPGSA,A,1,,,,,,,,,,,,,50.0,50.0,50.0*05
$GPGSV,3,1,12,03,67,195,,06,61,164,21,19,57,270,,18,48,083,17*71
$GPGSV,3,2,12,22,46,145,17,21,26,080,,08,20,318,32,15,20,030,*74
$GPGSV,3,3,12,26,17,013,,27,12,293,,07,11,282,,16,10,185,*71
$GPRMC,220100.000,V,,,,,,,080808,,*26</pre>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=SpotPilot%20-%20Reading%20NMEA%20sentences%20from%20the%20GPS&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F08%2Fspotpilot-reading-nmea-sentences-from-the-gps%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="SpotPilot - Reading NMEA sentences from the GPS";a2a_linkurl="http://paulrene.no/index.php/2008/08/spotpilot-reading-nmea-sentences-from-the-gps/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/08/spotpilot-reading-nmea-sentences-from-the-gps/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SpotPilot - Interfacing the GPS module</title>
		<link>http://paulrene.no/index.php/2008/08/spotpilot-interfacing-the-gps-module/</link>
		<comments>http://paulrene.no/index.php/2008/08/spotpilot-interfacing-the-gps-module/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 23:26:49 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Airplane]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[aircraft]]></category>

		<category><![CDATA[autopilot]]></category>

		<category><![CDATA[control]]></category>

		<category><![CDATA[gps]]></category>

		<category><![CDATA[navigation]]></category>

		<category><![CDATA[plane]]></category>

		<category><![CDATA[remote]]></category>

		<category><![CDATA[spot]]></category>

		<category><![CDATA[sun]]></category>

		<category><![CDATA[sun spot]]></category>

		<category><![CDATA[uav]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=21</guid>
		<description><![CDATA[Sorry for not posting any progress on this for some days, but I&#8217;ve started in my new day job and have been pretty tired in the evenings. Hopefully this will change soon, but during some spare time tonight I was able to create the proper cable to be able to interface the GPS with the [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for not posting any progress on this for some days, but I&#8217;ve started in my new day job and have been pretty tired in the evenings. Hopefully this will change soon, but during some spare time tonight I was able to create the proper cable to be able to interface the GPS with the Sun Spot.</p>
<p><img src="http://farm4.static.flickr.com/3224/2741597879_71bd8d8981.jpg" alt="" width="500" height="375" /></p>
<p>I just wanted you to see that tiny red light on the GPS indicating that it&#8217;s properly powered and connected to the Sun Spot. Now that I&#8217;ve prototyped all the hardware I&#8217;m ready to tackle the the real challenge, to code this bugger! That will be a lot of fun!</p>
<p>Just a reminder at the end. I hope to meet a lot of you guys at JavaZone, 17.-18. September in Oslo. I&#8217;ll be at the speakers dinner on the evening the 16, but hopefully we&#8217;ll get some time to grab a few beers and talk about old times during the conference.. <img src='http://paulrene.no/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=SpotPilot%20-%20Interfacing%20the%20GPS%20module&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F08%2Fspotpilot-interfacing-the-gps-module%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="SpotPilot - Interfacing the GPS module";a2a_linkurl="http://paulrene.no/index.php/2008/08/spotpilot-interfacing-the-gps-module/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/08/spotpilot-interfacing-the-gps-module/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SpotPilot - Building an aircraft autopilot using a Sun Spot part 2</title>
		<link>http://paulrene.no/index.php/2008/07/spotpilot-building-an-aircraft-autopilot-using-a-sun-spot-part-2/</link>
		<comments>http://paulrene.no/index.php/2008/07/spotpilot-building-an-aircraft-autopilot-using-a-sun-spot-part-2/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 23:12:57 +0000</pubDate>
		<dc:creator>Paul René Jørgensen</dc:creator>
		
		<category><![CDATA[Airplane]]></category>

		<category><![CDATA[Java]]></category>

		<category><![CDATA[autopilot]]></category>

		<category><![CDATA[hitec]]></category>

		<category><![CDATA[rc]]></category>

		<category><![CDATA[receiver]]></category>

		<category><![CDATA[servo]]></category>

		<category><![CDATA[spot]]></category>

		<category><![CDATA[sun]]></category>

		<category><![CDATA[sun spot]]></category>

		<guid isPermaLink="false">http://paulrene.no/?p=20</guid>
		<description><![CDATA[I just wanted to let you know about todays progress. The GPS module landed in the mailbox this morning, but I forced myself not to rush and wire it up to the Spot right away. I know that this GPS module is compatible with the Spot so there was no reason to rush it.
What I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="float: right;" src="http://farm4.static.flickr.com/3018/2701368590_e733dce0d6_m.jpg" alt="" width="240" height="180" />I just wanted to let you know about todays progress. The GPS module landed in the mailbox this morning, but I forced myself not to rush and wire it up to the Spot right away. I know that this GPS module is compatible with the Spot so there was no reason to rush it.</p>
<p>What I was more concerned with was the enable/disable switch and the rudder pass through signal. I started out wiring up the RC receiver to the spot and wrote some lines of code to get the pulse length of a signal connected to one of the Dx pins of the Spot.</p>
<pre>    private int getRCPulse() {
        EDemoBoard edb = EDemoBoard.getInstance();
        IInputPin pin = edb.getIOPins()[EDemoBoard.D3];
        return edb.getPulse(pin, true, 30);
    }</pre>
<p>These few lines of code should give me the length of the pulse coming in on the D3 pin every 30 ms measured in microseconds. And guess what happened when I connected the battery? It worked!! <img src='http://paulrene.no/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img class="alignleft" style="float: left;" src="http://farm4.static.flickr.com/3108/2701768421_74f0103355_m.jpg" alt="" width="180" height="240" />Next up was to prototype the rudder servo pass through. I added some more wires to the Spot connecting the servo signal cable to one of the Hx pins and made sure the servo was powered by the RC receiver.
<pre>        Servo s = new Servo(EDemoBoard.getInstance().getOutputPins()[EDemoBoard.H1]);
        while(true) {
            int l = getRCPulse();
            s.setValue(l);
            System.out.println(l);
            Utils.sleep(1);
        }</pre>
<p>This code reads the rudder RC channel and passes the value on to the connected servo. Amazing as it sounds, but it actually works!</p>
<p>I now have a spot decoding the RC receiver signal and later outputting it to a connected servo, passing it through the spot as if it was not there! This is what is supposed to happen when the autopilot is disabled. When I hit the gear switch on my transmitter the autopilot logics should kick in. But that is another story..</p>
<p class="addtoany_share_save">
    <a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Paul%20Ren%C3%A9%20J%C3%B8rgensen&amp;siteurl=http%3A%2F%2Fpaulrene.no%2F&amp;linkname=SpotPilot%20-%20Building%20an%20aircraft%20autopilot%20using%20a%20Sun%20Spot%20part%202&amp;linkurl=http%3A%2F%2Fpaulrene.no%2Findex.php%2F2008%2F07%2Fspotpilot-building-an-aircraft-autopilot-using-a-sun-spot-part-2%2F"><img src="http://paulrene.no/wp-content/plugins/add-to-any/share_save_120_16.gif" width="120" height="16" border="0" alt="Share/Save/Bookmark"/></a>
    <script type="text/javascript">a2a_linkname="SpotPilot - Building an aircraft autopilot using a Sun Spot part 2";a2a_linkurl="http://paulrene.no/index.php/2008/07/spotpilot-building-an-aircraft-autopilot-using-a-sun-spot-part-2/";</script>
    <script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

	</p>]]></content:encoded>
			<wfw:commentRss>http://paulrene.no/index.php/2008/07/spotpilot-building-an-aircraft-autopilot-using-a-sun-spot-part-2/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.297 seconds -->
