<?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>Physical computing &#187; compass</title>
	<atom:link href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/tag/compass/feed/" rel="self" type="application/rss+xml" />
	<link>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing</link>
	<description></description>
	<lastBuildDate>Wed, 01 May 2013 22:32:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>final: north bracelet</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/12/final-north-bracelet/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/12/final-north-bracelet/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 19:17:18 +0000</pubDate>
		<dc:creator>antanaityte.gerda@iaac.net</dc:creator>
				<category><![CDATA[Gerda Antanaityte]]></category>
		<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[Students]]></category>
		<category><![CDATA[arduino fio]]></category>
		<category><![CDATA[cmps10]]></category>
		<category><![CDATA[compass]]></category>
		<category><![CDATA[gerda antanaityte]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/?p=475</guid>
		<description><![CDATA[Here’s the final prototype of north bracelet. During the process I’ve learned a lot about electronics (thanks for Alex). Here are some core hints: For this application input was tilt compensated compass (CMPS10), outputs were 3 high luminosity leds. First prototype was made on breadbord to check how it works and to program arduino fio. [...]]]></description>
				<content:encoded><![CDATA[<p>Here’s the final prototype of north bracelet. During the process I’ve learned a lot about electronics (thanks for Alex). Here are some core hints:</p>
<ul>
<li>For this application input was tilt compensated compass (<a href="http://www.robot-electronics.co.uk/htm/cmps10doc.htm">CMPS10</a>), outputs were 3 high luminosity leds.</li>
<li>First prototype was made on breadbord to check how it works and to program <a href="http://arduino.cc/en/Main/ArduinoBoardFio">arduino fio</a>.</li>
<li>To make it portable the circuit had to be replaced and soldered on smaller breadbord.</li>
<li>There were few tricky moments: first of all, because of different voltage, leds didn’t want to shine enough bright. Transistor, which was helpful using power supply from computer appeared useless with lithium battery. The circuit was effected by removing it.</li>
<li>Reflecting tape was used to increase brightness of leds. But everytime I sticked tape on panel, leds used to stop lightning. It appeared that tape worked as well as the conductor. To solve it I put some extra isolation on metal parts of leds.</li>
<li>I had to change some components’ positions and cut out part of bread bord to place everything into the box. And finally it worked.</li>
<li>Arduino fio doesn’t have usb port for programming. It requires special cable with pins.</li>
</ul>
<p>Below you can see pictures of the process and final result, video and some technical data  as well.</p>
<p>final prototype:</p>
<p><iframe width="730" height="411" src="http://www.youtube.com/embed/LGaiOVRDC5k?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p><span id="more-475"></span></p>
<p><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/4.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/4-682x1024.jpg" alt="" width="360" height="482" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/5.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/5-682x1024.jpg" alt="" width="360" height="482" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/102.jpg"><img class="alignnone size-large wp-image-533" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/102-756x1024.jpg" alt="" width="360" height="482" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/3.jpg"><img class="alignnone size-large wp-image-498" style="margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/3-683x1024.jpg" alt="" width="360" height="482" /></a></p>
<p>process:</p>
<p><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-1.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-1-764x1024.jpg" alt="" width="180" height="241" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-2.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-2-764x1024.jpg" alt="" width="180" height="241" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-3.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-3-764x1024.jpg" alt="" width="180" height="241" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-7.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-7-764x1024.jpg" alt="" width="180" height="241" /></a><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-8-e1354472537678-764x1024.jpg" alt="" width="180" height="241" /><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-9.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-9-1024x764.jpg" alt="" width="180" height="241" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-10.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-10-764x1024.jpg" alt="" width="180" height="241" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-11.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/photo-11-e1354472834540-764x1024.jpg" alt="" width="180" height="241" /></a></p>
<p>circuit scheme:</p>
<p><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/scheme.jpg"><img class="alignnone size-large wp-image-723" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/12/scheme-1024x418.jpg" alt="" width="717" height="293" /></a></p>
<p>code:</p>
<address><span style="color: #999999">#include &lt;Wire.h&gt;<br />
</span><span style="color: #999999">#define ADDRESS 0&#215;60<br />
</span><span style="color: #999999">void setup(){<br />
</span><span style="color: #999999"> Wire.begin();   // Conects I2C<br />
</span><span style="color: #999999"> Serial.begin(9600);<br />
</span><span style="color: #999999">}<br />
</span><span style="color: #999999">void loop(){<br />
</span><span style="color: #999999"> byte highByte, lowByte, fine;<br />
</span><span style="color: #999999"> char pitch, roll;<br />
</span><span style="color: #999999"> int bearing;<br />
</span><span style="color: #999999"> int bright;<br />
</span><span style="color: #999999"> Wire.beginTransmission(ADDRESS);<br />
</span><span style="color: #999999"> Wire.write(2);<br />
</span><span style="color: #999999"> Wire.endTransmission();<br />
</span><span style="color: #999999"> Wire.requestFrom(ADDRESS, 4);<br />
</span><span style="color: #999999"> while(Wire.available() &lt; 4);<br />
</span><span style="color: #999999"> highByte = Wire.read();<br />
</span><span style="color: #999999"> lowByte = Wire.read();<br />
</span><span style="color: #999999"> pitch = Wire.read();<br />
</span><span style="color: #999999"> roll = Wire.read();<br />
</span><span style="color: #999999"> bearing = ((highByte&lt;&lt;8)+lowByte)/10;<br />
</span><span style="color: #999999"> fine = ((highByte&lt;&lt;8)+lowByte)%10;<br />
</span><span style="color: #999999"> Serial.print(&#8220;Angle  &#8221;);<br />
</span><span style="color: #999999"> Serial.println(bearing);<br />
</span><span style="color: #999999"> if ((bearing &gt; 15) and (bearing &lt; 344)) {<br />
</span><span style="color: #999999"> bright = 255;<br />
</span><span style="color: #999999"> }<br />
</span><span style="color: #999999"> else if ((bearing &lt; 15) and (bearing &gt;= 0)) {<br />
</span><span style="color: #999999"> bright = map (bearing, 15,0,255,0);<br />
</span><span style="color: #999999"> }<br />
</span><span style="color: #999999"> else if ((bearing &gt;344) and (bearing &lt;= 359)) {<br />
</span><span style="color: #999999"> bright = map (bearing, 344,359,255,0);<br />
</span><span style="color: #999999"> }<br />
</span><span style="color: #999999"> analogWrite (9, bright);<br />
</span><span style="color: #999999"> delay(20);<br />
</span><span style="color: #999999">}<br />
</span><span style="color: #999999">int soft_ver(){<br />
</span><span style="color: #999999"> int data;<br />
</span><span style="color: #999999"> Wire.beginTransmission(ADDRESS);<br />
</span><span style="color: #999999"> Wire.write((byte)0);<br />
</span><span style="color: #999999"> Wire.endTransmission();<br />
</span><span style="color: #999999"> Wire.requestFrom(ADDRESS, 1);<br />
</span><span style="color: #999999"> while(Wire.available() &lt; 1);<br />
</span><span style="color: #999999"> data = Wire.read();<br />
</span><span style="color: #999999"> return(data);<br />
</span><span style="color: #999999">}</span></address>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/12/final-north-bracelet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>in process: north bracelet</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/11/in-process-north-bracelet/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/11/in-process-north-bracelet/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 23:29:04 +0000</pubDate>
		<dc:creator>antanaityte.gerda@iaac.net</dc:creator>
				<category><![CDATA[Gerda Antanaityte]]></category>
		<category><![CDATA[Physical Computing]]></category>
		<category><![CDATA[Students]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[bracelet]]></category>
		<category><![CDATA[compass]]></category>
		<category><![CDATA[gerda antanaityte]]></category>
		<category><![CDATA[physical computing]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/?p=286</guid>
		<description><![CDATA[Are you extremely stylish? But afraid to get lost in the forest while picking mushrooms? Well, this is exactly what you need! If to be more serious, this is small project to get more familiar with electronics: arduino, sensors, actuators and coding. I decided to fabricate bracelet witch&#8217;s strength of light depends on compass position. [...]]]></description>
				<content:encoded><![CDATA[<p><span>Are you extremely stylish? But afraid to get lost in the forest while picking mushrooms? Well, this is exactly what you need!</span></p>
<p><span>If to be more serious, this is small project to get more familiar with electronics: arduino, sensors, actuators and coding. I decided to fabricate bracelet witch&#8217;s strength of light depends on compass position. More north it is directed &#8211; brighter it shines. The main component for this application is tilt compensated compass module <a href="http://www.robot-electronics.co.uk/htm/cmps10doc.htm">CMPS10</a>. Also I use ‘<a href="http://arduino.cc/en/Main/ArduinoBoardFio">arduino fio</a>’ (3.3V), which is smaller than classical ‘arduino uno’ and adapted for <a href="http://www.electan.com/bateria-polimero-ion-litio-lipo-1000ma-p-3182.html">lithium lon battery</a>. It can be charged using usb cable. To illuminate bracelet panel  I got 3 high luminosity, white diffused leds’. Below you can see photos of creative process:</span></p>
<ul>
<li>I started from super simple step. Circuit scheme of lights and it’s test with arduino uno.</li>
<li>Then I’ve cut few prototypes to test how different materials diffuse light. Finally Alex’s advice was to stay with crystal acrylic.</li>
<li>Second version was adapted to insert led’s inside and engraved north sign has nice luminous effect.</li>
<li>and challenge which is still waiting is to put everything together and make it work..</li>
</ul>
<p><a title="sketch of led's circuit" href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/2.scheme_and_lights.jpg"><img class="alignnone size-large wp-image-289" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/2.scheme_and_lights-1024x653.jpg" alt="" width="352" height="225" /></a><a title="arduino fio VS arduino uno. fio and lithium battery" href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/1.arduinos.jpg"><img class="alignnone size-full wp-image-288" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/1.arduinos.jpg" alt="" width="352" height="245" /></a><a title="first prototypes" href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3777.jpg"><img class="alignnone size-large wp-image-296" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3777-685x1024.jpg" alt="" width="176" height="236" /></a><a title="luminous north sign" href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3789.jpg"><img class="alignnone size-large wp-image-293" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3789-764x1024.jpg" alt="" width="176" height="236" /></a><a href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3786.jpg"><img class="alignnone size-large wp-image-292" style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3786-764x1024.jpg" alt="" width="176" height="236" /></a><a title="to be continued.." href="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3793.jpg"><img style="border: 0px;margin: 0px" src="http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/files/2012/11/IMG_3793-764x1024.jpg" alt="" width="176" height="236" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-physicalcomputing/2012/11/in-process-north-bracelet/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
