<?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>Sindono Labs &#187; Arduino</title>
	<atom:link href="http://www.sindono.com/category/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sindono.com</link>
	<description>Where I make, break and revelop</description>
	<lastBuildDate>Mon, 19 Jul 2010 21:14:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twittering prototype offline</title>
		<link>http://www.sindono.com/2010/06/29/twittering-prototype-offline/</link>
		<comments>http://www.sindono.com/2010/06/29/twittering-prototype-offline/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 20:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[G3H]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sindono.com/?p=124</guid>
		<description><![CDATA[A quick update on the G3H project. I took the twittering prototype offline as I need the electronics for the next step: wireless communication between the greenhouse and the modem inside the house.
I have spent several nights already trying to get two Arduino boards, each equipped with an Xbee-shield, to communicate. I worked on the [...]]]></description>
			<content:encoded><![CDATA[<p>A quick update on the G3H project. I took the twittering prototype offline as I need the electronics for the next step: wireless communication between the greenhouse and the modem inside the house.</p>
<p>I have spent several nights already trying to get two Arduino boards, each equipped with an Xbee-shield, to communicate. I worked on the<a href="http://www.arduino.cc/en/Main/ArduinoXbeeShield"> example provided on the Arduino site</a>, but no luck <img src='http://www.sindono.com/wp/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  It turned out that I obtained two shields with &#8220;Series 2&#8243; radio&#8217;s, which meant the example code would not work right off the bat. But, <a href="http://blog.didierstevens.com/2009/06/15/quickpost-arduino-xbee-shield-series-2-configuration/">a post on Didier Stevens&#8217; website </a>pointed me in the right direction and eventually I was able to get both boards running and communicating.</p>
<p>The two boards seem to be communicating as one is sending the signal to switch an LED on and off every second on the other board. I see the LED switching on and off, but the behaviour is quite erratic. So, more investigation to be done there&#8230;</p>
<p>To be continued&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sindono.com/2010/06/29/twittering-prototype-offline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sensor prototype is twittering!</title>
		<link>http://www.sindono.com/2010/04/27/sensor-prototype-is-twittering/</link>
		<comments>http://www.sindono.com/2010/04/27/sensor-prototype-is-twittering/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:31:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[G3H]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sindono.com/?p=91</guid>
		<description><![CDATA[Yes, it is true! I found some time to play with the arduino and the new ethernet shield I had ordered. And I got it to such a point that temperature, light and moisture are measured and sent to twitter every few minutes. And I am also trying to get it to post to pachube.com, [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, it is true! I found some time to play with the arduino and the new ethernet shield I had ordered. And I got it to such a point that temperature, light and moisture are measured and sent to twitter every few minutes. And I am also trying to get it to post to pachube.com, with varying results so far. Currently, the sensors are attached to a box of soil growing fresh strawberry plants behind glass.</p>
<p>If you want to follow the prototype on twitter, follow <a href="http://www.twitter.com/ProjectG3H">@ProjectG3H</a></p>
<p>There are some issues with the temperature readings as they spike to impossible levels every now and then. I will have to get into that later. But, for now the prototype is able to get environment data and connect to the internet to tell the world about them. And it was not a very hard thing to do. Very exciting!</p>
<p>I will do a thorough write-up later to share as much info as possible, but for now I am just so excited that this is actually sort of working, that I had to share!</p>
<p>Below is a little preview of the sensor data that is sent to pachube!</p>
<p>Temperature (in Celcius):<br />
<img src="http://www.pachube.com/feeds/6952/datastreams/0/history.png?w=600&amp;h=300&amp;c=33cc66&amp;b=true&amp;g=true&amp;t=@ProjectG3H%20Temperature%20readings&amp;l=Temperature%20in%20Celsius&amp;s=6&amp;r=3" alt="" /></p>
<p>Light (value from the LDR):</p>
<p><img class="alignnone" title="ProjectG3H Light levels" src="http://www.pachube.com/feeds/6952/datastreams/1/history.png?w=600&amp;h=300&amp;c=33cc66&amp;b=true&amp;g=true&amp;t=@ProjectG3H%20Light%20level%20readings&amp;l=Light%20level%20as%20seen%20by%20the%20LDR&amp;s=6&amp;r=3" alt="" width="600" height="300" /></p>
<p>Soil moisture level:</p>
<p><img class="alignnone" title="Project G3H Soil moisture level" src="http://www.pachube.com/feeds/6952/datastreams/2/history.png?w=600&amp;h=300&amp;c=33cc66&amp;b=true&amp;g=true&amp;t=@ProjectG3H%20Soil%20moisture%20readings&amp;l=Soil%20moisture%20level%20as%20read%20by%20two%20galvanized%20nails&amp;s=6&amp;r=3" alt="" width="600" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sindono.com/2010/04/27/sensor-prototype-is-twittering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading temperature from a temperature sensor</title>
		<link>http://www.sindono.com/2010/04/22/reading-temperature-from-a-temperature-sensor/</link>
		<comments>http://www.sindono.com/2010/04/22/reading-temperature-from-a-temperature-sensor/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 19:55:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sindono.com/?p=85</guid>
		<description><![CDATA[In the previous post, I showed that the temperature sensor returns a more or less meaningles value anywhere between 0 and 1023. The lower the value, the lower the temperature.
I also showed how to get a voltage reading instead of just a number. Today, I post a link to an article that accompanies Oomlout&#8217;s ARDX [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://www.sindono.com/2010/04/13/reading-meaningful-data-from-an-arduino-digital-pin/">previous post</a>, I showed that the temperature sensor returns a more or less meaningles value anywhere between 0 and 1023. The lower the value, the lower the temperature.</p>
<p>I also showed how to get a voltage reading instead of just a number. Today, I post a link to an article that accompanies <a href="http://www.oomlout.com/">Oomlout</a>&#8217;s <a href="http://www.oomlout.com/ards.html">ARDX kit</a>, about how to get an actual temperature from a temperature sensor.</p>
<p>Of course I could repeat all they say here and claim its my own, but as I learned it from using my <a href="http://www.oomlout.com/ards.html">ARDX kit</a>, it is logical to point you to the source: <a href="http://www.oomlout.com/a/products/ardx/circ-10">http://www.oomlout.com/a/products/ardx/circ-10</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sindono.com/2010/04/22/reading-temperature-from-a-temperature-sensor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading meaningful data from an Arduino digital pin</title>
		<link>http://www.sindono.com/2010/04/13/reading-meaningful-data-from-an-arduino-digital-pin/</link>
		<comments>http://www.sindono.com/2010/04/13/reading-meaningful-data-from-an-arduino-digital-pin/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 20:01:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sindono.com/?p=81</guid>
		<description><![CDATA[Tonight, I have spent some time looking into the sensor code for the G3H project. In the code I posted last week, sensors are read through a digital pin and exactly that value is displayed. A digital pin outputs a value between 0 and 1024 of type integer. An integer is a whole number, meaning [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight, I have spent some time looking into the sensor code for the G3H project. In the code I posted last week, sensors are read through a digital pin and exactly that value is displayed. A digital pin outputs a value between 0 and 1024 of type integer. An integer is a whole number, meaning no comma: 1, 2, 3, 4, 5 are integers, but 1.05 and 2.35 are not. Those numbers are usually called floats. <a href="http://en.wikipedia.org/wiki/Data_type" target="_blank">More info on integer, float and other data types can be found on wikipedia</a>.</p>
<p>If you measure the voltage on the pin, you will find that it is anywhere between 0V and 5V, where 0V corresponds to the digital value 0 and 5V corresponds to 1024. This is not entirely true as the minimum voltage is 0.005V, or 5 millivolts.</p>
<p>That means that each step up, measured digitally (the range between 0 and 1024) corresponds to 5V/1024 steps = 0.0048828125V.</p>
<p>This can be easily put into a short function you can use for all sensors using a digital pin:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/*</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* getVoltage() &#8211; return the voltage on the analoge input defined by pin</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*/</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">float getVoltage(int pin) {</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">return (analogRead(pin) * .004882813);</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// reading a digital pin returns a value between 0 and 1024, which corresponds to a voltage range between 0V and 5V.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">// So, one digital step means 5V/1024 = ~0.005V, or about 5 millivolt</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 92px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<blockquote><p>/*<br />
* getVoltage() &#8211; return the voltage on the analoge input defined by pin<br />
*<br />
*/<br />
float getVoltage(int pin) {<br />
return (analogRead(pin) * .004882813);<br />
// reading a digital pin returns a value between 0 and 1024, which corresponds to a voltage range<br />
// between 0V and 5V.<br />
// So, one digital step means 5V/1024 = ~0.005V, or about 5 millivolt<br />
}</p></blockquote>
<p>With this value it is a lot easier to translate the value read from the sensor to meaningful data. In a future post I will show you how to use a thermistor to measure temperature and use this information to translate the voltage on the digital pin to degrees centrigrade or fahrenheit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sindono.com/2010/04/13/reading-meaningful-data-from-an-arduino-digital-pin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Got an Arduino!</title>
		<link>http://www.sindono.com/2010/01/21/got-an-arduino/</link>
		<comments>http://www.sindono.com/2010/01/21/got-an-arduino/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:15:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Learning]]></category>

		<guid isPermaLink="false">http://www.sindono.com/wp/?p=39</guid>
		<description><![CDATA[The site has not been updated a lot recently, at least not with posts. I have done some sanbox stuff with wordpress themes, etc. But, that does not mean I have not been sitting still. In fact, I have been very busy. Too busy to post updates. But, I expect that to change in the [...]]]></description>
			<content:encoded><![CDATA[<p>The site has not been updated a lot recently, at least not with posts. I have done some sanbox stuff with wordpress themes, etc. But, that does not mean I have not been sitting still. In fact, I have been very busy. Too busy to post updates. But, I expect that to change in the coming weeks and months.</p>
<p>To start the new year well in the tinkering department, I bought an <a href="http://www.arduino.cc">Arduino</a>! What&#8217;s that, you ask? Well, the Arduino website explains it thusly:</p>
<blockquote><p><em>Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It&#8217;s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.</em></p>
<p><em>Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the <a href="http://arduino.cc/en/Reference/HomePage">Arduino programming language</a><a rel="nofollow" href="http://wiring.org.co/">Wiring</a>) and the Arduino development environment (based on <a rel="nofollow" href="http://www.processing.org/">Processing</a>).  Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, <span>MaxMSP</span>).</em></p></blockquote>
<div id="attachment_42" class="wp-caption aligncenter" style="width: 586px"><a href="http://www.sindono.com/wp/wp-content/uploads/2010/01/arduino800.jpg"><img class="size-full wp-image-42  " title="Arduino Duemilanove board" src="http://www.sindono.com/wp/wp-content/uploads/2010/01/arduino800.jpg" alt="Arduino Duemilanove board" width="576" height="432" /></a><p class="wp-caption-text">Arduino Duemilanove board</p></div>
<p>It has been around for a few years now, and I have always had an interest in programming microprocessors to allow devices, contraptions, etc to be functional independent of a PC. With Arduino, interfacing with the outside world is easier than ever which convinced me I should give it a try.</p>
<p>Since I live in the Netherlands, I looked for a resource in my country that provided Arduino&#8217;s. After looking through the list of suppliers in the Netherlands, I ended up buying from Floris.CC and ordere the &#8220;<a href="http://www.ardx.org/">Arduino Experimentation Kit</a>&#8220;, made by <a href="http://www.oomlout.com">Oomlout</a> and ordered from <a href="http://www.Floris.cc">Floris.cc</a></p>
<p>Since receiving it, I played around with the thing a bit and what struck me most is the ease with which you can build contraptions that sense and act on their environment. In the next few weeks I will do a write up on the ARDX kit itself.</p>
<p>Playing (becaues that really is what it is!) with the Arduino is so much fun that it instantly sparks many creative ideas that this thing can help with. As those ideas are developed, I will do write-ups here to share the knowledge I gain.</p>
<p>If you want to know more about Arduino, get started with this <a href="http://blog.makezine.com/archive/2007/09/intro_to_the_arduino_week.html">PDFCast from Make Magazine</a>, or watch these <a href="http://www.youtube.com/view_play_list?p=7BFE4EEA325575FA&amp;search_query=arduino+101">&#8220;Arduino 101&#8243; video&#8217;s</a> on <a href="http://www.YouTube.com">YouTube</a>.</p>
<div id="attachment_44" class="wp-caption aligncenter" style="width: 522px"><a href="http://www.sindono.com/wp/wp-content/uploads/2010/01/arduinologo.png"><img class="size-full wp-image-44" title="Arduino Logo" src="http://www.sindono.com/wp/wp-content/uploads/2010/01/arduinologo.png" alt="Arduino Logo" width="512" height="512" /></a><p class="wp-caption-text">Arduino Logo</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.sindono.com/2010/01/21/got-an-arduino/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
