<?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>sundh.com</title>
	<atom:link href="http://www.sundh.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sundh.com/blog</link>
	<description>Technology / Wood / Electronics</description>
	<lastBuildDate>Sun, 29 Apr 2012 14:39:14 +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>Geek Girl Meetup in London</title>
		<link>http://www.sundh.com/blog/2012/04/geek-girl-meetup-in-london/</link>
		<comments>http://www.sundh.com/blog/2012/04/geek-girl-meetup-in-london/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 14:33:31 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Geek Girl Meetup 2012]]></category>
		<category><![CDATA[geekgirl]]></category>
		<category><![CDATA[society46]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=878</guid>
		<description><![CDATA[Spending the day at Geek Girl Meetup in London. Talked about The Sound of Football and my Arduino projects. 
In the Arduino session I presented my Depressed Shoe Shelf, the bend sensing belt Bad Posture, how to control electronics from the internet using Processing. 
]]></description>
			<content:encoded><![CDATA[<p>Spending the day at <a href="http://geekgirlmeetup.co.uk">Geek Girl Meetup in London</a>. Talked about <a href="http://thesoundoffootball.com">The Sound of Football</a> and my Arduino projects. </p>
<p>In the Arduino session I presented my <a href="http://www.sundh.com/blog/depressed-shoe-shelf/">Depressed Shoe Shelf</a>, the bend sensing belt <a href="https://vimeo.com/36315311">Bad Posture</a>, how to <a href="http://www.sundh.com/blog/interactive-lamp/">control electronics from the internet using Processing</a>. </p>
<p><a href="http://www.sundh.com/blog/wp-content/uploads/2012/04/google_campus_society46_6801.png"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/04/google_campus_society46_6801.png" alt="google_campus_society46_680" title="google_campus_society46_680" width="680" height="383" class="alignleft size-full wp-image-887" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/04/geek-girl-meetup-in-london/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino library for LED Message Display</title>
		<link>http://www.sundh.com/blog/2012/04/arduino-library-for-led-message-display/</link>
		<comments>http://www.sundh.com/blog/2012/04/arduino-library-for-led-message-display/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 17:53:23 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Arduino library]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[LED]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=856</guid>
		<description><![CDATA[Making life a lot easier I wrote an Arduino library that takes care of converting strings and calculating the checksum of all commands sent to the LED Message Display. Compared to the first example of sending text to the display the library can send commands of how long the text should display, how to be [...]]]></description>
			<content:encoded><![CDATA[<p>Making life a lot easier I wrote an Arduino library that takes care of converting strings and calculating the checksum of all commands sent to the LED Message Display. Compared to the <a href="http://arduino.sundh.com/2012/01/arduino-ethernet-shield-hooked-up-to-led-message-display/" target="_blank">first example of sending text to the display</a> the library can send commands of how long the text should display, how to be animated in and out and display European characters.  All included in the <a href="https://github.com/ellensundh/BockiMessageBoard" target="_blank">BockiMessageBoard library on Github</a>.</p>
<p><a href="http://www.sundh.com/blog/wp-content/uploads/2012/04/amplus_led_message_display_sundh.jpg"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/04/amplus_led_message_display_sundh.jpg" alt="amplus_led_message_display_sundh" title="amplus_led_message_display_sundh" width="680" height="358" class="alignleft size-full wp-image-871" /></a></p>
<p>The code below shows how to initiate and send messages:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;"><span class="co2">#include &lt;BockiMessageBoard.h&gt;</span></p>
<p>BockiMessageBoard messageBoard <span class="sy0">=</span> BockiMessageBoard<span class="br0">&#40;</span>0<span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// 0 is the Id of your message board</span></p>
<p><span class="kw4">void</span> setup <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span class="co1">// Configure the display before sending the text.</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw4">int</span> displayTime <span class="sy0">=</span> <span class="nu16">0.5</span><span class="sy0">;</span> <span class="co1">// Input 0.5 sec or 1 to 25 seconds</span><br />
&nbsp; &nbsp; &nbsp; messageBoard.<span class="me1">configure</span><span class="br0">&#40;</span>displayTime<span class="sy0">,</span>SCROLLLEFT<span class="sy0">,</span>VERTICALCLOSE<span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></p>
<p>
<span class="kw4">void</span> loop <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; String euroChars <span class="sy0">=</span> <span class="st0">&quot;Testing with European characters &lt;U45&gt;&lt;U44&gt;&lt;U76&gt;&lt;U65&gt;&lt;U64&gt;&lt;U61&gt;&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; messageBoard.<span class="me1">displayMessage</span><span class="br0">&#40;</span>PAGE_A<span class="sy0">,</span>euroChars<span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>The library generate serial data to the LED Message Display with this setup:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;"><span class="sy0">&lt;</span>ID00<span class="sy0">&gt;&lt;</span>L1<span class="sy0">&gt;&lt;</span>PA<span class="sy0">&gt;&lt;</span>FE<span class="sy0">&gt;&lt;</span>MA<span class="sy0">&gt;&lt;</span>WC<span class="sy0">&gt;&lt;</span>FD<span class="sy0">&gt;</span>MESSAGE CHECKSUM<span class="sy0">&lt;</span>E<span class="sy0">&gt;</span></p>
<p><span class="sy0">&lt;</span>ID00<span class="sy0">&gt;</span> <span class="sy0">-</span> The id of the message board. <br />
<span class="sy0">&lt;</span>L1<span class="sy0">&gt;</span> <span class="sy0">-</span> Line number<br />
<span class="sy0">&lt;</span>PA<span class="sy0">&gt;</span> <span class="sy0">-</span> Page id<br />
<span class="sy0">&lt;</span>FE<span class="sy0">&gt;</span> <span class="sy0">-</span> How the text will appear. <span class="me1">Scrolling</span><span class="sy0">,</span> twinkeling<span class="sy0">,</span> snowing&#8230;<br />
<span class="sy0">&lt;</span>MA<span class="sy0">&gt;</span> <span class="sy0">-</span> <br />
<span class="sy0">&lt;</span>WC<span class="sy0">&gt;</span> <span class="sy0">-</span> Waiting time. <span class="me1">How</span> <span class="kw4">long</span> to display text.<br />
<span class="sy0">&lt;</span>FD<span class="sy0">&gt;</span> <span class="sy0">-</span> How the text will disappear. <span class="me1">Scrolling</span><span class="sy0">,</span> twinkeling<span class="sy0">,</span> snowing&#8230;<br />
<span class="me1">MESSAGE</span> <span class="sy0">-</span> The message text to be displayed<br />
CHECKSUM <span class="sy0">-</span> Hex value calculated on all tag sabove.<br />
<span class="sy0">&lt;</span>E<span class="sy0">&gt;</span> <span class="sy0">-</span> End of data.</div>
</div>
<p>The circuit uses a <a href="http://en.wikipedia.org/wiki/Registered_jack#RJ11.2C_RJ14.2C_RJ25_wiring_details" target="_blank">RJ14 cable</a> to transfer the serial data to the display board:<br />
<a href="http://www.sundh.com/blog/wp-content/uploads/2012/04/ethernet_led_bb.png"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/04/ethernet_led_bb.png" alt="ethernet_led_bb" title="ethernet_led_bb" width="683" height="250" class="alignleft size-full wp-image-855" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/04/arduino-library-for-led-message-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make WiShield work in latest Arduino IDE</title>
		<link>http://www.sundh.com/blog/2012/02/make-wishield-work-in-latest-arduino-ide/</link>
		<comments>http://www.sundh.com/blog/2012/02/make-wishield-work-in-latest-arduino-ide/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 16:22:35 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[wishield]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=848</guid>
		<description><![CDATA[1. Download the WiShield library that has been optimized and fixed by users:
https://github.com/asynclabs/WiShield_user_contrib
2. Rename the folder to WiShield and put it into Arduino_sketch_folder/libraries
You might notice that just running a sketch with the WiShield library will generate errors like:
return type specified for &#8216;virtual void Server::write(uint8_t)&#8217;
clock-arch.c:44:20: error: wiring.h: No such file or directory
3. In order to get [...]]]></description>
			<content:encoded><![CDATA[<p>1. Download the WiShield library that has been optimized and fixed by users:
<div class="codesnip-container" ><a href="https://github.com/asynclabs/WiShield_user_contrib" rel="nofollow">https://github.com/asynclabs/WiShield_user_contrib</a></div>
<p>2. Rename the folder to WiShield and put it into Arduino_sketch_folder/libraries<br />
You might notice that just running a sketch with the WiShield library will generate errors like:</p>
<div class="codesnip-container" >return type specified for &#8216;virtual void Server::write(uint8_t)&#8217;</div>
<div class="codesnip-container" >clock-arch.c:44:20: error: wiring.h: No such file or directory</div>
<p>3. In order to get rid of these error you need to change the corresponding names in the following files:</p>
<p><strong>clock-arch.c</strong><br />
Replace #include &#8220;wiring.h&#8221; with #include &#8220;Arduino.h&#8221;</p>
<p><strong>WiShield.cpp</strong><br />
Replace #include &#8220;WProgram.h&#8221; to #include &#8220;Arduino.h&#8221;</p>
<p><strong>WiServer.cpp</strong><br />
Replace #include &#8220;WProgram.h&#8221; to #include &#8220;Arduino.h&#8221;<br />
Replace void Server::write(uint8_t.. to be size_t Server::write(uint8_t..</p>
<p><strong>WiServer.h</strong><br />
Replace virtual void write(uint8_t); to virtual size_t write(uint8_t);</p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/02/make-wishield-work-in-latest-arduino-ide/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Get analog value from Yellow Jacket</title>
		<link>http://www.sundh.com/blog/2012/02/get-analog-value-from-yellow-jacket/</link>
		<comments>http://www.sundh.com/blog/2012/02/get-analog-value-from-yellow-jacket/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 21:07:40 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Asynclabs]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[Rugged Circuits]]></category>
		<category><![CDATA[sensors]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=821</guid>
		<description><![CDATA[The Yellow Jacket wifi microcontroller originally from Asynclabs is being produced by The Rugged Circuits. I got one and here is a tutorial on how to read an analogue value from the board. 
The Yellow Jacket is using the library WiShield from Asynclabs. I have seen a lot of puzzled comments on how to get [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sundh.com/blog/wp-content/uploads/2012/02/rugged_circuit.jpg"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/02/rugged_circuit-300x224.jpg" alt="rugged_circuit" title="rugged_circuit" width="300" height="224" class="alignleft size-medium wp-image-838" /></a>The Yellow Jacket wifi microcontroller originally from Asynclabs is being produced by The Rugged Circuits. I got one and here is a tutorial on how to read an analogue value from the board. </p>
<p>The Yellow Jacket is using the library WiShield from Asynclabs. I have seen a lot of puzzled comments on how to get it working. Just running one of the WiShield examples in the latest Arduino IDE gave me a few errors:</p>
<p>&#8220;error: conflicting return type specified for &#8216;virtual void Server::write(uint8_t)&#8217;&#8221;</p>
<div style="clear:both;"></div>
<p>It seems like the WiShield library isn&#8217;t really up to sync with the latest Arduino IDE. So I used the older Arduino IDE and downloaded the <a href="http://ruggedcircuits.com/AM040/WiShield-1.3.0.zip">WiShield 1.3.0 library</a> which is made for the older Arduino 0022.</p>
<div style="clear:both;"></div>
<p><strong>Your network settings</strong><br />
Next thing I modified the example SimpleClient with my personal network settings. The local ip is the address where I will be able to access the board from and with that the sensor value of the analog input. In your network settings you can see what type of security settings your network has. Change the digit in code to correspond to your network&#8217;s security type. In my case I have got a WPA2 password that I enter in the code.</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;"><span class="kw4">unsigned</span> <span class="kw4">char</span> local_ip<span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#123;</span>192<span class="sy0">,</span>168<span class="sy0">,</span>2<span class="sy0">,</span>240<span class="br0">&#125;</span><span class="sy0">;</span> &nbsp; &nbsp; <span class="co1">// I choose a free IP address in my network</span><br />
<span class="kw4">unsigned</span> <span class="kw4">char</span> gateway_ip<span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#123;</span>192<span class="sy0">,</span>168<span class="sy0">,</span>2<span class="sy0">,</span>1<span class="br0">&#125;</span><span class="sy0">;</span> <span class="co1">// Address of my router</span><br />
<span class="kw4">unsigned</span> <span class="kw4">char</span> subnet_mask<span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#123;</span>255<span class="sy0">,</span>255<span class="sy0">,</span>255<span class="sy0">,</span>0<span class="br0">&#125;</span><span class="sy0">;</span><br />
<span class="kw4">const</span> prog_char ssid<span class="br0">&#91;</span><span class="br0">&#93;</span> PROGMEM <span class="sy0">=</span> <span class="br0">&#123;</span><span class="st0">&quot;NAME_OF_MY_WIFI_NETWORK&quot;</span><span class="br0">&#125;</span><span class="sy0">;</span> <br />
<span class="kw4">unsigned</span> <span class="kw4">char</span> security_type <span class="sy0">=</span> <span class="nu0">3</span><span class="sy0">;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// 0 &#8211; open; 1 &#8211; WEP; 2 &#8211; WPA; 3 &#8211; WPA2</span><br />
<span class="co1">// WPA/WPA2 passphrase</span><br />
<span class="kw4">const</span> prog_char security_passphrase<span class="br0">&#91;</span><span class="br0">&#93;</span> PROGMEM <span class="sy0">=</span> <span class="br0">&#123;</span><span class="st0">&quot;my_password&quot;</span><span class="br0">&#125;</span><span class="sy0">;</span></div>
</div>
<p><strong>Initializing WiServer</strong><br />
In the setup method of the sketch the WiServer is initialized together with the name of a function defining what we will see when surfing into the board.</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;"><span class="kw4">void</span> setup<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
WiServer.<span class="me1">init</span><span class="br0">&#40;</span>sendMyPage<span class="br0">&#41;</span><span class="sy0">;</span><br />
WiServer.<span class="me1">enableVerboseMode</span><span class="br0">&#40;</span><span class="kw2">true</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
<p><strong>Serving data to web page</strong><br />
As in any Arduino sketch the analog value can be reached through analogRead. Within the method sendMyPage the content of the web page is printed together with the sensor value.</p>
<p>With WiServer.print we serve the value to</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">WiServer.<span class="me1">print</span><span class="br0">&#40;</span><span class="st0">&quot;&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
sensorValue <span class="sy0">=</span> analogRead<span class="br0">&#40;</span>sensorPin<span class="br0">&#41;</span><span class="sy0">;</span><br />
WiServer.<span class="me1">print</span><span class="br0">&#40;</span><span class="st0">&quot;sensorValue :&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
WiServer.<span class="me1">print</span><span class="br0">&#40;</span>sensorValue<span class="br0">&#41;</span><span class="sy0">;</span><br />
WiServer.<span class="me1">print</span><span class="br0">&#40;</span><span class="st0">&quot;&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</div>
<p><strong>Good to know-list</strong><br />
Good to know when uploading your code to the board:</p>
<ul>
<li>You need to set your board type to Arduino Uno.</li>
<li>It will take about 30 seconds for the Yellow Jacket to start up after uploading the code or adding power to it.</li>
<li>You can source the Yellow Jacket with its own power by adding 7V-24VDC to pin raw.</li>
<li>Depending on which code library you want to use you need to activate it in apps-conf.h within the WiServer library code. In this example I have uncommented #define APP_WISERVER</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/02/get-analog-value-from-yellow-jacket/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Develop for Android on your Mac</title>
		<link>http://www.sundh.com/blog/2012/01/develop-for-android-on-your-mac/</link>
		<comments>http://www.sundh.com/blog/2012/01/develop-for-android-on-your-mac/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 11:53:24 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ADT Plugin]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=813</guid>
		<description><![CDATA[Here is a short tutorial on how to install all you need for Android development on a Mac.
1. Download Eclipse 3.2, 3.3 (Europa) for your Mac on:
http://www.eclipse.org/downloads/
2. Download the Android SDK from here:
http://developer.android.com/sdk/index.html
2. Once you installed the SDK you can get the latest update from this command-line command by
executing:

tools/android update sdk

3. Install the ADT plugin
- [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a short tutorial on how to install all you need for Android development on a Mac.</p>
<p>1. Download Eclipse 3.2, 3.3 (Europa) for your Mac on:<br />
<a href="http://www.eclipse.org/downloads/" rel="nofollow">http://www.eclipse.org/downloads/</a></p>
<p>2. Download the Android SDK from here:<br />
<a href="http://developer.android.com/sdk/index.html" rel="nofollow">http://developer.android.com/sdk/index.html</a></p>
<p>2. Once you installed the SDK you can get the latest update from this command-line command by<br />
executing:</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">tools<span class="sy0">/</span>android update sdk</div>
</div>
<p>3. Install the ADT plugin<br />
- Start Eclipse, then select Help ]]&gt; Install New Software&#8230;<br />
- Click on add and the window below will appear. Input the URL <a href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow">https://dl-ssl.google.com/android/eclipse/</a>. Use http if https does not work. Name it &#8220;ADT Plugin&#8221;.</p>
<p><a href="http://www.sundh.com/blog/wp-content/uploads/2012/01/android_adt_plugin.png"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/01/android_adt_plugin.png" alt="android_adt_plugin" title="android_adt_plugin" width="640" height="318" class="alignnone size-full wp-image-816" /></a></p>
<p>- Click on Next, and then Next agian and accept the license agreements. Click on Finish.<br />
- Restart Eclipse</p>
<p>4. Create an AVD Manager<br />
- In order to run our Android app on the Mac we need to set up an Android Virtual Device in Eclipse.<br />
Window > AVD Manager<br />
- Create a new AVD by clicking on new<br />
- Type in the name of your avd, in my case my_avd<br />
- Choose a target.<br />
The target is the platform (that is, the version of the Android SDK, such as 2.3.3) you want to run on the emulator. I chose the latest one I got.<br />
- Click create!<br />
<a href="http://www.sundh.com/blog/wp-content/uploads/2012/01/android_virtual_device_manager.png"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/01/android_virtual_device_manager.png" alt="android_virtual_device_manager" title="android_virtual_device_manager" width="397" height="592" class="alignnone size-full wp-image-818" /></a></p>
<p>5. Now you are up and running!<br />
Why not start with a simple Hello World:<br />
<a href="http://developer.android.com/resources/tutorials/hello-world.html" rel="nofollow">http://developer.android.com/resources/tutorials/hello-world.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/01/develop-for-android-on-your-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small Ehternet access just got smaller</title>
		<link>http://www.sundh.com/blog/2012/01/small-ehternet-access-just-got-smaller/</link>
		<comments>http://www.sundh.com/blog/2012/01/small-ehternet-access-just-got-smaller/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 21:08:37 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[tutorial]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino shield]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[freetronics]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=805</guid>
		<description><![CDATA[
The Arduino Ethernet shield has been around for some time now. It&#8217;s a great solution for cutting out the middle man of the computer when check things online from the Arduino. In order to build smaller cases I stumbled upon EtherTen from Freetronics. It&#8217;s a fully Arduino-compatible board that runs Arduino code AND connects to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sundh.com/blog/wp-content/uploads/2012/01/ethernet.jpg"><img src="http://www.sundh.com/blog/wp-content/uploads/2012/01/ethernet.jpg" alt="ethernet" title="ethernet" width="680" height="306" class="alignnone size-full wp-image-806" /></a></p>
<p>The <a href="http://arduino.cc/en/Main/ArduinoEthernetShield">Arduino Ethernet shield</a> has been around for some time now. It&#8217;s a great solution for cutting out the middle man of the computer when check things online from the Arduino. In order to build smaller cases I stumbled upon <a href="http://www.freetronics.com/products/etherten">EtherTen</a> from <a href="http://www.freetronics.com/">Freetronics</a>. It&#8217;s a fully Arduino-compatible board that runs Arduino code AND connects to internet with Ethernet. </p>
<p>Lets make a list of the pros:<br />
- Smaller than Arduino board with Ethernet shield on top<br />
- Runs Arduino Ethernet library<br />
- Power of Ethernet, no power supply needed (!!!!)<br />
- Micro SD card holder<br />
- And sexy round corners (rounder than the Ethernet Shield)<br />
- Neat mini USB socket</p>
<p>When it arrived I simply ran the <a href="http://arduino.cc/en/Tutorial/TwitterClient">TwitterClient file by Tom Igoe</a> in Ethernet examples of the Arduino IDE and it was up and running. To call my custom php file was a bit harder though. Example code to be posted on my <a href="http://arduino.sundh.com/">Arduino Circuit Blog </a>shortly.</p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2012/01/small-ehternet-access-just-got-smaller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xmas Installation based on node-js and Hydna</title>
		<link>http://www.sundh.com/blog/2011/12/xmas-installation-based-on-node-js-and-hydna/</link>
		<comments>http://www.sundh.com/blog/2011/12/xmas-installation-based-on-node-js-and-hydna/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 13:35:56 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[case]]></category>
		<category><![CDATA[hydna]]></category>
		<category><![CDATA[nodejs]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=793</guid>
		<description><![CDATA[At Society 46 we celebrated the Xmas by hooking up to loads of Xmas lights to the node-js module Hydna. People can switch on and off 11 220 V sockets in real-time. Try it out on http://www.society46.com/xmas and turn on the lights of Society 46 Xmas Crib.



]]></description>
			<content:encoded><![CDATA[<p>At Society 46 we celebrated the Xmas by hooking up to loads of Xmas lights to the node-js module <a href="http://www.hydna.com">Hydna</a>. People can switch on and off 11 220 V sockets in real-time. Try it out on <a href="http://www.society46.com/xmas">http://www.society46.com/xmas</a> and turn on the lights of Society 46 Xmas Crib.<br />
<br />
<a href="http://www.sundh.com/blog/wp-content/uploads/2011/12/site1.jpg"><img src="http://www.sundh.com/blog/wp-content/uploads/2011/12/site1.jpg" alt="site" title="site" width="680" height="341" class="alignnone size-full wp-image-800" /></a><br />
<br />
<iframe src="http://player.vimeo.com/video/34075581?title=0&amp;byline=0&amp;portrait=0" width="680" height="383" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2011/12/xmas-installation-based-on-node-js-and-hydna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AppleScript in Objective-C</title>
		<link>http://www.sundh.com/blog/2011/12/applescript-in-objective-c/</link>
		<comments>http://www.sundh.com/blog/2011/12/applescript-in-objective-c/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 10:22:26 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[objectve-c]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=787</guid>
		<description><![CDATA[I am working on a project where the good old Apple Script is need to do some magic on a Mac computer. Even though it is very semantic it can do some powerful stuff. The result will be posted as soon as it is finished.
Here is a simle Hello World example just to get it [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on a project where the good old Apple Script is need to do some magic on a Mac computer. Even though it is very semantic it can do some powerful stuff. The result will be posted as soon as it is finished.</p>
<p>Here is a simle Hello World example just to get it up and running in Xcode. The example is used in a Mac OS X application.</p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;"><span class="co2">#import &quot;S46AppDelegate.h&quot;</span></p>
<p>@implementation S46AppDelegate</p>
<p>@synthesize window<span class="sy0">;</span></p>
<p><span class="sy0">-</span> <span class="br0">&#40;</span><span class="kw4">void</span><span class="br0">&#41;</span>applicationDidFinishLaunching<span class="sy0">:</span><span class="br0">&#40;</span>NSNotification <span class="sy0">*</span><span class="br0">&#41;</span>aNotification<br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="co1">// Insert code here to initialize your application</span><br />
&nbsp; &nbsp; NSDictionary<span class="sy0">*</span> errorDict<span class="sy0">;</span><br />
&nbsp; &nbsp; NSAppleEventDescriptor<span class="sy0">*</span> returnDescriptor <span class="sy0">=</span> NULL<span class="sy0">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; NSAppleScript<span class="sy0">*</span> scriptObject <span class="sy0">=</span> <span class="br0">&#91;</span><span class="br0">&#91;</span>NSAppleScriptalloc<span class="br0">&#93;</span> initWithSource<span class="sy0">:</span><br />
&nbsp; &nbsp; @<span class="st0">&quot;display dialog <span class="es1">\&quot;</span>Hello World<span class="es1">\&quot;</span> buttons <span class="es1">\&quot;</span>OK<span class="es1">\&quot;</span> default button <span class="es1">\&quot;</span>OK<span class="es1">\&quot;</span>&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#93;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; returnDescriptor <span class="sy0">=</span> <span class="br0">&#91;</span>scriptObject executeAndReturnError<span class="sy0">:</span> <span class="sy0">&amp;</span>errorDict<span class="br0">&#93;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <span class="br0">&#91;</span>scriptObject release<span class="br0">&#93;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>returnDescriptor <span class="sy0">!=</span> NULL<span class="br0">&#41;</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// successful execution</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>kAENullEvent <span class="sy0">!=</span> <span class="br0">&#91;</span>returnDescriptor descriptorType<span class="br0">&#93;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// script returned an AppleScript result</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>cAEList <span class="sy0">==</span> <span class="br0">&#91;</span>returnDescriptor descriptorType<span class="br0">&#93;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// result is a list of other descriptors</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// coerce the result to the appropriate ObjC type</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span> <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// no script result, handle error here</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p>@end</p></div>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2011/12/applescript-in-objective-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tracking technology meets iPhone</title>
		<link>http://www.sundh.com/blog/2011/11/trackingtechnology-meets-iphone/</link>
		<comments>http://www.sundh.com/blog/2011/11/trackingtechnology-meets-iphone/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 09:49:09 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fmod]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tracab]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=778</guid>
		<description><![CDATA[Today Society46 is launching the Pepsi Refresh project together with Åkestam Holst. The project involves the Tracab tracking stystem, UDP streams, iPhone sensors and FMOD for iOS. Code will follow.

]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://www.society46.com" target="_blank">Society46</a> is launching the <a href="http://thesoundoffootball.com/" target="_blank">Pepsi Refresh project</a> together with <a href="http://fabriken.akestamholst.se/" target="_blank">Åkestam Holst</a>. The project involves the <a href="http://www.tracab.com/" target="_blank">Tracab tracking stystem</a>, UDP streams, iPhone sensors and <a href="http://www.fmod.org/index.php/download" target="_blank">FMOD for iOS</a>. Code will follow.<br />
</br><br />
<iframe width="680" height="415" src="http://www.youtube.com/embed/g0Xgp2Mi6Xs" frameborder="0" allowfullscreen></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2011/11/trackingtechnology-meets-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Arduino circuit blog</title>
		<link>http://www.sundh.com/blog/2011/10/my-arduino-circuit-blog/</link>
		<comments>http://www.sundh.com/blog/2011/10/my-arduino-circuit-blog/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 10:45:36 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[curcuits]]></category>
		<category><![CDATA[electronics]]></category>

		<guid isPermaLink="false">http://www.sundh.com/blog/?p=775</guid>
		<description><![CDATA[Whenever I make a circuit I try to document it and take photos. With the Fritzing software it gets even better. To share code and circuits I gathered my Arduino circuits on this new blog: Ellen Sundh&#8217;s Arduino Circuit Blog 
]]></description>
			<content:encoded><![CDATA[<p>Whenever I make a circuit I try to document it and take photos. With the <a href="http://fritzing.org/">Fritzing</a> software it gets even better. To share code and circuits I gathered my Arduino circuits on this new blog: <a href="http://arduino.sundh.com/">Ellen Sundh&#8217;s Arduino Circuit Blog </a></p>
<p><a href="http://www.sundh.com/blog/wp-content/uploads/2011/10/Untitled-1.png"><img src="http://www.sundh.com/blog/wp-content/uploads/2011/10/Untitled-1.png" alt="Untitled-1" title="Untitled-1" width="640" height="355" class="alignnone size-full wp-image-776" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.sundh.com/blog/2011/10/my-arduino-circuit-blog/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

