<?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>ONE AND ONE MAKES TEN &#187; João Moreno</title>
	<atom:link href="http://blog.joaomoreno.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joaomoreno.com</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 10:16:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Thyme</title>
		<link>http://blog.joaomoreno.com/thyme/</link>
		<comments>http://blog.joaomoreno.com/thyme/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 19:12:30 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[thyme]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=434</guid>
		<description><![CDATA[I just released an OS X application called Thyme, which allows you to time your tasks in an unobtrusive way, while remembering every time you use it. It&#8217;s a pretty simple project and I did it to fulfill the need I had for such an application. I hope more people find it as useful as [...]]]></description>
			<content:encoded><![CDATA[<p>I just released an OS X application called <a href="http://joaomoreno.github.com/thyme/">Thyme</a>, which allows you to time your tasks in an unobtrusive way, while remembering every time you use it.</p>
<p><a href="http://joaomoreno.github.com/thyme/"><img src="http://joaomoreno.github.com/thyme/screen.png" alt="Thyme" /></a></p>
<p>It&#8217;s a pretty simple project and I did it to fulfill the need I had for such an application. I hope more people find it as useful as I do.</p>
<p>It&#8217;s released under the GPLv3 and you can access its source code at its <a href="http://github.com/joaomoreno/thyme">github project page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/thyme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DJWG #13</title>
		<link>http://blog.joaomoreno.com/djwg-13/</link>
		<comments>http://blog.joaomoreno.com/djwg-13/#comments</comments>
		<pubDate>Mon, 10 May 2010 22:34:18 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[djwg]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=430</guid>
		<description><![CDATA[Half of us was in New York City, and it wasn&#8217;t me! Standard: 2048&#215;1536 &#8211; 1280&#215;960 &#8211; 1024&#215;768 Wide: 1920&#215;1200 &#8211; 1440&#215;900 &#8211; 1280&#215;800]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joaomoreno.com/djwg/logo.png" alt="Duarte &amp; João&#039;s Wallpaper Giveaway" title="Duarte &amp; João&#039;s Wallpaper Giveaway" class="alignnone size-full wp-image-249" /></p>
<p>Half of us was in New York City, and it wasn&#8217;t me!</p>
<p><a href="http://blog.joaomoreno.com/djwg-13/"><img src="http://www.joaomoreno.com/djwg/13/djwg-13-thumb.jpg" width="444" height="277" class="alignnone size-full wp-image-249" /></a></p>
<p>Standard: <a href="http://www.joaomoreno.com/djwg/13/djwg-13-2048x1536.jpg">2048&#215;1536</a> &#8211; <a href="http://www.joaomoreno.com/djwg/13/djwg-13-1280x960.jpg">1280&#215;960</a> &#8211; <a href="http://www.joaomoreno.com/djwg/13/djwg-13-1024x768.jpg">1024&#215;768</a><br />
Wide: <a href="http://www.joaomoreno.com/djwg/13/djwg-13-1920x1200.jpg">1920&#215;1200</a> &#8211; <a href="http://www.joaomoreno.com/djwg/13/djwg-13-1440x900.jpg">1440&#215;900</a> &#8211; <a href="http://www.joaomoreno.com/djwg/13/djwg-13-1280x800.jpg">1280&#215;800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/djwg-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DJWG #12</title>
		<link>http://blog.joaomoreno.com/djwg-12/</link>
		<comments>http://blog.joaomoreno.com/djwg-12/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 19:52:56 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[djwg]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=426</guid>
		<description><![CDATA[Wow. It&#8217;s been a long time. Sorry! Duarte visited me in Zürich last week and it was awesome. Needless to say, we&#8217;re packed full of new photos for more wallpaper deliciousness. Hope you like it. Standard: 2048&#215;1536 &#8211; 1280&#215;960 &#8211; 1024&#215;768 Wide: 1920&#215;1200 &#8211; 1440&#215;900 &#8211; 1280&#215;800]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joaomoreno.com/djwg/logo.png" alt="Duarte &amp; João&#039;s Wallpaper Giveaway" title="Duarte &amp; João&#039;s Wallpaper Giveaway" class="alignnone size-full wp-image-249" /></p>
<p>Wow. It&#8217;s been a long time. Sorry! </p>
<p>Duarte visited me in Zürich last week and it was awesome. Needless to say, we&#8217;re packed full of new photos for more wallpaper deliciousness. Hope you like it.</p>
<p><a href="http://blog.joaomoreno.com/djwg-12/"><img src="http://www.joaomoreno.com/djwg/12/djwg-12-thumb.jpg" width="444" height="277" class="alignnone size-full wp-image-249" /></a></p>
<p>Standard: <a href="http://www.joaomoreno.com/djwg/12/djwg-12-2048x1536.jpg">2048&#215;1536</a> &#8211; <a href="http://www.joaomoreno.com/djwg/12/djwg-12-1280x960.jpg">1280&#215;960</a> &#8211; <a href="http://www.joaomoreno.com/djwg/12/djwg-12-1024x768.jpg">1024&#215;768</a><br />
Wide: <a href="http://www.joaomoreno.com/djwg/12/djwg-12-1920x1200.jpg">1920&#215;1200</a> &#8211; <a href="http://www.joaomoreno.com/djwg/12/djwg-12-1440x900.jpg">1440&#215;900</a> &#8211; <a href="http://www.joaomoreno.com/djwg/12/djwg-12-1280x800.jpg">1280&#215;800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/djwg-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DJWG #11</title>
		<link>http://blog.joaomoreno.com/djwg-11/</link>
		<comments>http://blog.joaomoreno.com/djwg-11/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:50:20 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[djwg]]></category>
		<category><![CDATA[xmas]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=419</guid>
		<description><![CDATA[Merry Christmas and a Happy New Year everyone! Standard: 2048&#215;1536 &#8211; 1280&#215;960 &#8211; 1024&#215;768 Wide: 1920&#215;1200 &#8211; 1440&#215;900 &#8211; 1280&#215;800]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joaomoreno.com/djwg/logo.png" alt="Duarte &amp; João&#039;s Wallpaper Giveaway" title="Duarte &amp; João&#039;s Wallpaper Giveaway" class="alignnone size-full wp-image-249" /></p>
<p>Merry Christmas and a Happy New Year everyone!</p>
<p><a href="http://blog.joaomoreno.com/djwg-11/"><img src="http://www.joaomoreno.com/djwg/11/djwg-11-thumb.jpg" width="444" height="277" class="alignnone size-full wp-image-249" /></a></p>
<p>Standard: <a href="http://www.joaomoreno.com/djwg/11/djwg-11-2048x1536.jpg">2048&#215;1536</a> &#8211; <a href="http://www.joaomoreno.com/djwg/11/djwg-11-1280x960.jpg">1280&#215;960</a> &#8211; <a href="http://www.joaomoreno.com/djwg/11/djwg-11-1024x768.jpg">1024&#215;768</a><br />
Wide: <a href="http://www.joaomoreno.com/djwg/11/djwg-11-1920x1200.jpg">1920&#215;1200</a> &#8211; <a href="http://www.joaomoreno.com/djwg/11/djwg-11-1440x900.jpg">1440&#215;900</a> &#8211; <a href="http://www.joaomoreno.com/djwg/11/djwg-11-1280x800.jpg">1280&#215;800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/djwg-11/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Incremental localization on XCode-based projects</title>
		<link>http://blog.joaomoreno.com/incremental-localization-on-xcode-based-projects/</link>
		<comments>http://blog.joaomoreno.com/incremental-localization-on-xcode-based-projects/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 22:24:20 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[incremental]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[localize]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[merging]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=394</guid>
		<description><![CDATA[Motivation When I first started out localizing my first iPhone application, I went bananas. Unlike most of the developer resources available for programming on an Apple infrastructure, this feature seemed so confused in documentation and poorly understood by the community. All I wanted was to have multiple languages on my application, relative to the user&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>Motivation</em></strong></p>
<p>When I first started out localizing my first iPhone application, I went bananas. Unlike most of the developer resources available for programming on an Apple infrastructure, this feature seemed so <a href="http://developer.apple.com/iPhone/library/documentation/MacOSX/Conceptual/BPInternational/BPInternational.html#//apple_ref/doc/uid/10000171">confused in documentation</a> and poorly understood by the community. All I wanted was <em>to have multiple languages on my application, relative to the user&#8217;s preferences, just by using <strong>NSLocalizedString</strong>, and editing the translation files</em>.</p>
<p>Please note that there is a whole lot more to localization beyond having different languages on your application. I&#8217;m not going to cover that on this post. I&#8217;m also not going to talk about <a href="http://adeem.me/blog/2009/05/09/tutorial-iphone-localization-in-xib-nib-files/">localizing XIB files</a>.</p>
<p><strong><em>Goal</em></strong></p>
<p>This guide will help you localize strings included in your code (using <strong>NSLocalizedString</strong>) as well as making the translation process incremental (without ever losing the previous translations made).</p>
<p><strong><em>Problem</em></strong></p>
<p>I&#8217;m going to talk about the surprise I had when I started localizing my application: <em>the Localizable.strings files that gets generated using Apple&#8217;s tool &#8211; <strong>genstrings</strong> &#8211; overwrites the previous translations, instead of properly merging them with the new changes</em>. Since I needed to translate as I was developing the application, this meant that I had to merge the files by hand at every step of the translation process (always being careful not to lose the previous translations). This just wouldn&#8217;t work.</p>
<p><strong><em>Solution</em></strong></p>
<p>And so, I&#8217;ve made a <a href="http://www.python.org/">Python</a> <a href="http://github.com/joaomoreno/Green-Apples/blob/master/localize.py">script</a> that does just what we need: <em>it generates new translation files, merges them with the previous translations and keeps copies of all those steps, just in case anything goes wrong</em>.</p>
<p><strong><em>Step by Step</em></strong></p>
<p>Here&#8217;s how it works:</p>
<ol>
<li>go into your XCode project folder and create <strong>xx.lproj</strong> folders inside, one for each language you would like (using <a href="http://www.loc.gov/standards/iso639-2/php/English_list.php">ISO 639-1 and ISO 639-2 codes</a>). For example, to have your application in English, French and German, you would create three folders: <strong>en.lproj</strong>, <strong>fr.lproj</strong> and <strong>de.lproj</strong>;</li>
<li>put my script <a href="http://github.com/joaomoreno/Green-Apples/raw/master/localize.py">localize.py</a> inside the XCode project folder (it is being hosted on my <a href="http://github.com/joaomoreno/Green-Apples/blob/master/localize.py">github repository</a>);</li>
<li>simply run <strong>./localize.py</strong> on the Terminal, from the XCode project folder and your files will be created on the first run, and merged on subsequent runs.</li>
<li>after running the script for the first time you should have your Localizable.strings files inside each language folder. To make them work with your application, just add them to your XCode project.</li>
</ol>
<p><strong><em>Notes</em></strong></p>
<p>The script always leaves two files behind, per language: <strong>Localizable.strings.old</strong> and <strong>Localizable.strings.new</strong>. These are the two files that got merged to create the brand new <strong>Localizable.strings</strong> file. They might come in handy for some troubleshooting. By not adding them into the XCode project and (if applicable) by adding them onto your favourite revision control program&#8217;s ignore list, they cause no trouble at all.</p>
<p>I hope this helps someone, just like it has been helping me ever since I created it.</p>
<p>If you have any comments, questions, bug reports, please let me know in the comments section.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/incremental-localization-on-xcode-based-projects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SongSketch</title>
		<link>http://blog.joaomoreno.com/songsketch/</link>
		<comments>http://blog.joaomoreno.com/songsketch/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 02:03:46 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[songsketch]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=390</guid>
		<description><![CDATA[I&#8217;ve just released something that I&#8217;ve been working on the past few months. It started out as a way to learn iPhone development but then the idea got stuck in my head as something that might just be useful to a lot of people, so I&#8217;ve decided to complete the project and release it as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://songsketch.joaomoreno.com/"><img src="http://songsketch.joaomoreno.com/img/logo.png" alt="SongSketch" /></a></p>
<p>I&#8217;ve just released something that I&#8217;ve been working on the past few months. It started out as a way to learn iPhone development but then the idea got stuck in my head as something that might just be useful to a lot of people, so I&#8217;ve decided to complete the project and release it as a paid app on the App Store.</p>
<p>The name is SongSketch and it&#8217;s supposed to help you catalog all those songs you create, if you&#8217;re a guitar/piano/etc. player. For more information, refer to the official website: <a href="http://songsketch.joaomoreno.com/">http://songsketch.joaomoreno.com/</a>.</p>
<p>Please note that all the application and web design was done by <a href="http://nunocoelho.com/">Nuno Coelho</a>. Give him a visit, he&#8217;s an awesome designer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/songsketch/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>DJWG #10</title>
		<link>http://blog.joaomoreno.com/djwg-10/</link>
		<comments>http://blog.joaomoreno.com/djwg-10/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 17:48:31 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[djwg]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=388</guid>
		<description><![CDATA[Cool, breezy, clear winter skies right onto your desktop. Standard: 2048&#215;1536 &#8211; 1280&#215;960 &#8211; 1024&#215;768 Wide: 1920&#215;1200 &#8211; 1440&#215;900 &#8211; 1280&#215;800]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joaomoreno.com/djwg/logo.png" alt="Duarte &amp; João&#039;s Wallpaper Giveaway" title="Duarte &amp; João&#039;s Wallpaper Giveaway" class="alignnone size-full wp-image-249" /></p>
<p>Cool, breezy, clear winter skies right onto your desktop.</p>
<p><a href="http://blog.joaomoreno.com/djwg-10/"><img src="http://www.joaomoreno.com/djwg/10/djwg-10-thumb.jpg" width="444" height="277" class="alignnone size-full wp-image-249" /></a></p>
<p>Standard: <a href="http://www.joaomoreno.com/djwg/10/djwg-10-2048x1536.jpg">2048&#215;1536</a> &#8211; <a href="http://www.joaomoreno.com/djwg/10/djwg-10-1280x960.jpg">1280&#215;960</a> &#8211; <a href="http://www.joaomoreno.com/djwg/10/djwg-10-1024x768.jpg">1024&#215;768</a><br />
Wide: <a href="http://www.joaomoreno.com/djwg/10/djwg-10-1920x1200.jpg">1920&#215;1200</a> &#8211; <a href="http://www.joaomoreno.com/djwg/10/djwg-10-1440x900.jpg">1440&#215;900</a> &#8211; <a href="http://www.joaomoreno.com/djwg/10/djwg-10-1280x800.jpg">1280&#215;800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/djwg-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Baixa do FCTenses</title>
		<link>http://blog.joaomoreno.com/baixa-do-fctenses/</link>
		<comments>http://blog.joaomoreno.com/baixa-do-fctenses/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:12:21 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=386</guid>
		<description><![CDATA[Atenção a todos os FCTenses que usam o agregador http://fct.enses.org/: o projecto vai ser abandonado da minha parte. Se alguém quiser pegar nele, que fale comigo e eu disponibilizo o que for necessário para manter o projecto a funcionar como está. Caso contrário, o site deverá ir abaixo durante o mês de Novembro. Um pedido [...]]]></description>
			<content:encoded><![CDATA[<p>Atenção a todos os FCTenses que usam o agregador <a href="http://fct.enses.org/">http://fct.enses.org/</a>: o projecto vai ser abandonado da minha parte. Se alguém quiser pegar nele, que fale comigo e eu disponibilizo o que for necessário para manter o projecto a funcionar como está. Caso contrário, o site deverá ir abaixo durante o mês de Novembro.</p>
<p>Um pedido de desculpas àqueles que o usam tanto como uma maneira de publicar melhor os seus blogs e àqueles que o usam como fonte de leitura no dia-a-dia. Foi bom enquanto durou. <img src='http://blog.joaomoreno.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/baixa-do-fctenses/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DJWG #9</title>
		<link>http://blog.joaomoreno.com/djwg-9/</link>
		<comments>http://blog.joaomoreno.com/djwg-9/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:24:54 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[djwg]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=384</guid>
		<description><![CDATA[Grey like Swiss weather and pierced like Portuguese economy. Or is it grey like Portuguese economy and pierced like Swiss cheese? Standard: 2048&#215;1536 &#8211; 1280&#215;960 &#8211; 1024&#215;768 Wide: 1920&#215;1200 &#8211; 1440&#215;900 &#8211; 1280&#215;800]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.joaomoreno.com/djwg/logo.png" alt="Duarte &amp; João&#039;s Wallpaper Giveaway" title="Duarte &amp; João&#039;s Wallpaper Giveaway" class="alignnone size-full wp-image-249" /></p>
<p>Grey like Swiss weather and pierced like Portuguese economy.</p>
<p>Or is it grey like Portuguese economy and pierced like Swiss cheese?</p>
<p><a href="http://blog.joaomoreno.com/djwg-9/"><img src="http://www.joaomoreno.com/djwg/9/djwg-9-thumb.jpg" width="444" height="277" class="alignnone size-full wp-image-249" /></a></p>
<p>Standard: <a href="http://www.joaomoreno.com/djwg/9/djwg-9-2048x1536.jpg">2048&#215;1536</a> &#8211; <a href="http://www.joaomoreno.com/djwg/9/djwg-9-1280x960.jpg">1280&#215;960</a> &#8211; <a href="http://www.joaomoreno.com/djwg/9/djwg-9-1024x768.jpg">1024&#215;768</a><br />
Wide: <a href="http://www.joaomoreno.com/djwg/9/djwg-9-1920x1200.jpg">1920&#215;1200</a> &#8211; <a href="http://www.joaomoreno.com/djwg/9/djwg-9-1440x900.jpg">1440&#215;900</a> &#8211; <a href="http://www.joaomoreno.com/djwg/9/djwg-9-1280x800.jpg">1280&#215;800</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/djwg-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Arduino RGB Lamp</title>
		<link>http://blog.joaomoreno.com/arduino-rgb-lamp/</link>
		<comments>http://blog.joaomoreno.com/arduino-rgb-lamp/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 15:25:35 +0000</pubDate>
		<dc:creator>João Moreno</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[rgb]]></category>

		<guid isPermaLink="false">http://blog.joaomoreno.com/?p=372</guid>
		<description><![CDATA[After seeing several homemade RGB lamp projects online and experimenting with one live (made by my friend Cloud), I decided to build my own (click the image for more photos). The only thing it does yet is cycle through the whole hue range very slowly, so it gives a nice smoothly changing environment to the [...]]]></description>
			<content:encoded><![CDATA[<p>After seeing several homemade RGB lamp projects online and experimenting with one live (made by my friend <a href="http://www.cloudgoessocial.net/">Cloud</a>), I decided to build my own (click the image for more photos).</p>
<p><a href="http://img524.imageshack.us/slideshow/webplayer.php?id=img1215v.jpg"><img src="http://blog.joaomoreno.com/wp-content/uploads/2009/10/img1216h.jpg" alt="Green Lamp" title="Green Lamp" width="443" height="332" class="alignnone size-full wp-image-373" /></a></p>
<p>The only thing it does yet is cycle through the whole hue range very slowly, so it gives a nice smoothly changing environment to the room. It draws its power from a standard wall socket, although I left the USB cable dangling in order to just my laptop whenever and reprogram it at will.</p>
<p><img src="http://blog.joaomoreno.com/wp-content/uploads/2009/10/img1236.jpg" alt="Assembly" title="Assembly" width="443" height="332" class="alignnone size-full wp-image-375" /></p>
<p>The assembly is fairly simple, all you need is:</p>
<ul>
<li>Arduino (I&#8217;m using the Diecimila);</li>
<li>RGB LED (I bought <a href="http://www.phenoptix.co.uk/Ultra_Bright_UV_SUPERFLUX_RGB_LEDs_5mm_p/flux-rgb-5.htm">this one</a>);</li>
<li>some 100 Ohm resistors (I bought <a href="http://www.phenoptix.co.uk/Resistor_1_4_Watt_Metal_Film_p/res.htm">these</a>, <strong>although</strong> if you know a bit something about LEDs you know that different LED colors require different voltages, as such, in order to get better results you could use different resistors);</li>
<li><a href="http://www.arduino.cc/playground/Learning/WhatAdapter">Arduino compatible wall socket</a>;</li>
<li>one <a href="http://www.ikea.com/us/en/catalog/products/70096377">IKEA lamp</a>!</li>
</ul>
<p>All you need to do is connect each color of the LED to an analog out pin on the Arduino, and do some code!</p>
<p>If someone has any good ideas on what else to do with the lamp, please let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.joaomoreno.com/arduino-rgb-lamp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
