<?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>Vegard Hammerseth &#187; Computer</title>
	<atom:link href="http://vegard.hammerseth.com/category/computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://vegard.hammerseth.com</link>
	<description>Geekness by remote</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:31:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fit-PC 2 as HTPC using (L) Ubuntu 11.04 Natty Narwhal</title>
		<link>http://vegard.hammerseth.com/2011/05/fit-pc-2-as-htpc-using-l-ubuntu-11-04-natty-narwhal/</link>
		<comments>http://vegard.hammerseth.com/2011/05/fit-pc-2-as-htpc-using-l-ubuntu-11-04-natty-narwhal/#comments</comments>
		<pubDate>Mon, 23 May 2011 19:59:01 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=781</guid>
		<description><![CDATA[This post explains how you can setup our own media centre using Lubuntu. Using my Fit-PC 2 as example. Fit-PC is a small, light, fan-less nettop computer manufactured by the Israeli company CompuLab. I use it in my living room and it&#8217;s nearly invisible. When I install an SSD in it, I will stick it back on [...]]]></description>
			<content:encoded><![CDATA[<p>This post explains how you can setup our own media centre using Lubuntu. Using my Fit-PC 2 as example.</p>
<p>Fit-PC is a small, light, fan-less nettop computer manufactured by the Israeli company CompuLab. I use it in my living room and it&#8217;s nearly invisible. When I install an SSD in it, I will stick it back on my TV.</p>
<p>After the installing Lubuntu from USB stick I had to manually shut the computer down. Apparently there are some ACPI bugs in Natty, but it&#8217;s not important. It will be on most of it&#8217;s life. I made sure the computer was up to date before installing display driver.<br />
<em>sudo apt-get update</em><br />
<em>sudo apt-get upgrade </em></p>
<p>The fit-pc 2 ships with GMA500 Intel graphics. It kinda sucks since Intel is unable to give us proper drivers for it! This is why I will think twice or even three times before buying anything from Intel again.</p>
<p>To use GMA500 I deceided to use EMGD (<a href="https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo#Drivers installation">source</a>):<br />
<em>sudo add-apt-repository ppa:gma500/emgd<br />
</em><em>sudo apt-get update<br />
</em><em>sudo apt-get install xorg-emgd emgd-dkms<br />
</em><em>sudo emgd-xorg-conf</em></p>
<p>emgd-xorg-conf creates a config in /usr/share/X11/xorg.conf.d/10-emgd.conf. This is when the problems occour. ﻿emgd-xorg-conf discovers wrong port which I had to manually edit. My modified 10-emgd.conf:<br />
<em>Section &#8220;ServerLayout&#8221;</em><br />
<em> Identifier     &#8220;Default Layout&#8221;</em><br />
<em> Screen 0       &#8220;Screen0&#8243;		0 0</em><br />
<em> EndSection</em></p>
<p><em>Section &#8220;Device&#8221;</em><em><br />
</em><em> Identifier &#8220;Intel_IEGD-0&#8243;</em><br />
<em> Driver     &#8220;emgd&#8221;</em><br />
<em> VendorName &#8220;Intel(R) DEG&#8221;</em><br />
<em> BoardName  &#8220;Embedded Graphics&#8221;</em><br />
<em> BusID      &#8220;0:2:0&#8243;</em><br />
<em> Screen      0</em><br />
<em> Option     &#8220;PcfVersion&#8221;				&#8220;1792&#8243;</em><br />
<em> Option     &#8220;ConfigId&#8221;				&#8220;1&#8243;</em><br />
<em> Option     &#8220;ALL/1/name&#8221;				&#8220;svdo-display&#8221;</em><br />
<em> Option     &#8220;ALL/1/General/PortOrder&#8221;		&#8220;24000&#8243;</em><br />
<em> Option     &#8220;ALL/1/General/DisplayConfig&#8221;		&#8220;1&#8243;</em><br />
<em> Option     &#8220;ALL/1/General/DisplayDetect&#8221;		&#8220;1&#8243;</em><br />
<em> Option     &#8220;ALL/1/General/Accel&#8221;                    &#8220;1&#8243;</em><br />
<em> Option     &#8220;PortDrivers&#8221;				&#8220;svdo&#8221;</em><br />
<em> Option     &#8220;ALL/1/General/VideoRam&#8221;                 &#8220;131072&#8243;</em><br />
<em> Option     &#8220;ALL/1/Port/2/General/name&#8221;              &#8220;sdvo&#8221;</em><br />
<em> Option     &#8220;ALL/1/Port/2/General/Edid&#8221;              &#8220;1&#8243;</em><br />
<em> Option     &#8220;ALL/1/Port/2/Attr/70&#8243;                   &#8220;0&#8243;</em><br />
<em> EndSection</em></p>
<p><em>Section &#8220;Screen&#8221;</em><br />
<em> Identifier    &#8220;Screen0&#8243;</em><br />
<em> Device        &#8220;Intel_IEGD-0&#8243;</em><br />
<em> Monitor       &#8220;sdvo&#8221;</em><br />
<em> SubSection &#8220;Display&#8221;</em><br />
<em> Depth     24</em><br />
<em> Modes	&#8220;1024&#215;768&#8243;</em><br />
<em> EndSubSection</em><br />
<em> EndSection</em></p>
<p><em>Section &#8220;Monitor&#8221;</em><br />
<em> Identifier   &#8220;sdvo&#8221;</em><br />
<em> ModelName    &#8220;sdvo panel 1024&#215;768&#8243;</em><br />
<em> EndSection</em></p>
<p><em>Section &#8220;DRI&#8221;</em><br />
<em> Mode         0666</em><br />
<em> EndSection</em></p>
<p><em>Section &#8220;Extensions&#8221;</em><br />
<em> Option &#8220;composite&#8221; &#8220;enable&#8221;</em><br />
<em> EndSection</em></p>
<p>Keyword here is <em>ALL/1/Port/2 </em>were port 2 was 4 in the orginal configuration and sdvo was lvds.</p>
<p>I then installed lirc to be able to use my transcend remote for my picture frame, you can use anything. I followed some tutorial for making it work. Basically ﻿run irrecord to trian lirc to understand my remote.</p>
<p><em>sudo irrecord -d /dev/lirc0 /etc/lirc/transcend.conf</em></p>
<p>&nbsp;</p>
<p>I tried Boxee first, but it&#8217;s bloated. Ended up using XBMC:</p>
<pre>sudo add-apt-repository ppa:team-xbmc
sudo apt-get update
sudo apt-get install xbmc
sudo apt-get update
sudo apt-get upgrade</pre>
<p><strong>Edit #1</strong><br />
If you want XBMC to automatically detect new movies just open crontab</p>
<pre>crontab -e</pre>
<p> and add the line
<pre>* 10 * * * wget -T 60 -q -O /dev/null "http://user:passwd@localhost:8080/xbmcCmds/xbmcHttp?command=ExecBuiltIn(updatelibrary(video))" # run once a day</pre>
<p>You will of course have to enable HTTP controlling in XBMC for this to work. Also make sure your user, password and port is correct from the line above.</p>
<p><strong>End of edit</strong></p>
<p>To make lirc work with XBMC we will have to setup a config in XBMC. It should be located in /home/user/.xbmc/userdata/Lircmap.xml. Here is mine:</p>
<pre>&lt;lircmap&gt;
 &lt;remote device="/etc/lirc/transcend.conf"&gt;
 &lt;play&gt;KEY_PLAYPAUSE&lt;/play&gt;
 &lt;pause&gt;KEY_PLAYPAUSE&lt;/pause&gt;
 &lt;stop&gt;KEY_STOP&lt;/stop&gt;
 &lt;forward&gt;KEY_NEXT&lt;/forward&gt;
 &lt;reverse&gt;KEY_PREV&lt;/reverse&gt;
 &lt;left&gt;KEY_LEFT&lt;/left&gt;
 &lt;right&gt;KEY_RIGHT&lt;/right&gt;
 &lt;up&gt;KEY_UP&lt;/up&gt;
 &lt;down&gt;KEY_DOWN&lt;/down&gt;
 &lt;select&gt;KEY_OK&lt;/select&gt;
 &lt;pageplus&gt;KEY_PAGEUP&lt;/pageplus&gt;
 &lt;pageminus&gt;KEY_PAGEDOWN&lt;/pageminus&gt;
 &lt;back&gt;KEY_EXIT&lt;/back&gt;
 &lt;menu&gt;KEY_MODE&lt;/menu&gt;
 &lt;title&gt;Guide&lt;/title&gt;
 &lt;info&gt;KEY_CYCLEWINDOWS&lt;/info&gt;
 &lt;skipplus&gt;Skip&lt;/skipplus&gt;
 &lt;skipminus&gt;Replay&lt;/skipminus&gt;
 &lt;display&gt;Aspect&lt;/display&gt;
 &lt;start&gt;KEY_HOME&lt;/start&gt;
 &lt;record&gt;Record&lt;/record&gt;
 &lt;volumeplus&gt;KEY_VOLUMEUP&lt;/volumeplus&gt;
 &lt;volumeminus&gt;KEY_VOLUMEDOWN&lt;/volumeminus&gt;
 &lt;mute&gt;KEY_MUTE&lt;/mute&gt;
 &lt;power&gt;KEY_POWER&lt;/power&gt;
 &lt;myvideo&gt;KEY_VIDEO&lt;/myvideo&gt;
 &lt;mymusic&gt;KEY_MUSIC&lt;/mymusic&gt;
 &lt;mypictures&gt;KEY_PROG1&lt;/mypictures&gt;
 &lt;mytv&gt;KEY_CALENDAR&lt;/mytv&gt;
 &lt;one&gt;One&lt;/one&gt;
 &lt;two&gt;Two&lt;/two&gt;
 &lt;three&gt;Three&lt;/three&gt;
 &lt;four&gt;Four&lt;/four&gt;
 &lt;five&gt;Five&lt;/five&gt;
 &lt;six&gt;Six&lt;/six&gt;
 &lt;seven&gt;Seven&lt;/seven&gt;
 &lt;eight&gt;Eight&lt;/eight&gt;
 &lt;nine&gt;Nine&lt;/nine&gt;
 &lt;zero&gt;Zero&lt;/zero&gt;
 &lt;star&gt;Star&lt;/star&gt;
 &lt;hash&gt;Hash&lt;/hash&gt;
 &lt;clear&gt;Clear&lt;/clear&gt;
 &lt;enter&gt;Enter&lt;/enter&gt;
 &lt;red&gt;Red&lt;/red&gt;
 &lt;green&gt;Green&lt;/green&gt;
 &lt;yellow&gt;Yellow&lt;/yellow&gt;
 &lt;blue&gt;Blue&lt;/blue&gt;
 &lt;teletext&gt;Teletext&lt;/teletext&gt;
 &lt;/remote&gt;
&lt;/lircmap&gt;</pre>
<p>Give me a comment if anything is unclear.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/05/fit-pc-2-as-htpc-using-l-ubuntu-11-04-natty-narwhal/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>RC Part Finder!</title>
		<link>http://vegard.hammerseth.com/2011/04/rcpartfinder/</link>
		<comments>http://vegard.hammerseth.com/2011/04/rcpartfinder/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 14:44:03 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Hobby]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[RC]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=766</guid>
		<description><![CDATA[Very early this year, I started another(!) project. This is a webbased tool for everyone RC-interested which crashed and are in need of parts. Let&#8217;s be honest, we all crash and need parts. Which makes me believe this is a good project. RC Part Finder.com is a click&#8217;n'buy service which let&#8217;s you find accurate and cheap(est) part [...]]]></description>
			<content:encoded><![CDATA[<p>Very early this year, I started another(!) project. This is a webbased tool for everyone RC-interested which crashed and are in need of parts. Let&#8217;s be honest, we all crash and need parts. Which makes me believe this is a good project.</p>
<p><a href="http://www.rcpartfinder.com/">RC Part Finder.com</a> is a click&#8217;n'buy service which let&#8217;s you find accurate and cheap(est) part for your vehicle. At this moment, anyone can register and add blueprints and start helping. I don&#8217;t earn any money on this, actually I loose some due to web hotel and data transfer. My goal nevertheless to make a useful tool for everyone at the cost of nothing.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/04/rcpartfinder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Student &#8220;company&#8221;</title>
		<link>http://vegard.hammerseth.com/2011/04/student-company/</link>
		<comments>http://vegard.hammerseth.com/2011/04/student-company/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 14:38:31 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[school]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=764</guid>
		<description><![CDATA[To receive an additional 10 points I&#8217;m taking a &#8220;course&#8221; directly translated to: student company. This subject is as close to a real company as you get in Norway where the ultimate goal is to earn 140,000 NOK (~$25,000). Our company; MiAu-SB specializes in GSM communication. We are currently working on three projects for external customers. Will [...]]]></description>
			<content:encoded><![CDATA[<p>To receive an additional 10 points I&#8217;m taking a &#8220;course&#8221; directly translated to: student company. This subject is as close to a real company as you get in Norway where the ultimate goal is to earn 140,000 NOK (~$25,000). Our company; <a href="http://www.miau-sb.com/">MiAu-SB</a> specializes in GSM communication. We are currently working on three projects for external customers. Will be giving details on this when they are finished.</p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/04/student-company/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bachelor project</title>
		<link>http://vegard.hammerseth.com/2011/04/bachlor-project/</link>
		<comments>http://vegard.hammerseth.com/2011/04/bachlor-project/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 14:25:55 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=761</guid>
		<description><![CDATA[I&#8217;m currently finishing my Automation bachelor degree collecting the last 30 points. 20 of these points are achieved by one last project, main project. Me and three other students are doing a project for Repant ASA, by making a vending machine. You can get details and information on our website, setup and maintained by myself; http://www.hovedprosjekt.com/]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently finishing my Automation bachelor degree collecting the last 30 points. 20 of these points are achieved by one last project, main project.</p>
<p>Me and three other students are doing a project for <a href="http://www.repant.com/">Repant ASA</a>, by making a vending machine.</p>
<p>You can get details and information on our website, setup and maintained by myself; <a href="http://www.hovedprosjekt.com/">http://www.hovedprosjekt.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2011/04/bachlor-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>16-bit Arithmetic Logic Unit inside a game</title>
		<link>http://vegard.hammerseth.com/2010/09/16-bit-arithmetic-logic-unit-inside-a-game/</link>
		<comments>http://vegard.hammerseth.com/2010/09/16-bit-arithmetic-logic-unit-inside-a-game/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 20:54:30 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=730</guid>
		<description><![CDATA[Since this is both computer and electronics related I will post this youtube link containg a video game with custom made ALU by using game pieces. After having ALU and how computers are built bottom up as last terms curriculum, I can imagine the energy required to make this setup. Take a look: http://www.youtube.com/watch?v=LGkkyKZVzug]]></description>
			<content:encoded><![CDATA[<p>Since this is both computer and electronics related I will post this youtube link containg a video game with custom made <a href="http://en.wikipedia.org/wiki/Arithmetic_logic_unit">ALU</a> by using game pieces.</p>
<p>After having ALU and how computers are built bottom up as last terms curriculum, I can imagine the energy required to make this setup. Take a look: <a href="http://www.youtube.com/watch?v=LGkkyKZVzug">http://www.youtube.com/watch?v=LGkkyKZVzug</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/09/16-bit-arithmetic-logic-unit-inside-a-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>School project &#8211; track counter</title>
		<link>http://vegard.hammerseth.com/2010/08/school-project-track-counter/</link>
		<comments>http://vegard.hammerseth.com/2010/08/school-project-track-counter/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 19:05:04 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=714</guid>
		<description><![CDATA[This article will have an overview of our school project (term 3/6). We were only two persons completing the project and I did all the coding. Our goal with this project was to make a simple, cheap and easy implantable tracking system. After setting our goal on making a track counter (later called TC) we [...]]]></description>
			<content:encoded><![CDATA[<p>This article will have an overview of our school project (term 3/6). We were only two persons completing the project and I did all the coding. Our goal with this project was to make a simple, cheap and easy implantable tracking system.</p>
<p>After setting our goal on making a track counter (later called TC) we did our research on google searching for similar projects. We did not find much information about this and had to do some research before pursuing our goal. We faced a difficult question about IrDA. since we were planning to use infrared technology. Would the sensor be able to detect IR moving very fast? thinking back on FY1 (physics) we knew IR is running on a very high frequency and the experience with TV-remotes made us certain our choice of technology.</p>
<p>This year we had to expand knowledge we had been or would be learning into our project. This means Java and Verilog. We also focused on making a accurate budget since it was one of our goals.</p>
<p><strong>The idea</strong><br />
Each object in a shortened circuit has an uncovered module which runs on a unique frequency. This frequency is sent to an IR diode on the module making the diode to blink at a given rate.</p>
<p>At finishing line we have an IR sensor connected to an PLD-card sending the info to a computer. The computer runs a TC-application written in Java with a SWING GUI.</p>
<p><a href="http://vegard.hammerseth.com/wp-content/plugins/download-monitor/download.php?id=71">Track counter rapport</a> it`s in Norwegian, use a translator to get it to English or contact me and I will translate it for you.</p>
<p><strong>Video</strong><br />
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/kQWU-SIgB2E?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kQWU-SIgB2E?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/08/school-project-track-counter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ALL IN 1 HDD Docking (Unitek) in Linux</title>
		<link>http://vegard.hammerseth.com/2010/05/all-in-1-hdd-docking-unitek-in-linux/</link>
		<comments>http://vegard.hammerseth.com/2010/05/all-in-1-hdd-docking-unitek-in-linux/#comments</comments>
		<pubDate>Wed, 26 May 2010 22:31:37 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[double]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[HDD]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[SATA]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[western digital]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=692</guid>
		<description><![CDATA[Since my external HDD`s adapter died and I found out that these Western Digital`s adapters are bad all over through Google. I threw the contoller away and bought a new instead of another faulty adapter. There were little information about this controller, but it has tons of features at a low cost. My main concern was support [...]]]></description>
			<content:encoded><![CDATA[<p>Since my external HDD`s adapter died and I found out that these Western Digital`s adapters are bad all over through Google. I threw the contoller away and bought a new instead of another faulty adapter. There were little information about this controller, but it has tons of features at a low cost. My main concern was support in Ubuntu, but I found some defuse info about Linux support after some heavy Googling. I gave it a shoot and this post is my blessing for it`s plug`n`play comparability with Linux. I can now use the WD SATA disk and an old IDE disk laying around!</p>
<p><a href="http://lh6.ggpht.com/_kHz6hsl_gy8/S_mzWgiCJKI/AAAAAAAAFaE/KSDX4iIoejc/all%20in%201%20hdd%20docking%20front.jpg"><img class="alignnone" title="Front" src="http://lh6.ggpht.com/_kHz6hsl_gy8/S_mzWgiCJKI/AAAAAAAAFaE/KSDX4iIoejc/all%20in%201%20hdd%20docking%20front.jpg" alt="" width="390" height="323" /></a> <a href="http://lh3.ggpht.com/_kHz6hsl_gy8/S_mzWGx1zWI/AAAAAAAAFaA/XMcDbWpyeTk/all%20in%201%20hdd%20docking%20top.jpg"><img class="alignnone" title="Front" src="http://lh3.ggpht.com/_kHz6hsl_gy8/S_mzWGx1zWI/AAAAAAAAFaA/XMcDbWpyeTk/all%20in%201%20hdd%20docking%20top.jpg" alt="" width="390" height="293" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/05/all-in-1-hdd-docking-unitek-in-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tech and photographing</title>
		<link>http://vegard.hammerseth.com/2010/03/this-weekends-links/</link>
		<comments>http://vegard.hammerseth.com/2010/03/this-weekends-links/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 19:42:23 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[metal]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[rube goldberg machine]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[su27]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=637</guid>
		<description><![CDATA[Rube Goldberg Machine version Unbelievable plane build and it`s movie Sound technology, listen to nearby planes pretty cool idea Snowplow youtube speed Photographing cotton Miniature New York Food landscape Make it smaller and become bigger Marion on Arduino Laser scissors Analog and Digital TV Signal Generation]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=qybUFnY7Y8w">Rube Goldberg Machine version</a></p>
<p><a href="http://www.su27.de/seite1.htm">Unbelievable plane build</a> and it`s <a href="http://www.youtube.com/watch?v=6IKnZ_tkecU">movie</a></p>
<p><a href="http://www.scientificamerican.com/article.cfm?id=acoustic-vector-sensing">Sound technology, listen to nearby planes</a> pretty cool idea</p>
<p><a href="http://www.youtube.com/watch?v=tPg1ZMiC9pA">Snowplow</a></p>
<p><a href="http://www.youtube.com/my_speed">youtube speed</a></p>
<p><a href="http://weburbanist.com/2010/03/13/strange-miniature-worlds-of-cotton-sugar-and-spice/">Photographing cotton</a></p>
<p><a href="http://vimeo.com/9679622">Miniature New York</a></p>
<p><a href="http://www.moillusions.com/2008/06/carl-warners-food-landscapes-or.html">Food landscape</a></p>
<p><a href="http://www.willard-wigan.com/video.aspx">Make it smaller and become bigger</a></p>
<p><a href="http://www.pcmag.com/article2/0,2817,2361357,00.asp">Marion on Arduino</a></p>
<p><a href="http://www.dealextreme.com/details.dx/sku.1584">Laser scissors</a></p>
<p><a href="http:/bellard.org/dvbt/">Analog and Digital TV Signal Generation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/03/this-weekends-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Computer and Arduino controlled car (1:18)</title>
		<link>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/</link>
		<comments>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 20:02:47 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[/dev/ttyUSB0]]></category>
		<category><![CDATA[1:18]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[c++ish]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[controlled]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=613</guid>
		<description><![CDATA[So I decided to make something with RC-servos using the Arduino board and the sensor shield which I recently purchased. I went ahead figuring out how to send arrow signals from my computer to Arduino using USB interface. Using void setup() { Serial.begin(9600); } on Arduino and screen /dev/ttyUSB0 9600 on my computer, I managed [...]]]></description>
			<content:encoded><![CDATA[<p>So I decided to make something with RC-servos using the Arduino board and the sensor shield which I recently purchased.</p>
<p>I went ahead figuring out how to send arrow signals from my computer to Arduino using USB interface.</p>
<p>Using <code>void setup() { Serial.begin(9600); }</code> on Arduino and <code>screen /dev/ttyUSB0 9600</code> on my computer, I managed to send commands back and forth. I hooked up the standard servo library and write some code before I mounted the Arduino board on my <a href="http://vegard.hammerseth.com/2009/05/team-losi-mini-rock-crawler-modifications/">mini rock crawler</a>. I now had a computer controlled car. Because of Arduino`s simple interface I had it all up and running around an hour. Check the small video and code below.</p>
<p><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/BOP4Nkqgku8&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/BOP4Nkqgku8&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>You can view and or use the code as you like below. (Sorry about the indention, WordPress messes it up).</p>
<div style="background-color:#bfbfbf;">
//<br />
// LIBRARY<br />
//<br />
#include &lt;Servo.h&gt;</p>
<p>//<br />
// OBJ<br />
//<br />
Servo servo1;<br />
Servo servo2;</p>
<p>// VARS<br />
int readByte;<br />
int servo1Angle = 90;	  //default servo angle<br />
int servo2Angle = 90;</p>
<p>int minPulse     =  700;  // minimum servo position<br />
int maxPulse     =  2300; // maximum servo position </p>
<p>void setup()<br />
{<br />
  servo1.attach(2, minPulse, maxPulse);  //connect servo<br />
  servo2.attach(3, minPulse, maxPulse);</p>
<p>  Serial.begin(9600); // start serial<br />
  Serial.println(&#8220;Ready\n&#8221;);<br />
} </p>
<p>void loop()<br />
{<br />
  if (Serial.available() > 1) // procced when two bytes is avaiable<br />
  {<br />
    readByte; = Serial.read();  //read first byte<br />
    if (readByte; == 91)<br />
    {<br />
      readByte; = Serial.read(); //read second byte to determine arrow type<br />
      if (readByte; == 65 &#038;&#038; servo1Angle <= 180)      //UP<br />
      {<br />
        servo1Angle += 5;<br />
      }<br />
      else if(readByte; == 66 &#038;&#038; servo1Angle >= 0)  //DOWN<br />
      {<br />
        servo1Angle -= 5;<br />
      }<br />
      else if(readByte; == 67 &#038;&#038; servo2Angle <= 180)  //RIGHT<br />
      {<br />
        servo2Angle += 5;<br />
      }<br />
      else if(readByte; == 68 &#038;&#038; servo2Angle >= 0) //LEFT<br />
      {<br />
        servo2Angle -= 5;<br />
      }</p>
<p>    }<br />
  }<br />
  // set servo positions<br />
  servo1.write(servo1Angle);<br />
  servo2.write(servo2Angle);<br />
  delay(15);<br />
}
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2010/02/computer-and-arduino-controlled-car-118/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Re winding a brushless mini motor</title>
		<link>http://vegard.hammerseth.com/2009/11/re-winding-a-brush-less-mini-motor/</link>
		<comments>http://vegard.hammerseth.com/2009/11/re-winding-a-brush-less-mini-motor/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 00:02:32 +0000</pubDate>
		<dc:creator>Vegard</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Hobby]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[brush less]]></category>
		<category><![CDATA[brushless]]></category>
		<category><![CDATA[copper]]></category>
		<category><![CDATA[hyperion]]></category>
		<category><![CDATA[micro]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[wire]]></category>
		<category><![CDATA[wound]]></category>

		<guid isPermaLink="false">http://vegard.hammerseth.com/?p=595</guid>
		<description><![CDATA[After running this motor to hard outside, I managed to burn the motor. You can see pictures of the &#8220;burnt&#8221; motor in the gallery below. First of all I opened the motor to take a look noticing protective isolation layer on the copper were melted. Not so strange, because when I approaced the motor after [...]]]></description>
			<content:encoded><![CDATA[<p>After running this motor to hard outside, I managed to burn the motor. You can see pictures of the &#8220;burnt&#8221; motor in the gallery below.</p>
<p>First of all I opened the motor to take a look noticing protective isolation layer on the copper were melted. Not so strange, because when I approaced the motor after the plane fell from the sky, it was insane hot.</p>
<p>Before removing all wire I measured the wire diameter to 0,30mm. I found this king of wire inside very small tranformators in a computer power supply.</p>
<p>By using this picutre, found on <a href="http://www.southernsoaringclub.org.za/a-BM-motors-2.html">this pa</a>ge. I was able to re wound the motor.<br />
<img class="alignnone" title="9 polar" src="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIZsIKVGI/AAAAAAAAFFU/L8J5s1GbvWk/s576/3-9%20fase%20motor%20wire.JPG" alt="" width="346" height="331" /> <a href="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIX_w1zJI/AAAAAAAAFFM/ke0V3_ARHCM/s1024/re-wonded%20four%20poles.JPG"><img class="alignnone" title="Four" src="http://lh5.ggpht.com/_kHz6hsl_gy8/SwxIX_w1zJI/AAAAAAAAFFM/ke0V3_ARHCM/s1024/re-wonded%20four%20poles.JPG" alt="" width="410" height="231" /></a></p>
<p>I actually did wound all the poles at the same time, well, one by one, but all three wires were in use, if you follow.</p>
<p>After finish wounding I had to connect wires together to make only three wires, brushless motor has three out wires.</p>
<p>Since it`s a pretty fast motor I made a delta hookup, but I did a mistake at first. This motor should have around 195mOhm per 14-turn, maybe I did not mention it is a 14-turn motor. Which means each pole (there are nine here) needs 14 turns of isolated copper wire and in a small motor like this one, it`s not that easy. Anyway, by hooking up wrong end`s I broke a ESC of mine ($10) so I had to buy another one.</p>
<p>The motor works just great now and I might add a video later.</p>
<p><strong>Gallery</strong></p>
<table style="width: 194px;">
<tbody>
<tr>
<td style="height: 194px; background: url(http://picasaweb.google.no/s/c/transparent_album_background.gif) no-repeat left;" align="center"><a href="http://picasaweb.google.no/v.hammerseth/FixingBrushlessMotor?feat=embedwebsite"><img style="margin: 1px 0 0 4px;" src="http://lh3.ggpht.com/_kHz6hsl_gy8/SwxIOlxZa7E/AAAAAAAAFFY/15Ao78VtcuI/s160-c/FixingBrushlessMotor.jpg" alt="" width="160" height="160" /></a></td>
</tr>
<tr>
<td style="text-align: center; font-family: arial,sans-serif; font-size: 11px;"><a style="color: #4d4d4d; font-weight: bold; text-decoration: none;" href="http://picasaweb.google.no/v.hammerseth/FixingBrushlessMotor?feat=embedwebsite">Fixing brushless motor</a></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://vegard.hammerseth.com/2009/11/re-winding-a-brush-less-mini-motor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

