<?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>Damian Beresford &#187; Mini-projects</title>
	<atom:link href="http://www.damianberesford.com/category/mini-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.damianberesford.com</link>
	<description>My perspective on the world of software development</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:49:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows build of &#8216;PJSUA&#8217;</title>
		<link>http://www.damianberesford.com/2009/09/21/windows-build-of-pjsua/</link>
		<comments>http://www.damianberesford.com/2009/09/21/windows-build-of-pjsua/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 15:59:36 +0000</pubDate>
		<dc:creator>Damian</dc:creator>
				<category><![CDATA[Mini-projects]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.damianberesford.com/?p=41</guid>
		<description><![CDATA[I was doing a bit of research into SIP development and I struggled to find to pre-built binary for PJSUA (a sample console application for the excellent PJSIP) for windows.
There are quite a few steps involved in building PJSIP on windows, so if anyone is looking for a pre-built binary for PJSUA for windows, here it is. [...]]]></description>
			<content:encoded><![CDATA[<p>I was doing a bit of research into <a href="http://en.wikipedia.org/wiki/Session_Initiation_Protocol">SIP</a> development and I struggled to find to pre-built binary for <a href="http://www.pjsip.org/pjsip/docs/html/page_pjsip_samples_pjsua.htm">PJSUA</a> (a sample console application for the excellent <a href="http://www.pjsip.org">PJSIP</a>) for windows.</p>
<p>There are quite a few steps involved in <a href="http://www.pjsip.org/using.htm#vs">building PJSIP on windows</a>, so if anyone is looking for a pre-built binary for PJSUA for windows, <a href="http://www.damianberesford.com/files/pjsua-i386-Win32-vc8-Release.zip">here</a> it is. It&#8217;s built with <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&amp;displaylang=en">MS SDK 7</a>, and version 2914 of the pjsip trunk.</p>
<p>Although it is billed as a reference application, PJSUA is really quite comprehensive in terms of functionality, and works very well when run against my <a href="http://www.blueface.ie/">Blueface</a> account.</p>
<p>Many thanks to everyone behind the PJSIP project, I hope to use it in earnest in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.damianberesford.com/2009/09/21/windows-build-of-pjsua/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Recent mini-project, my cheap (~€150 ex-vat) media center PC</title>
		<link>http://www.damianberesford.com/2008/12/04/recent-mini-project-my-cheap-e150-ex-vat-media-center-pc/</link>
		<comments>http://www.damianberesford.com/2008/12/04/recent-mini-project-my-cheap-e150-ex-vat-media-center-pc/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 22:06:01 +0000</pubDate>
		<dc:creator>Damian</dc:creator>
				<category><![CDATA[Mini-projects]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.damianberesford.com/?p=29</guid>
		<description><![CDATA[I recently bought a NAS box for media storage, and now I want to be able to play all our media stored on this box on our TV (over the home WiFi network). There are a few options available to accomplish this (hook up the laptop, buy an XBox, mac-mini, netbook, etc), but given the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently <a href="http://www.damianberesford.com/2008/10/08/nas-box/">bought a NAS box</a> for media storage, and now I want to be able to play all our media stored on this box on our TV (over the home WiFi network). There are a few options available to accomplish this (hook up the laptop, buy an XBox, mac-mini, netbook, etc), but given the low cost of computer components these days, I thought it would be a nice little mini-project (and a good learning experience) to build a computer from the cheapest compatible components in order to achieve this. And by cheap, I mean a cheaper option than buying an XBox, NetBook, the cheapest possible Dell, or a <a href="http://www.fit-pc.co.uk/order-now.html">Fit PC</a>.</p>
<p>So, basic components wise, I needed a motherboard, chip, fan, memory, case, power supply &amp; WiFi card. Note I didn&#8217;t need a hard drive (content is stored on my NAS box remember), the box would boot from a USB key, and I didn&#8217;t bother with a CD/DVD drive (although I might at a later stage). I wasn&#8217;t sure if I did or not to begin with, but it turned out that I did need a graphics card for playing video (they&#8217;re not just for games it seems, despite their marketing <img src='http://www.damianberesford.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>After quite a bit of shopping around, here is the list of components I went for (and overall <a href="http://www.misco.ie">Misco.ie</a> offered the best deal by far):</p>
<ul>
<li><a href="http://misco.ie/productinformation/~138120~WW~/AMD%20Athlon%203000%2B%20processor%20and%20ECS%20GS-761%20motherboard%20bundle.htm">AMD Athlon 3000+ processor and ECS GS-761 motherboard bundle</a> €46.12</li>
<li><a href="http://misco.ie/productinformation/~138375~/Aluminium%20heatsink%20with%20AM2%20retention%20clips%2080mm%20fan.htm">Aluminium heatsink with AM2 retention clips 80mm fan</a> €4.29</li>
<li><a href="http://misco.ie/productinformation/~138056~WW~ms~/Foxconn%20DH153B/SB%20silver%20and%20black%20desktop%20PC%20case.htm">Foxconn DH153B/SB silver and black desktop PC case</a> €32.17</li>
<li><a href="http://misco.ie/productinformation/~104878~/D-Link%20Wireless%2054Mbps%20PCI%20Adapter.htm">D-Link Wireless 54Mbps PCI Adapter </a>€16.30</li>
<li><a title="Kingston Memory 1GB DDR266 SDRAM CL25" href="http://misco.ie/productinformation/%7EQ42323%7E/Kingston%20Memory%201GB%20DDR266%20SDRAM%20CL25.htm">Kingston Memory 1GB DDR266 SDRAM CL25</a> €22.61</li>
<li><a href="http://misco.ie/productinformation/~Q107156~/PNY%20GeForce%207300GS%20256Mb%20PCI-Express%20graphics%20card.htm">PNY GeForce 7300GS 256Mb PCI-Express graphics card</a> €24.91</li>
</ul>
<p>Total cost: <strong>€146.40</strong> (ex-VAT!). You obviously need a few more bits and bobs which I happened to already have (mouse, keyboard, VGA cable, USB key, etc).</p>
<p>Here&#8217;s what it all looks like (minus the graphics card, purchased after I took this shot):</p>
<p><img src="http://www.damianberesford.com/files/box-components.jpg" alt="Box components" /></p>
<p><img src="http://www.damianberesford.com/files/box-front.jpg" alt="Box front" /></p>
<p>Putting it all together is really quite simple, most of the connections can only go in one place so its a bit like a little jigsaw puzzle:</p>
<p><img src="http://www.damianberesford.com/files/box-assembled.jpg" alt="Box assembled" /></p>
<p>Once all the bits are in place, the next step is to install an OS. I used <a href="http://unetbootin.sourceforge.net/">UNetbootin</a> to create bootable live USB keys. I evaluated <a href="http://en.wikipedia.org/wiki/Puppy_linux">Puppy Linux</a> and <a href="http://en.wikipedia.org/wiki/Damn_Small_Linux">Damn Small Linux</a> to see what the &#8216;<a href="http://en.wikipedia.org/wiki/Mini_Linux">mini linux</a>&#8216; distros are like (quite impressive but  not without some glitches). However, in the end I went with <a href="http://www.ubuntu.com/">Ubuntu 8.10</a> (bit heavy weight for what I need, but everything worked out of the box, and I&#8217;m very familiar with Ubunutu since I made <a>the switch</a> to it a few months back).<br />
Booting the box with the Ubuntu live USB key was fine, however, installing the OS from the live USB key to another USB key was a different matter. This was a bit convoluted, but in the end, this is what worked (unlike a lot of the how to&#8217;s which didn&#8217;t):</p>
<ul>
<li> I used 3 USB keys:
<ul>
<li> Key #1: the live USB key created with UNetBootin</li>
<li>Key #2: contains the full Ubuntu ISO CD image (downloaded from <a href="http://www.ubuntu.com/getubuntu/download">here</a>)</li>
<li> Key #3: the USB key that the OS gets installed to</li>
</ul>
</li>
<li> Boot with the live USB Key</li>
<li> Follow the instructions here <a href="http://www.pendrivelinux.com/2008/11/01/ubuntu-810-install-using-the-built-in-usb-installer/"><br />
here</a> and point the &#8217;source disk image&#8217; at key #2.</li>
<li> Once the OS is installed and booting from Key #3 you don&#8217;t need the other two keys any more.</li>
<p>So once its all installed, how does it perform? Very well (its not a bad spec machine after all), once the OS is loaded its really quite nippy. No problems either connecting to the NAS box (via <a href="http://en.wikipedia.org/wiki/Samba_(software)">Samba</a>/<a href="http://projects.gnome.org/nautilus/">Nautilus</a>) and playing movies/music/etc, so its far more powerful than I actually need. On the negative side, it&#8217;s not exactly silent, not annoyingly loud, but loud enough to know that there&#8217;s a computer in the corner! Also, disappointingly, the boot time from the USB key is quite poor. So much so that I&#8217;m thinking of either buying a very small cheap hard drive just to boot from, or alternatively buying a very large cheap hard drive such as <a href="http://misco.ie/productinformation/~Q118150~WW~/Western%20Digital%20Caviar%201TB%20SATA%20II%20Green%20Power.htm">this </a>1TB drive for €86 which is big enough to act as a backup for the NAS box.</p>
<p>Finally, the box itself if quite big, which is a bad thing as it looks unnecessarily big (and ugly), but on the plus side, there&#8217;s a ton of room in there for expansion, e.g. multiple hard drives, CD/DVD/Blue Ray player, etc. Also I just have a spare mouse plugged into it at the moment, and plug in a keyboard when needed. Going to shop around for a wireless keyboard/mouse combo which would be ideal, or look at installing some form of wireless remote.</p>
<p>Btw I&#8217;m connecting to our TV via our TV&#8217;s VGA connection and standard 3.5 audio &#8216;jack to jack&#8217; cable, so the TV is effectively acting as a monitor. If your TV doesn&#8217;t have VGA input, there are a myriad of other ways to connect your PC to your TV:<br />
<a href="http://www.letmegooglethatforyou.com/?q=how+to+connect+your+pc+to+your+tv">http://www.letmegooglethatforyou.com/?q=how+to+connect+your+pc+to+your+tv</a> <img src='http://www.damianberesford.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Also, I also have <a href="http://xbmc.org/">XBMC</a> installed on it (so when the box boots it loads directly into full screen XBMC). Kudos to the team behind XBMC, it really is shaping up to be a very cool piece of software. I really like the video and music libraries (which get music &amp; movie thumbnails and information from various places on the internet) &#8211; it really makes your media collection really feel like a collection rather than a bunch of files on a drive.</p>
<p><img src="http://www.damianberesford.com/files/xbmc1.png" alt="XBMC, artist screenshot" /></p>
<p><img src="http://www.damianberesford.com/files/xbmc2.png" alt="XBMC, album screenshot" /></p>
<p>So overall this was a nice little exercise, you do get quite a bang for your buck using cheap components, building a box yourself (and obviously free open source software). Not planning on doing this any time soon again, but taking what I&#8217;ve learned from this I&#8217;d try and try build something smaller/cheaper/better possibly by scrounging as much second hand components as I could.</p>
<p>I also like having a full PC box as part of our TV unit in the corner. Our TV has  <a href="http://en.wikipedia.org/wiki/Picture-in-picture">PIP</a> feature, so we can do things like keep an eye on a show while having a web browser open as well (handy for <a href="http://www.twitter.com">tweeting</a> about something your watching!). It would also be cool if this type of system was built into either your TV directly (would you pay an extra €100 for a TV which had a build in mini-PC? ) or into the set-top box, although this is probably just a matter of time before that happens, if it hasn&#8217;t already!</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.damianberesford.com/2008/12/04/recent-mini-project-my-cheap-e150-ex-vat-media-center-pc/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
