<?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>Churadesign &#187; arduino</title>
	<atom:link href="http://www.churadesign.com/tag/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.churadesign.com</link>
	<description>system &#38; web design</description>
	<lastBuildDate>Sun, 24 May 2009 13:38:58 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Arduinoコンテスト2008</title>
		<link>http://www.churadesign.com/2008/06/02/arduino%e3%82%b3%e3%83%b3%e3%83%86%e3%82%b9%e3%83%882008/</link>
		<comments>http://www.churadesign.com/2008/06/02/arduino%e3%82%b3%e3%83%b3%e3%83%86%e3%82%b9%e3%83%882008/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 04:17:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article (記事)]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.churadesign.com/2008/06/02/arduino%e3%82%b3%e3%83%b3%e3%83%86%e3%82%b9%e3%83%882008/</guid>
		<description><![CDATA[Arduinoをつかった各種ハードウェアのコンテスト結果優勝者の映像が公開されています。 Arduinoを使ったドアのロックシステムやGPSと連動した方向指示機、ロボットなどおもしろいソリューションが公開されています。]]></description>
			<content:encoded><![CDATA[<p>Arduinoをつかった各種ハードウェアのコンテスト結果優勝者の<a href="http://www.libelium.com/tienda/catalog/contest.php">映像が公開</a>されています。</p>
<p>Arduinoを使ったドアのロックシステムやGPSと連動した方向指示機、ロボットなどおもしろいソリューションが公開されています。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.churadesign.com/2008/06/02/arduino%e3%82%b3%e3%83%b3%e3%83%86%e3%82%b9%e3%83%882008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ArduinoでFonとシリアル通信(DD-WRT化)</title>
		<link>http://www.churadesign.com/2008/05/19/arduino%e3%81%a7fon%e3%81%a8%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e9%80%9a%e4%bf%a1dd-wrt%e5%8c%96/</link>
		<comments>http://www.churadesign.com/2008/05/19/arduino%e3%81%a7fon%e3%81%a8%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e9%80%9a%e4%bf%a1dd-wrt%e5%8c%96/#comments</comments>
		<pubDate>Mon, 19 May 2008 06:39:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article (記事)]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[fon]]></category>

		<guid isPermaLink="false">http://www.churadesign.com/2008/05/19/arduino%e3%81%a7fon%e3%81%a8%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e9%80%9a%e4%bf%a1dd-wrt%e5%8c%96/</guid>
		<description><![CDATA[しばらくFonとして運用していましたが、MyPlace、FON_APともあまりにも遅く、接続が頻繁に途切れるなどトラブルが多かったので物置に眠っていたのですが、DD-WRT化の実験のために取り出してきました。 OSX + Arduino + Fonで正常に書き換えできましたのでメモしておきます。 コネクタケーブル作成 材料 Fon Arduino ケーブル 1&#215;6メスコネクタ コネクタへケーブルを次のようにはんだづけします。 黒: GND &#8211; 1pin 緑: TX &#8211; 3pin 黄: RX &#8211; 4pin   Fon、Arduinoと接続 FonにはGND（黒）を箱側にして2列のIC側に接続します。Arduinoには黒-GND、緑-TX-6ピン、黄-RX-7ピンに接続します。 ソフトウェア AF_SoftSerial libraryをダウンロードし、Arduinoのディレクトリのhardware/libraryにコピーします。 Arduinoに次のコードを入力し転送します。 [sourcecode language='c'] #include AFSoftSerial mySerial = AFSoftSerial(6, 7); &#8230; <a href="http://www.churadesign.com/2008/05/19/arduino%e3%81%a7fon%e3%81%a8%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e9%80%9a%e4%bf%a1dd-wrt%e5%8c%96/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.churadesign.com/wp-content/uploads/2008/05/arduino-and-fon.jpg" alt="arduino_and_fon" width="480" height="360" /></p>
<p>しばらくFonとして運用していましたが、MyPlace、FON_APともあまりにも遅く、接続が頻繁に途切れるなどトラブルが多かったので物置に眠っていたのですが、DD-WRT化の実験のために取り出してきました。</p>
<p>OSX + Arduino + Fonで正常に書き換えできましたのでメモしておきます。</p>
<h2>コネクタケーブル作成</h2>
<p>材料</p>
<ul>
<li>Fon</li>
<li>Arduino</li>
<li>ケーブル</li>
<li>1&#215;6メスコネクタ</li>
</ul>
<p>コネクタへケーブルを次のようにはんだづけします。</p>
<ul>
<li>黒: GND &#8211; 1pin</li>
<li>緑: TX &#8211; 3pin</li>
<li>黄: RX &#8211; 4pin</li>
</ul>
<p> </p>
<h2>Fon、Arduinoと接続</h2>
<p><img style="float:left;" src="http://www.churadesign.com/wp-content/uploads/2008/05/img-0519.jpg" alt="IMG_0519.JPG" width="480" height="360" /> <img src="http://www.churadesign.com/wp-content/uploads/2008/05/img-0521.jpg" alt="IMG_0521.JPG" width="480" height="360" /></p>
<p>FonにはGND（黒）を箱側にして2列のIC側に接続します。Arduinoには黒-GND、緑-TX-6ピン、黄-RX-7ピンに接続します。</p>
<h2>ソフトウェア</h2>
<p><a href="http://www.ladyada.net/make/eshield/AFSoftSerial.zip">AF_SoftSerial library</a>をダウンロードし、Arduinoのディレクトリの<strong>hardware/library</strong>にコピーします。</p>
<p>Arduinoに次のコードを入力し転送します。<br />
[sourcecode language='c']<br />
#include <AFSoftSerial.h></p>
<p>AFSoftSerial mySerial =  AFSoftSerial(6, 7);</p>
<p>void setup()  {<br />
pinMode(13, OUTPUT);<br />
Serial.begin(9600);<br />
// set the data rate for the SoftwareSerial port<br />
mySerial.begin(9600);<br />
}</p>
<p>void loop()                     // run over and over again<br />
{<br />
if (mySerial.available()) {<br />
Serial.print((char)mySerial.read());<br />
}<br />
if (Serial.available()) {<br />
mySerial.print((char)Serial.read());<br />
}<br />
}<br />
[/sourcecode]</p>
<h2>接続</h2>
<p>Fonの電源を入れるとシリアルコンソールに起動画面が表示されるはずです。</p>
<p>OSXでは</p>
<p>ターミナルを立ち上げ</p>
<p class="terminal">screen /dev/tty.usbserial-A4001sLW</p>
<p>とすることで、Fonと接続できます。接続ができたら<a title="こちらの手順" href="http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing">こちらの手順</a>にそってDD-DRT化することができます。</p>
<h2>備考</h2>
<p>FonのRXを接続したままでは電源を入れても起動しない場合があります。その場合はArduinoから黄色のケーブルを抜いておいて起動メッセージが表示された後にケーブルを接続します。</p>
<h2>参考:</h2>
<p>http://www.ladyada.net/make/eshield/download.html</p>
<p>http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Flashing</p>
<p>http://jauzsi.hu/2006/10/13/inside-of-the-fonera</p>
<p>http://www.easy2design.de/bla/?page_id=98</p>
<p>http://labs.echoditto.com/hacking-la-fonera-2</p>
<p>http://www.mariomix.net/mariomix-blog/2006/11/hacking-la-fonera-parte-3/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.churadesign.com/2008/05/19/arduino%e3%81%a7fon%e3%81%a8%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e9%80%9a%e4%bf%a1dd-wrt%e5%8c%96/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

