<?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>Arrrrrduino!</title>
	<atom:link href="http://lucasfragomeni.com/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://lucasfragomeni.com/arduino</link>
	<description>Arduino Hacks</description>
	<lastBuildDate>Sun, 23 Jan 2011 15:37:44 +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>Arduino + Bluetooth + Android</title>
		<link>http://lucasfragomeni.com/arduino/2011-01/arduino-bluetooth-android/</link>
		<comments>http://lucasfragomeni.com/arduino/2011-01/arduino-bluetooth-android/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 15:37:44 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[amarino]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/arduino/?p=249</guid>
		<description><![CDATA[Outro dia desses, passeando com o Vinícius Senger da Elétron Livre pela Santa Efigênia em São Paulo, ele me mostrou o Amarino, uma aplicação Android para enviar os eventos do smartphone (acelerômetro, bússola, sensor de iluminação, sms recebidos, etc) para a Arduino via Bluetooth.
Uma semana depois de nossa conversa chegou aqui em casa o BlueSRiRF [...]]]></description>
			<content:encoded><![CDATA[<p>Outro dia desses, passeando com o <a href="http://twitter.com/vsenger" target="_new">Vinícius Senger</a> da <a href="http://www.eletronlivre.com.br/" target="_new">Elétron Livre</a> pela Santa Efigênia em São Paulo, ele me mostrou o <em><a href="http://amarino-toolkit.net" target="_new">Amarino</a></em>, uma aplicação Android para enviar os eventos do smartphone (acelerômetro, bússola, sensor de iluminação, sms recebidos, etc) para a Arduino via Bluetooth.</p>
<p>Uma semana depois de nossa conversa chegou aqui em casa o <a href="http://www.sparkfun.com/products/582" target="_new">BlueSRiRF Gold</a>, modem Bluetooth que comprei na <a href="http://www.sparkfun.com">Sparkfun</a>. Saiu bem carinho (U$D 64,00), mas ele promete um alcance de 106m!!! Não perdi tempo e instalei o Amarino e o pacote de plugins no meu Samsung Galaxy S.</p>
<p>Confira o resultado:</p>
<p><center><br />
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/AAGCgGwvLPM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/AAGCgGwvLPM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
<br />
</center><br />
<br/><br />
Por incrível que pareça, foi simples montar esse projeto. Tudo que você precisa é:</p>
<ul>
<li>Arduino</li>
<li>Modem Bluetooth (usei o <a href="http://www.sparkfun.com/products/582" target="_new">BlueSRiRF Gold</a>)</li>
<li>Smartphone Android equipado com um acelerômetro</li>
</ul>
<h3>Configurando o modem:</h3>
<p>Para configurar o modem no MacOS X usei <a href="http://todbot.com/blog/2006/02/23/howto-mac-os-x-bluetooth-serial-port/" target="_new">esse tutorial</a>, mas tive que improvisar um pouco, pois está desatualizado.</p>
<p>Segue um complemento da primeira parte do tutorial, para parear o modem com o Mac:</p>
<ol>
<li>Ligue o modem nos 5v da Arduino</li>
<li>Nas opções de Bluetooth, selecione &#8220;Set up Bluetooth Device&#8221; e selecione o modem (o meu apareceu como FireFly-alguma-coisa).</li>
<li>Quando pedir a senha, vá em &#8220;Passcode options&#8221;, selecione a opção &#8220;Use a specific passcode&#8221; e informe &#8220;1234&#8243; (em alguns modelos o PID pode ser &#8220;default&#8221;)</li>
<li>Nas opções de Bluetooth, selecione &#8220;Open Bluetooth Preferences&#8230;&#8221;</li>
<li>Selecione o modem BlueSMiRF e abra a opção &#8220;Edit Serial Ports&#8230;&#8221; nas configurações (ícone da engrenagem)</li>
<li>Adicione uma nova porta, selecione o protocolo &#8220;modem&#8221; e marque a opção &#8220;Require pairing for security</
<li>Agora é só seguir o tutorial acima para o restante</li>
</ol>
<h3>Código Fonte</h3>
<p>O código é bastante simples. Me baseei nos exemplos da biblioteca do Amarino.</p>
<p>Basta baixar a <a href="http://www.amarino-toolkit.net/index.php/download.html" target="_new">biblioteca do Amarino</a> e jogá-la na pasta da Arduino IDE.</p>
<p>No Mac, a Arduino IDE vem num pacote &#8220;.app&#8221;, então siga os passos:</p>
<ol>
<li>Com o botão direito no arquivo Arduino.app, selecione a opção &#8220;Show Package Contents&#8221;</li>
<li>Jogue a pasta do Amarino descompactada no seguinte diretório: &#8220;Contents > Resources > Java > libraries&#8221;</li>
</ol>
<p>O código que desenvolvi está disponível no github: <a href="http://github.com/lucasfragomeni/arduino" target="_new">http://github.com/lucasfragomeni/arduino</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2011-01/arduino-bluetooth-android/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Apartamento 108</title>
		<link>http://lucasfragomeni.com/arduino/2010-12/apartamento-108/</link>
		<comments>http://lucasfragomeni.com/arduino/2010-12/apartamento-108/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 01:22:51 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/arduino/?p=213</guid>
		<description><![CDATA[Quando as pessoas vêm ao meu apartamento se deparam com um dilema: &#8220;Eita! E agora, é o da esquerda ou da direita?&#8221;. Isso porquê não tem número nem no meu apartamento e nem no do vizinho.
Foi pensando nas minhas visitas que resolvi dar uma utilizado à um painel de LED que fiz há uns 2 [...]]]></description>
			<content:encoded><![CDATA[<p>Quando as pessoas vêm ao meu apartamento se deparam com um dilema: &#8220;Eita! E agora, é o da esquerda ou da direita?&#8221;. Isso porquê não tem número nem no meu apartamento e nem no do vizinho.</p>
<p>Foi pensando nas minhas visitas que resolvi dar uma utilizado à um painel de LED que fiz há uns 2 anos atrás (<a href="http://www.instructables.com/id/Build-a-low-cost-scrolling-LED-display-for-your-A/">aprendi aqui no instructables</a>) e colocá-lo na porta informando o número do apartamento.</p>
<p>Isso foi o que saiu:</p>
<div align="center"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/faLqOmF6EnM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/faLqOmF6EnM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</div>
<p><br/></p>
<div align="center"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/iiFfQ9Y9AoI&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/iiFfQ9Y9AoI&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</div>
<p><br/></p>
<h4><a name="consumo">Consumo de Bateria</a></h4>
<p>A Arduino consome em média 40mA/h. Uma bateria de 9v tem autonomia de aproximadamente 300mA/h. Ou seja, uma bateria de 9v ligada na Arduino não dura 8h.</p>
<p>Para resolver o problema fiz um &#8216;light switch&#8217; com um LDR para desligar a alimentação automaticamente quando a luz do corredor estiver apagada (tem um sensor de presença controlando a luz do corredor).</p>
<p>Segue esquemático do interruptor por luz (light switch):</p>
<p><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/light-switch.png"><img src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/light-switch-262x300.png" alt="" title="light-switch - esquematico" width="262" height="300" class="aligncenter size-medium wp-image-219" /></a></p>
<h4><a name="roubo">Possibilidade de Roubo</a></h4>
<p>Bem, infelizmente tenho que considerar a possibilidade roubarem meu número de porta. Para resolver o problema resolvi deixar a Arduino do lado de dentro da porta e só o painel do lado de fora, passando um cabo flat sobre a porta. Assim, em caso de furto levarão apenas o painel.</p>
<p>Por via das dúvidas montei um alarme com um buzzer que é acionado automaticamente se o fio for cortado, e ficará tocando até acabar a bateria ou alguém desligar manualmente.</p>
<p>Segue esquemático do alarme:</p>
<p><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/buzzer-alarm.png"><img src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/buzzer-alarm-300x168.png" alt="" title="buzzer-alarm" width="300" height="168" class="aligncenter size-medium wp-image-218" /></a></p>
<h4>Código</h4>
<p>O código para o painel de LED foi bastante trabalhoso. Fiz quando montei o painel, então nem me lembro bem como era.</p>
<p>Está disponível no github: <a href="https://github.com/lucasfragomeni/arduino/tree/master/LMPSample">https://github.com/lucasfragomeni/arduino/tree/master/LMPSample</a></p>
<h4>Fotos</h4>

<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-21-21-40-28/' title='2010-12-21 21.40.28'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-21-21.40.28-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-21 21.40.28" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-21-21-41-57/' title='2010-12-21 21.41.57'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-21-21.41.57-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-21 21.41.57" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-23-22-34-10/' title='2010-12-23 22.34.10'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-23-22.34.10-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-23 22.34.10" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-23-22-34-22/' title='2010-12-23 22.34.22'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-23-22.34.22-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-23 22.34.22" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-23-22-36-02/' title='2010-12-23 22.36.02'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-23-22.36.02-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-23 22.36.02" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/2010-12-23-22-36-06/' title='2010-12-23 22.36.06'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/2010-12-23-22.36.06-150x150.jpg" class="attachment-thumbnail" alt="" title="2010-12-23 22.36.06" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/light-switch/' title='light-switch - esquematico'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/light-switch-150x150.png" class="attachment-thumbnail" alt="" title="light-switch - esquematico" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-12/apartamento-108/buzzer-alarm/' title='buzzer-alarm'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/12/buzzer-alarm-150x150.png" class="attachment-thumbnail" alt="" title="buzzer-alarm" /></a>

]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2010-12/apartamento-108/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Arduino Hack Day &#8211; 20/nov/2010 &#8211; Semana da Mecatrônica &#8211; UnB</title>
		<link>http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/</link>
		<comments>http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 13:27:31 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[day]]></category>
		<category><![CDATA[dc]]></category>
		<category><![CDATA[eletronlivre]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackday]]></category>
		<category><![CDATA[introducao]]></category>
		<category><![CDATA[ldr]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[program-me]]></category>
		<category><![CDATA[programme]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/arduino/?p=166</guid>
		<description><![CDATA[Nesse final de semana aconteceu o segundo Hack Day de Brasília apoiado pela Elétron Livre, na Faculdade de Tecnologia da UnB.
Foi um evento que durou o ocupou o dia inteiro, contando com 5 mini-cursos.
Programação:

Primeiros passos com a Arduino
Ascendendo uma Tomada pela Internet
Controlando Motores com a Arduino
Programando Robôs
Produzindo de Placas e Shileds sem Sair de Casa

Material [...]]]></description>
			<content:encoded><![CDATA[<p>Nesse final de semana aconteceu o segundo Hack Day de Brasília apoiado pela <a href="http://www.eletronlivre.com.br" target="_new">Elétron Livre</a>, na Faculdade de Tecnologia da UnB.</p>
<p>Foi um evento que durou o ocupou o dia inteiro, contando com 5 mini-cursos.</p>
<h4>Programação:</h4>
<ul>
<li>Primeiros passos com a Arduino</li>
<li>Ascendendo uma Tomada pela Internet</li>
<li>Controlando Motores com a Arduino</li>
<li>Programando Robôs</li>
<li>Produzindo de Placas e Shileds sem Sair de Casa</li>
</ul>
<h4>Material e Recusos</h4>
<p>Os slides utilizados no encontro estão disponíveis aqui: <a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/Arduino-Hack-Day.pdf">Arduino-Hack-Day.pdf</a></p>
<p>Todos os códigos desenvolvidos estão disponíveis no Github: <a href="https://github.com/lucasfragomeni/Arduino-Hack-Day-2010-11-20" target="_new">Arduino-Hack-Day-2010-11-20</a></p>
<h4>Links</h4>
<ul>
<li>Referências</li>
<ul>
<li><a href="http://hackaday.com/category/arduino-hacks/" target="_new">Hack-a-day</a></li>
<li><a href="http://arduino.cc/en/Hacking/Programmer" target="_new">Burning sketches to the Arduino board with an external programmer</a></li>
<li><a href="http://www.arduino.cc/en/Reference/AttachInterrupt" target="_new">Arduino Interrupts</a></li>
<li><a href="http://www.eletronlivre.com.br/2010/04/interruptor-web-para-o-tomad.html" target="_new">Interruptor web para o Tomad@</a></li>
</ul>
<li>Lojas Virtuais</li>
<ul>
<li><a href="http://www.sparkfun.com" target="_new">www.sparkfun.com</a></li>
<li><a href="http://www.adafruit.com" target="_new">www.adafruit.com</a></li>
<li><a href="http://www.seeedstudio.com/depot" target="_new">www.seeedstudio.com/depot</a></li>
<li><a href="http://www.servocity.com" target="_new">www.servocity.com</a></li>
</ul>
</ul>
<h4>Fotos</h4>

<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04518p/' title='DSC04518p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04518p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04518p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04517p/' title='DSC04517p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04517p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04517p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04516p/' title='DSC04516p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04516p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04516p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04541p-2/' title='DSC04541p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04541p1-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04541p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04545p/' title='DSC04545p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04545p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04545p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04546p/' title='DSC04546p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04546p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04546p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04519p/' title='DSC04519p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04519p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04519p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04525p/' title='DSC04525p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04525p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04525p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04521p/' title='DSC04521p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04521p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04521p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04523p/' title='DSC04523p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04523p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04523p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04527p/' title='DSC04527p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04527p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04527p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04530p/' title='DSC04530p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04530p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04530p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04528p/' title='DSC04528p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04528p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04528p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04531p/' title='DSC04531p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04531p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04531p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04550p/' title='DSC04550p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04550p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04550p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04548p/' title='DSC04548p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04548p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04548p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04533p/' title='DSC04533p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04533p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04533p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04532p/' title='DSC04532p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04532p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04532p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04538p/' title='DSC04538p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04538p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04538p" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/dsc04539p/' title='DSC04539p'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/11/DSC04539p-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04539p" /></a>

]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2010-11/arduino-hack-day-20nov2010-semana-da-mecatronica-unb/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>XBee Environment Data Collector</title>
		<link>http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/</link>
		<comments>http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 00:11:03 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[presence]]></category>
		<category><![CDATA[shield]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[xbee]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/arduino/?p=117</guid>
		<description><![CDATA[After nearly two years in the &#8216;Arduino Business&#8217; (its more like the &#8216;Arduno Hobby&#8217; actually), I finally got my self a pair of XBees! Kept in a box for a month, but this weekend I&#8217;ve unpacked the hive and put them to make some honey.
This weekend me and a friend (Ian Gallina) set up the [...]]]></description>
			<content:encoded><![CDATA[<p>After nearly two years in the &#8216;Arduino Business&#8217; (its more like the &#8216;Arduno Hobby&#8217; actually), I finally got my self a pair of XBees! Kept in a box for a month, but this weekend I&#8217;ve unpacked the hive and put them to make some honey.</p>
<p>This weekend me and a friend (Ian Gallina) set up the XBees as &#8216;Coordinator&#8217; and &#8216;Router&#8217; and put the &#8216;router&#8217; on a shield with a pack of sensors (temperature, light and presence) collecting data from my living room and sending it over the air to my laptop. The idea was to save the data in a database so that It can be used to make graphs or publish it in a website showing the environment status for the room. Anyway, I probably won&#8217;t do it, for I need my Arduino for other hacks. <img src='http://lucasfragomeni.com/arduino/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Photo gallery</h3>

<a href='http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/dsc04401/' title='DSC04401'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/DSC04401-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04401" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/dsc04404/' title='DSC04404'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/DSC04404-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04404" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/dsc04407/' title='DSC04407'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/DSC04407-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04407" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/dsc04408/' title='DSC04408'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/DSC04408-150x150.jpg" class="attachment-thumbnail" alt="" title="DSC04408" /></a>

<h3>Parts used:</h3>
<ul>
<li>1x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=666">Arduino Duemilanove</a></li>
<li>2x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8691">XBee 2mW &#8211; Series 2.5</a></li>
<li>1x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9841">XBee Wireless Shield &#8211; Sparkfun</a></li>
<li>1x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9819">XBee Explorer Dongle</a></li>
<li>1x <a href="http://www.adafruit.com/index.php?main_page=product_info&amp;cPath=35&amp;products_id=165">TMP36 &#8211; Temperature Sensor</a></li>
<li>1x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9088">Photoresistor</a></li>
<li>1x <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8630">PIR Motion Sensor</a></li>
</ul>
<h3>Setting up the XBees</h3>
<p>Setting up the XBees was the most difficult part, since I had no idea how to do it or how it worked. After spending about 5 hours on it I got it all figured out.</p>
<p>I used <a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/xbee-setup.pdf" target="_new">this tutorial</a> for setting up the XBees.</p>
<p>Basically, you have to set one as the &#8216;Coordinator&#8217; and the others as &#8216;Router&#8217;. The coordinator is a &#8216;FFD &#8211; Fully Function Device&#8217; and can communicate with every device on the network (hence &#8216;Coordinator&#8217;). The cost: it spends more energy; the router on the other hand is more economic, since it operates as a &#8216;RFD &#8211; Reduced Function Device&#8217;. It can only communicate with the coordinator.</p>
<h3>Protoboard</h3>
<p>Comming soon&#8230;</p>
<h3>Code</h3>
<p><code> </code></p>
<p><code></p>
<pre>const int tmpSensorPin = 0;
const int lgtSensorPin = 1;
const int prsSensorPin = 2; 

const int prsLedPin = 13;

const int period = 2500;
const int aref = 3300;

void setup() {
  Serial.begin(9600);

  analogReference(EXTERNAL);
}

void loop() {
  int temperature = readTemperature();
  int light = readLight();
  int presence = readPresence();

  Serial.print("{");
  printKeyValue("tmp", temperature);
  printKeyValue("lgt", light);
  printKeyValue("prs", presence);
  Serial.println("}");

  delay(period);
}

/*
 * Read the temperature in oC
 */
int readTemperature() {
  // read the value from the sensor:
  int sensorValue = analogRead(tmpSensorPin);

  int voltageInMilli = sensorValue * (aref/1024);
  int celsius = (voltageInMilli - 500) / 10;

  return celsius;
}

/*
 * Read the light in lux, from 1 (moon light) to 10.000 (full day)
 */
int readLight() {
  // read the value from the sensor:
  int sensorValue = analogRead(lgtSensorPin);

  int voltageInMilli = sensorValue * (5000 / 1024);
  int lux = map(voltageInMilli, 0, 4500, 1, 10000);

  return lux;
}

/*
 * Read the presence
 */
int readPresence() {
  // read the value from the sensor:
  int sensorValue = analogRead(prsSensorPin);

  if(sensorValue == LOW) {
   digitalWrite(prsLedPin, HIGH);
   return HIGH;
  } else {
   digitalWrite(prsLedPin, LOW);
   return LOW;
  }
}

void printKeyValue(char key[], int value) {
  Serial.print(key);
  Serial.print("=");
  Serial.print(value);
  Serial.print(";");
}</pre>
<p></code></p>
<h3>Serial Capture</h3>
<p><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/xbee-edc-screen.jpg" target="_new"><img class="aligncenter size-medium wp-image-127" title="xbee-edc-screen" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/09/xbee-edc-screen-300x186.jpg" alt="" width="300" height="186" /></a></p>
<h3>Reference</h3>
<ul>
<li><a href="http://www.ladyada.net/learn/sensors/cds.html">Adafruits Photocell Tutorial</a></li>
<li><a href="http://www.ladyada.net/learn/sensors/tmp36.html">Adafruit&#8217;s Temperature Sensor Tutorial</a></li>
<li><a href="http://www.ladyada.net/learn/sensors/pir.html">Adafrut&#8217;s PIR Motion Sensor Tutorial</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2010-09/xbee-envonment-data-collector/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Light Seeker</title>
		<link>http://lucasfragomeni.com/arduino/2010-07/light-seeker/</link>
		<comments>http://lucasfragomeni.com/arduino/2010-07/light-seeker/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 07:50:11 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[photoresistor]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/arduino/?p=83</guid>
		<description><![CDATA[So, me and Darth (Rodrigo Otávio) made this &#8216;Light Seeker&#8217;, which is basically a pair of full rotation servos (360º) and a couple of photoresistors to sense the light intensity and find out where it comes from.

Parts

1x Arduino Duemilanove
2x Parallax Continuous Rotation Servos
2x Photocell resistor
2x 1kΩ Resistor
1x Protoshield (for mouting)
1x Battery pack (4 AA)

Source Code
We consulted [...]]]></description>
			<content:encoded><![CDATA[<p>So, me and Darth (Rodrigo Otávio) made this &#8216;Light Seeker&#8217;, which is basically a pair of full rotation servos (360º) and a couple of photoresistors to sense the light intensity and find out where it comes from.</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/0J8p1jrZeXY&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/0J8p1jrZeXY&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</p>
<h3><a name="parts"></a>Parts</h3>
<ul>
<li>1x Arduino Duemilanove</li>
<li>2x Parallax Continuous Rotation Servos</li>
<li>2x Photocell resistor</li>
<li>2x 1kΩ Resistor</li>
<li>1x Protoshield (for mouting)</li>
<li>1x Battery pack (4 AA)</li>
</ul>
<h3><a name="code"></a>Source Code</h3>
<p>We consulted this tutorial <a href="http://www.ladyada.net/learn/sensors/cds.html" target="_new">http://www.ladyada.net/learn/sensors/cds.html</a> for the photocells, but used a 1k resistor instead of a 10k, since I wanted the sensor more sensitive.</p>
<p>The source code can be downloaded <a href="http://lucasfragomeni.com/files/LightSeeker.pde" target="_new">here</a>.</p>
<h3><a name="gallery"></a>Photo Gallery</h3>

<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-10/' title='Foto-10'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-10-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-10" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-11/' title='Foto-11'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-11-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-11" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-12/' title='Foto-12'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-12-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-12" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-13/' title='Foto-13'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-13-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-13" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-14/' title='Foto-14'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-14-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-14" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-15/' title='Foto-15'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-15-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-15" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-16/' title='Foto-16'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-16-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-16" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-17/' title='Foto-17'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-17-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-17" /></a>
<a href='http://lucasfragomeni.com/arduino/2010-07/light-seeker/foto-18/' title='Foto-18'><img width="150" height="150" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/07/Foto-18-150x150.jpg" class="attachment-thumbnail" alt="" title="Foto-18" /></a>

]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2010-07/light-seeker/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Buzzle &#8211; Morse Code based Puzzle</title>
		<link>http://lucasfragomeni.com/arduino/2010-01/buzzle-morse-code-based-puzzle/</link>
		<comments>http://lucasfragomeni.com/arduino/2010-01/buzzle-morse-code-based-puzzle/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:24:27 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[buzzle]]></category>
		<category><![CDATA[código morse]]></category>
		<category><![CDATA[geocache]]></category>
		<category><![CDATA[morse code]]></category>
		<category><![CDATA[puzzle]]></category>
		<category><![CDATA[quebra-cabeça]]></category>
		<category><![CDATA[reverse]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/blog/?p=36</guid>
		<description><![CDATA[I was checking out the new posts on hackaday.org when I bumped into The Reverse Geocache Puzzle™ made by Mikal Hart.
I was amazed by it, so I immediately decided to make one for a good friend as a birthday gift. As I thought it through an idea of doing a hangman-like-puzzle using Morse Code popped into [...]]]></description>
			<content:encoded><![CDATA[<p>I was checking out the new posts on <a href="http://hackaday.com/category/arduino-hacks/">hackaday.org</a> when I bumped into <a href="http://arduiniana.org/projects/the-reverse-geo-cache-puzzle/">The Reverse Geocache Puzzle™</a> made by Mikal Hart.</p>
<p>I was amazed by it, so I immediately decided to make one for a good friend as a birthday gift. As I thought it through an idea of doing a hangman-like-puzzle using Morse Code popped into my head, and that&#8217;s what came out:</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/w6SHUrJuWlM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/w6SHUrJuWlM&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</p>
<p>It&#8217;s called &#8220;Buzzle&#8221;. It&#8217;s a locked box with a button on the front, a couple of LEDs on the top and a power plug on the back. When the button is pushed, it emits a &#8216;beep&#8217;. The longer you hold the button longer the box beeps.</p>
<p>Along with it is a card, like the one bellow, with instructions (in Portuguese&#8230; it&#8217;s enough to ask anyone to learn Morse Code):</p>
<p style="text-align: center;"><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/instrucoes.png"><img class="aligncenter size-full wp-image-45" title="instrucoes" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/instrucoes.png" alt="" width="602" height="285" /></a></p>
<div>The instructions goes basicly like this:</div>
<div>
<ul>
<li>A random word is picked up by the box and the challenger&#8217;s goal is to find it out, by telegraphing the right letters <em>sequentially</em> until the word is complete;</li>
<li>The number of letters in the word is buzzed out via Morse Code at the beginning;</li>
<li>The evaluation is made letter-by-letter. At the completion of a letter, the box evaluates if:
<ul>
<li>The letter is valid and is contained in the word. If not a <span style="color: #ff0000;"><strong>red</strong><span style="color: #000000;"><strong> </strong>LED</span></span><span style="color: #000000;"> will blink</span>;</li>
<li>The letter is contained in the word, but is not the next letter of the sequence, so a <span style="color: #ffcc00;"><strong>yellow</strong></span><span style="color: #ffcc00;"><strong> </strong></span>LED will blink;</li>
<li>The letter is contained and is the next letter of the sequence. In that case a <span style="color: #008000;"><strong>green </strong></span>LED will blink, indicating that the challenger got a letter right. So it&#8217;s time to try the next letter (which may be any letters that triggered the <span style="color: #ffcc00;"><strong>yellow</strong></span> LED);</li>
</ul>
</li>
<li>If the challenger get 10 errors (<strong><span style="color: #ff0000;">red</span></strong> LED), then he looses the game and it starts again with another word.</li>
</ul>
</div>
<p>The hardest part of making it was thinking of the rules and how to feedback the challenger, for there are limited resources for that (a couple of LED).</p>
<h2>Parts Used:</h2>
<ul>
<li>1x &#8211; A box! I bought this one at <a title="Torre de TV, em Brasília, Brasil." href="http://maps.google.com/?ie=UTF8&amp;ll=-15.790581,-47.892977&amp;spn=0.00286,0.004823&amp;t=h&amp;z=18" target="_blank">Feira da Torre</a>, at <a href="http://maps.google.com/?ie=UTF8&amp;ll=-15.779039,-47.831726&amp;spn=0.73213,1.234589&amp;z=10" target="_blank">Brasília (Brazil)</a>.</li>
<li>1x &#8211; Arduino Dicemillenove (I tryed a Boarduino, but since mine is buggy because of some wrong caps, the servo was twitching) &#8211; the brains</li>
<li>1x &#8211; 180° Servo &#8211; Tower Pro SG90 &#8211; the muscles</li>
<li>1x &#8211; Hashi (Japannese stick for eating) &#8211; the lock (which is 100% Mikal&#8217;s idea)</li>
<li>1x &#8211; A push button (I used a open/closed one to make my life easier implementing the &#8217;sleep mode&#8217;)</li>
<li>1x &#8211; A 5V buzzer</li>
<li>1x &#8211; Red-green-blue LED</li>
<li>1x &#8211; Yellow LED (I wasn&#8217;t happy with the yellow-mixed of the tri-color LED)</li>
<li>1x &#8211; A 9V battery snap connector (FAIL!)</li>
<li>1x &#8211; Power plug (SAVED MY ASS!)</li>
<li>1x &#8211; Wall adapter power supply 9V DC</li>
<li>1x &#8211; An acrylic box for the components</li>
<li>Lots of 220Ω resistors and 2 diodes (for the power)</li>
</ul>
<h2>Photos:<span style="font-weight: normal; font-size: small;"> </span></h2>
<p style="text-align: center;"><span style="font-weight: normal; font-size: small;"><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle05p.jpg"><img class="aligncenter size-medium wp-image-44" title="buzzle05p" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle05p-300x225.jpg" alt="" width="300" height="225" /></a> <a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle06p.jpg"><img class="aligncenter size-medium wp-image-58" title="buzzle06p" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle06p-300x225.jpg" alt="" width="300" height="225" /></a> </span><a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle01p.jpg"><img class="aligncenter size-medium wp-image-56" title="buzzle01p" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle01p-300x225.jpg" alt="" width="300" height="225" /></a> <a href="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle02p.jpg"><img class="aligncenter size-medium wp-image-57" title="buzzle02p" src="http://lucasfragomeni.com/arduino/wp-content/uploads/2010/01/buzzle02p-300x225.jpg" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2010-01/buzzle-morse-code-based-puzzle/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Arduino + Temperature Sensor TMP36 + LMP</title>
		<link>http://lucasfragomeni.com/arduino/2009-06/arduino-temperature-sensor-tmp36-lmp/</link>
		<comments>http://lucasfragomeni.com/arduino/2009-06/arduino-temperature-sensor-tmp36-lmp/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:12:19 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[lmp]]></category>
		<category><![CDATA[microcontroladora]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[TMP36]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/blog/?p=4</guid>
		<description><![CDATA[Using a Arduino Diecemillenove, a TMP36 temperature sensor, a Protoshield and a home made LMP (LED Matrix Panel).
I read the temperature from the sensor I wrote it to the LMP. As i rolled the temperature I put a frozen joice bag to see the temperature go down and then a coffee cup to see it go [...]]]></description>
			<content:encoded><![CDATA[<p>Using a Arduino Diecemillenove, a TMP36 temperature sensor, a Protoshield and a home made LMP (LED Matrix Panel).</p>
<p>I read the temperature from the sensor I wrote it to the LMP. As i rolled the temperature I put a frozen joice bag to see the temperature go down and then a coffee cup to see it go up.</p>
<p>I&#8217;ve done some cutting to make it faster while waiting for the temperature to change.</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/qD1PoKDSkOQ&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/qD1PoKDSkOQ&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</p>
<h4>References:</h4>
<p><a href="http://www.ladyada.net/learn/sensors/tmp36.html">Ladyada Tutorials &#8211; Temperature</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2009-06/arduino-temperature-sensor-tmp36-lmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino + 5&#215;6 LMP (LED Matrix Panel)</title>
		<link>http://lucasfragomeni.com/arduino/2009-06/arduino-5x6-lmp-led-matrix-panel/</link>
		<comments>http://lucasfragomeni.com/arduino/2009-06/arduino-5x6-lmp-led-matrix-panel/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 16:09:28 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[lmp]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[microcontroladora]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[panel]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/blog/?p=10</guid>
		<description><![CDATA[A cheap homemade 5&#215;6 LED Matrix Panel, build under the instructions on this website: http://www.instructables.com/id/Build-a-low-cost-scrolling-LED-display-for-your-A/

]]></description>
			<content:encoded><![CDATA[<p>A cheap homemade 5&#215;6 LED Matrix Panel, build under the instructions on this website: <a title="http://www.instructables.com/id/Build-a-low-cost-scrolling-LED-display-for-your-A/" href="http://www.instructables.com/id/Build-a-low-cost-scrolling-LED-display-for-your-A/">http://www.instructables.com/id/Build-a-low-cost-scrolling-LED-display-for-your-A/</a></p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/81uPdW7S8N0&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/81uPdW7S8N0&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</p>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2009-06/arduino-5x6-lmp-led-matrix-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino + Mouse + 2 Servos</title>
		<link>http://lucasfragomeni.com/arduino/2009-05/arduino-mouse-2-servos/</link>
		<comments>http://lucasfragomeni.com/arduino/2009-05/arduino-mouse-2-servos/#comments</comments>
		<pubDate>Sun, 31 May 2009 16:04:31 +0000</pubDate>
		<dc:creator>Lucas Fragomeni</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[microcontroladora]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[servo]]></category>

		<guid isPermaLink="false">http://lucasfragomeni.com/blog/?p=14</guid>
		<description><![CDATA[Controlling two servos using a PS2 optical mouse with Arduino.
Hardware: got a PS2 female plug, soldered the wires as indicated in this post at arduino playground (http://www.arduino.cc/playground/ComponentLib/Ps2mouse) and pluged a PS2 mouse on it;
Software: used the library from the same post and two global variables to store X and Y absolute positions (since the library [...]]]></description>
			<content:encoded><![CDATA[<p>Controlling two servos using a PS2 optical mouse with Arduino.</p>
<p>Hardware: got a PS2 female plug, soldered the wires as indicated in this post at arduino playground (<a title="http://www.arduino.cc/playground/ComponentLib/Ps2mouse)" dir="ltr" rel="nofollow" href="http://www.arduino.cc/playground/ComponentLib/Ps2mouse)" target="_blank">http://www.arduino.cc/playground/ComponentLib/Ps2mouse)</a> and pluged a PS2 mouse on it;<br />
Software: used the library from the same post and two global variables to store X and Y absolute positions (since the library returns the relative position from zero).</p>
<p style="text-align: center;"><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/pyMsH3jwMUw&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0" width="425px" height="355px">
<param name="movie" value="http://www.youtube.com/v/pyMsH3jwMUw&amp;fs=0&amp;rel=0&amp;autoplay=0&amp;loop=0&amp;egm=0&amp;border=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;showsearch=1&amp;showinfo=1&amp;iv_load_policy=1&amp;cc_load_policy=0"></param>
</object>
</p>
]]></content:encoded>
			<wfw:commentRss>http://lucasfragomeni.com/arduino/2009-05/arduino-mouse-2-servos/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

