<?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>The Daily Duino &#187; Phone</title>
	<atom:link href="http://dailyduino.com/archives/category/communication/phone/feed" rel="self" type="application/rss+xml" />
	<link>http://dailyduino.com</link>
	<description>mostly daily arduino projects and news</description>
	<lastBuildDate>Fri, 04 Dec 2009 19:46:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Getting Started with Pachube &amp; Arduino</title>
		<link>http://dailyduino.com/archives/616</link>
		<comments>http://dailyduino.com/archives/616#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:18:50 +0000</pubDate>
		<dc:creator>Morgellon</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Communication]]></category>
		<category><![CDATA[Optical]]></category>
		<category><![CDATA[Pachube]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Sensors]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Based]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=616</guid>
		<description><![CDATA[Another post on Pachube and how easy it is to get setup and going. This post will cover the basic steps on how to get some sensors online!  I will be using my project of two light sensors as an example.  The status of my light sensors are viewable at http://www.pachube.com/feeds/2145 Pachube + Arduino from [...]]]></description>
			<content:encoded><![CDATA[<p>Another post on Pachube and how easy it is to get setup and going. This post will cover the basic steps on how to get some sensors online!  I will be using my project of two light sensors as an example.  The status of my light sensors are viewable at <a title="http://www.pachube.com/feeds/2145" href="http://www.pachube.com/feeds/2145" target="_blank">http://www.pachube.com/feeds/2145</a></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" 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://vimeo.com/moogaloop.swf?clip_id=5320339&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=5320339&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/5320339">Pachube + Arduino</a> from <a href="http://vimeo.com/morgellon">Morgellon</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><strong>STEP ONE: </strong><em>GET A PACHUBE ACCOUNT!</em></p>
<p>Head over to the <a title="http://www.pachube.com/" href="http://www.pachube.com/" target="_blank">Pachube</a> website and see various sensors from all over the world and view their status.  Be sure to view the <a title="http://community.pachube.com/about" href="http://community.pachube.com/about" target="_blank">ABOUT</a> page, this describes INPUTs and OUTPUTs, along with ways to interface with Pachube and your sensors.  The <a title="http://community.pachube.com/quickstart" href="http://community.pachube.com/quickstart" target="_blank">QUICKSTART</a> page has the details to get started and how to use your API.  Pachube is still in beta, so you&#8217;ll need to get an invite code&#8230; but no worries, Pachube has an email address on the QUICKSTART page.  Just send them and email asking for an invite and what you would like to do.  If they let me in&#8230; they will let anyone in! <img src='http://dailyduino.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>STEP TWO: </strong><em>PREPARE ARDUINO! </em></p>
<p>The Arduino can be interfaced with Pachube <strong>two</strong> ways: 1. With an Ethernet shield <strong>OR</strong> 2. Via USB connected to a PC running Processing&#8230; which is the way used in this tutorial&#8230; as I feel it is an easy and inexpensive way.  You can learn more about each way at the <a title="http://community.pachube.com/arduino" href="http://community.pachube.com/arduino" target="_blank">Pachube Arduino</a> page.</p>
<p>To prep the Arduino, you need to connect the sensors you will be using and <em><strong>verify</strong></em> <strong>that they are working correctly!</strong> Once the sensors are good, then upload the &#8220;Standard Firmata&#8221; to the Arduino.  Now the Arduino is prepped for Pachube!  Leave the Arduino connected to the PC.</p>
<p><strong>STEP THREE: </strong><em>PREPARE PROCESSING!</em></p>
<p>To have Processing communicate easily with Pachube, you will need to add a few libraries.  They are the Pachuino, Arduino and EEML libraries, they are available and there is more info at the <a title="http://community.pachube.com/node/13" href="http://community.pachube.com/node/13" target="_blank">PACHUINO</a> page.  Download, unzip and move them to the <strong>libraries</strong> folder, in your <strong>sketchbook</strong> folder.  Now Processing is ready!</p>
<p><strong>STEP FOUR: </strong><em>PREPARE INPUT FEED!</em></p>
<p>Once you have a Pachube account and your API key, go ahead and set up a new feed for your sensors.  Since I have light sensors, I started a new <a title="http://www.pachube.com/feeds/new" href="http://www.pachube.com/feeds/new" target="_blank">INPUT FEED</a>.  I chose to make my feed &#8220;manual&#8221; (as this is easier for me) which means Pachube gets updates only when I send them.  Instead of Pachube connecting directly to my PC to pull the info.</p>
<p><strong>STEP FIVE: </strong><em>PREPARE CODE FOR PROCESSING!</em></p>
<p>Once you have the libraries in the folder, you are ready to start Processing and start coding.  Below is the code I used for my light sensor.  This was taken from the sample code and stripped to make it more simple. I added a LED on pin 11 to light up (to let me know when my Arduino was running) and a delay(1500).</p>
<p>Be sure to add you API Key, and the URL of your INPUT FEED!</p>
<p><em>import processing.serial.*;<br />
import cc.arduino.*;<br />
import eeml.*;<br />
import pachuino.*;</em></p>
<p><em>Pachuino p;<br />
Arduino arduino;<br />
int ledPin = 11;</em></p>
<p><em>void setup(){<br />
p = new Pachuino(this, Arduino.list()[0], 115200);<br />
p.manualUpdate(&#8220;http://www.pachube.com/api/2145.xml&#8221;); // change URL &#8212; this is the feed you want to update<br />
p.setKey(&#8220;&#8212;YOUR API KEY HERE&#8212;&#8221;);</em></p>
<p><em>// local sensors<br />
p.addLocalSensor(&#8220;analog&#8221;, 0,&#8221;Light Sensor Inside&#8221;);<br />
p.addLocalSensor(&#8220;analog&#8221;, 1,&#8221;Light Sensor Outside&#8221;);<br />
}</em></p>
<p><em>void draw(){<br />
//p.debug();<br />
p.digitalWrite(ledPin, Arduino.HIGH);<br />
delay(1500);<br />
}</em></p>
<p><em>// you don&#8217;t need to change any of these</em></p>
<p><em>void onReceiveEEML(DataIn d){<br />
p.updateRemoteSensors(d);<br />
}</em></p>
<p><strong>STEP SIX: </strong><em>LAUNCH CODE AND COLLECT DATA!</em></p>
<p>Make sure that:</p>
<ul>
<li>Sensors are <em>*working*</em> and connected to Arduino</li>
<li>Arduino is running &#8220;Standard Firmata&#8221; and connected to computer</li>
<li>Processing is collecting sensor data from Arduino</li>
<li>Computer has Internet connection</li>
</ul>
<p>Now run your program and begin collecting data and sharing it on the web!!  Check your feed to make sure you data is being transmitted.  Have fun and happy tinkering!</p>
<p>&#8211;Morgellon OUT!</p>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/616/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Arduino &amp; Moblie Phone Communications</title>
		<link>http://dailyduino.com/archives/439</link>
		<comments>http://dailyduino.com/archives/439#comments</comments>
		<pubDate>Thu, 08 Jan 2009 19:48:02 +0000</pubDate>
		<dc:creator>Morgellon</dc:creator>
				<category><![CDATA[Communication]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Serial]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://dailyduino.com/?p=439</guid>
		<description><![CDATA[For several years, I have been a user of various smart-phones of different makes and models.  Once I used my first smart-phone, I was truly hooked by the &#8220;life style&#8221;. Soon, I was left with little desire to return to a &#8220;normal&#8221; phone that &#8220;just made calls&#8221;. I am always finding new applications that remind [...]]]></description>
			<content:encoded><![CDATA[<p>For several years, I have been a user of various smart-phones of different makes and models.  Once I used my first smart-phone, I was truly hooked by the &#8220;life style&#8221;. Soon, I was left with little desire to return to a <em>&#8220;normal&#8221;</em> phone that <em>&#8220;just made calls&#8221;</em>. I am always finding new applications that remind me a smart-phone is more like a small computer that is capable of making phone calls, than just a fancy phone.</p>
<p>When I entered the world of the *duinos, I remember the question <em>&#8220;Can I hook up my Arduino to my phone?&#8221;</em> entering somewhere in the back of my mind.  There it sat, in the deep recesses of the mind&#8230;. <em><strong>until recently</strong></em>.</p>
<p>Ideally, I would like the ability to plug in or sync an Arduino and run the Arduino IDE on a mobile phone.  I have little desire to replace my computer and keyboard for a phone as my main environment.  Although, I would like the ability to use the phone as a &#8220;field unit&#8221;. Perhaps using it to edit, tweak, or update versions of a sketch without the need of a PC or laptop.</p>
<p>I have no idea if this is at all possible&#8230; but in the course of searching the internet for answers I have found some interesting projects with *duino&#8217;s and mobile phones!<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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://www.youtube.com/v/cgZiBl7Uzdo&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/cgZiBl7Uzdo&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<ul>
<li style="text-align: center;"><strong>Here is an example of a BT Arduino communicating with a mobile phone over Blue-Tooth.</strong> http://www.youtube.com/watch?v=cgZiBl7Uzdo</li>
</ul>
<p>This example is neat, but&#8230; the blue-tooth Arduino can be pricey and I&#8217;m really looking for a way to physical connect the arduino over USB&#8230; so we keep searching&#8230;<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" 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://www.youtube.com/v/mEM-VHZTqhk&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/mEM-VHZTqhk&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<ul>
<li style="text-align: center;"><strong>This example has serial output from an Arduino being displayed on an iPod Touch or iPhone. </strong>http://www.youtube.com/watch?v=mEM-VHZTqhk</li>
</ul>
<p>This example caught my eye and interest! (Possibly due to the nature of owning an iPhone&#8230;) So, I decided to poke around and see if I could find more info on the process. Most of what I found was in Japanese or broken links.</p>
<p><a href="http://d.hatena.ne.jp/tabletlet/20080328/" target="_blank">http://d.hatena.ne.jp/tabletlet/20080328/</a> The site where the video originated and the Google translation <a href="http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fd.hatena.ne.jp%2Ftabletlet%2F20080328%2F&amp;sl=ja&amp;tl=en&amp;history_state0=" target="_blank">http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fd.hatena.ne.jp%2Ftabletlet%2F20080328%2F&amp;sl=ja&amp;tl=en&amp;history_state0=</a></p>
<p><a href="http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fd.hatena.ne.jp%2Ftabletlet%2F20080328%2F&amp;sl=ja&amp;tl=en&amp;history_state0=" target="_blank"></a></p>
<p><a href="http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fd.hatena.ne.jp%2Ftabletlet%2F20080328%2F&amp;sl=ja&amp;tl=en&amp;history_state0=" target="_blank"></a><br />
<a href="http://novi.10.dtiblog.com/blog-entry-213.html" target="_blank">http://novi.10.dtiblog.com/blog-entry-213.html</a> Another site in Japanese with a bit more info on establishing the serial communications and the Google translation <a href="http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fnovi.10.dtiblog.com%2Fblog-entry-213.html&amp;sl=ja&amp;tl=en&amp;history_state0=" target="_blank">http://translate.google.com/translate?hl=en&amp;ie=UTF-8&amp;u=http%3A%2F%2Fnovi.10.dtiblog.com%2Fblog-entry-213.html&amp;sl=ja&amp;tl=en&amp;history_state0=</a></p>
<p><a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207058161" target="_blank">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207058161</a> A post in the Arduino.cc forums about connecting Arduino to iPod/iPhone serial.</p>
<p><a href="http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial" target="_blank">http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial</a> Info about iPod/iPhone serial communications.</p>
<p><a href="http://pinouts.ru/Devices/ipod_pinout.shtml" target="_blank">http://pinouts.ru/Devices/ipod_pinout.shtml</a> iPod/iPhone connector pin-out.</p>
<p>And of course, a few sources for iPod connectors and breakout boards:</p>
<ul>
<li><a href="http://www.seeedstudio.com/depot/ipodext-assembled-version-breakout-for-ipod-p-148.html" target="_blank">http://www.seeedstudio.com/depot/ipodext-assembled-version-breakout-for-ipod-p-148.html</a></li>
<li><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=633" target="_blank">http://www.sparkfun.com/commerce/product_info.php?products_id=633</a></li>
<li><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8295">http://www.sparkfun.com/commerce/product_info.php?products_id=8295</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dailyduino.com/archives/439/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

