<?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>killswtch.net &#187; Geeky</title>
	<atom:link href="http://www.killswtch.net/category/geeky/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killswtch.net</link>
	<description>A geek's thoughts on various stuff</description>
	<lastBuildDate>Mon, 17 May 2010 20:58:48 +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>Computational Heating</title>
		<link>http://www.killswtch.net/2009/01/06/computational-heating/</link>
		<comments>http://www.killswtch.net/2009/01/06/computational-heating/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 19:35:39 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[boron]]></category>
		<category><![CDATA[heating]]></category>
		<category><![CDATA[sodium]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/?p=377</guid>
		<description><![CDATA[This morning I really struggled to get out of bed. Being very tired still, in a nice warm bed while outside it was -7 °C and my room probably wasn&#8217;t far off that, it took some convincing that I really did need to go to work. While laying there, between drifting in and out of [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I really struggled to get out of bed. Being very tired still, in a nice warm bed while outside it was -7 °C and my room probably wasn&#8217;t far off that, it took some convincing that I really did need to go to work. While laying there, between drifting in and out of consciousness, I got to wondering if I could make my room a little warmer without changing the central heating settings or adding another heater. I had the idea that I could set up my computers to respond to temperature.</p>
<p><span id="more-377"></span>I normally only have the one machine on constantly, my server <em>boron.</em> It&#8217;s a fairly old self-built P4 with an old Radeon 9600 AGP graphics card, which puts out more heat than most of my newer machines. When idling, there&#8217;s enough heat to keep the cabinet at a mild temperature on these cold nights, but the room is not so easily heated. In summer, there is the opposite problem of too much warmth which on really hot days can only be solved with air conditioning.</p>
<p>With a temperature sensor or two, I could set up <em>boron</em> to run a CPU-intensive task (such as a BOINC project like Folding@Home or Seti@Home) when it&#8217;s cold to produce heat while at the same time doing something useful. While it&#8217;s not an efficient way of heating a room, you gain both heat <strong>AND</strong> processed data, rather than just producing heat and nothing else like an electric heater would.</p>
<p>If I had more (quiet) computers in my room, I could keep them off most of the time, then turn them on automatically (using Wake-on-LAN, for example) when heat is needed to do some number crunching.</p>
<p>This idea could be applied to an entire house, like my future self-built house (still in the dream stage, and probably will be for at least 15 years). The heat produced by computation could be put to use heating a house in winter, directly using the warm air, or just helping to heat hot water in the summer by using a heat exchanger to pre-heat the water going into the boiler.</p>
<p>In fact the same could be, and probably is, applied on a commercial scale in newly designed efficient corporate buildings, where the heat from server rooms and networking closets is used to improve the efficiency of heating and hot water provision. Many new well-designed buildings take into account natural air flow, attempting to minimise the amount of energy required for environmental control. Such a use of the inefficiency of necessary electronic systems would add to this eco-design.</p>
<p>Back in the present, in my current location, using the machines I have, this could be accomplished quite easily by setting up a computer-connected thermistor measuring the ambient room temperature and some simple software to monitor the temperature and start/stop intensive tasks as necessary. Not difficult or expensive at all. It could also be applied to the MythTV box, <em>sodium</em>, downstairs in one of the coldest rooms of the house.</p>
<p>If you know of anyone or any buildings that use something like this, I&#8217;d be interested to hear about them. Please add a comment below if you are aware of any instances of this idea in use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2009/01/06/computational-heating/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Power monitoring with CurrentCost</title>
		<link>http://www.killswtch.net/2009/01/03/power-monitoring-with-currentcost/</link>
		<comments>http://www.killswtch.net/2009/01/03/power-monitoring-with-currentcost/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 14:45:20 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[currentcost]]></category>
		<category><![CDATA[electricity]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/?p=341</guid>
		<description><![CDATA[
The CurrentCost power monitor has become very popular amongst amateur home automators and those technically-savvy who want to keep an eye on how much electricity they are using (and ultimately how much they are going to have to pay in bills). A couple of months ago I purchased the CurrentCost device and a USB cable [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-346" title="CurrentCost monitor" src="http://www.killswtch.net/wp-content/uploads/img_3607.jpg" alt="CurrentCost monitor" width="420" height="315" /></p>
<p>The <a href="http://www.currentcost.co.uk/" onclick="javascript:urchinTracker ('/outbound/article/www.currentcost.co.uk');">CurrentCost power monitor</a> has become very popular amongst amateur home automators and those technically-savvy who want to keep an eye on how much electricity they are using (and ultimately how much they are going to have to pay in bills). A couple of months ago I purchased the CurrentCost device and a USB cable to connect it to a computer <a href="http://stores.ebay.co.uk/Current-Cost-Ltd" onclick="javascript:urchinTracker ('/outbound/article/stores.ebay.co.uk');">from eBay</a>. Having just seen their eBay store, it looks like they&#8217;ve got a fantastic new model on the way, but this article is about the older version.</p>
<p><span id="more-341"></span></p>
<p>By itself the device works very well, providing an at-a-glance view of current power use and a history over several periods of time. There is a simple bar chart showing the relative amounts of power used in the previous day, split into day time, evening and night. However if you want a clearer understanding of how power use changes day-to-day or even over a decade, connecting the device to a computer will provide the ability to store every reading in a database and/or produce live graphs of usage.</p>
<p><a href="http://andypiper.wordpress.com/2008/04/27/current-cost/" onclick="javascript:urchinTracker ('/outbound/article/andypiper.wordpress.com');">Several</a> <a href="http://gibbalog.blogspot.com/2008/07/graphing-current-cost.html" onclick="javascript:urchinTracker ('/outbound/article/gibbalog.blogspot.com');">people</a> <a href="http://rooreynolds.com/2008/05/09/current-cost-charting-fun/" onclick="javascript:urchinTracker ('/outbound/article/rooreynolds.com');">have</a> <a href="http://knolleary.net/2008/05/05/power-graphing/" onclick="javascript:urchinTracker ('/outbound/article/knolleary.net');">written</a> articles on how to do the logging, each using a slightly different method (and language) to do so. Most of them are for linux though, but any programmer should be able to port the ideas across to a different platform such as Windows or Mac OS. For my implementation, I followed <a href="http://www.jibble.org/currentcost/" onclick="javascript:urchinTracker ('/outbound/article/www.jibble.org');">this guide on jibble.org</a>.</p>
<p>This is what my perl script turned out like:</p>
<pre>#!/usr/bin/perl -w
# Reads data from a Current Cost device via serial port.

use strict;
use Device::SerialPort qw( <img src='http://www.killswtch.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ARAM :STAT 0.07 );

my $PORT = "/dev/ttyUSB1";
my $ob = Device::SerialPort-&gt;new($PORT);

$ob-&gt;baudrate(9600);
$ob-&gt;write_settings;

open(SERIAL, "+&gt;$PORT");
while (my $line = &lt;SERIAL&gt;) {
    if ($line =~ m!&lt;ch1&gt;&lt;watts&gt;0*(\d+)&lt;/watts&gt;&lt;/ch1&gt;.*&lt;tmpr&gt;([\d.]+)&lt;/tmpr&gt;!) {
        my $watts = $1;
        my $temp = $2;
        print `/usr/bin/rrdtool update /var/scripts/currentcost/powertemp.rrd N:$watts:$temp`
    }
}</pre>
<p>Note that because I&#8217;m connecting via a USB port, the serial port name is different. The baud is also 9600 rather than 2800. I have set this script to run at startup (detatched from the console) so that it is always running in the background.</p>
<p>I have also produced another simple script, which is run every minute as a cron job.  The script generates the graphs from the data stored in the RRD file, and uploads them to my web server via SSH.</p>
<pre>#!/bin/sh

rrdtool graph /var/scripts/currentcost/power-10min.png --start end-10m --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null
rrdtool graph /var/scripts/currentcost/power-60min.png --start end-60m --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null
rrdtool graph /var/scripts/currentcost/power-day.png --start end-24h --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null
rrdtool graph /var/scripts/currentcost/power-week.png --start end-1weeks --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null
rrdtool graph /var/scripts/currentcost/power-month.png --start end-1months --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null
rrdtool graph /var/scripts/currentcost/power-year.png --start end-1years --width 323 --end now --slope-mode --no-legend --vertical-label Watts --lower-limit 0 --alt-autoscale-max DEF:Power=/var/scripts/currentcost/powertemp.rrd:Power:AVERAGE LINE1:Power#0000FF:"Average" &gt; /dev/null

#Copy locally
cp /var/scripts/currentcost/*.png /var/www/currentcost/

#Upload to mars
/usr/bin/scp /var/scripts/currentcost/*.png root@192.168.2.3:/var/www/vhosts/currentcost.elemental.killswtch.net</pre>
<p>You can see the result on the <a href="/power/">Power</a> page of this site. The graphs at the moment are fairly basic. The Jibble article includes some extra data in the graphs, which I will probably add at some point. For the moment though it does the job very well.</p>
<p><img class="aligncenter size-full wp-image-347" title="img_3599" src="http://www.killswtch.net/wp-content/uploads/img_3599.jpg" alt="img_3599" width="420" height="315" /></p>
<p>The CC device is located downstairs, in the living room. Thanks to the serial output connector being an RJ45 socket, it was very easy to plug it into the exising CAT5 network (which I&#8217;m very glad I did) and run the signal to the cabinet in my room where it is then broken out through the RJ45 patch panel, through the RS232/USB cable and into the fileserver <em>boron</em>, which hosts the scripts.</p>
<p><img class="aligncenter size-full wp-image-348" title="USB cable" src="http://www.killswtch.net/wp-content/uploads/img_3601.jpg" alt="USB cable" width="420" height="315" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2009/01/03/power-monitoring-with-currentcost/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Whole House Audio system: version 1 is complete</title>
		<link>http://www.killswtch.net/2008/07/14/whole-house-audio-system-version-1-is-complete/</link>
		<comments>http://www.killswtch.net/2008/07/14/whole-house-audio-system-version-1-is-complete/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 18:11:52 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[A/V]]></category>
		<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/?p=303</guid>
		<description><![CDATA[
Over a year after it began, the whole-house-audio project is complete. 4 rooms around the house can now be filled with the sound of any of (currently) 4 audio devices thanks to a mixture of hardware and software.
The project had a slightly rocky start, with a prototype not functioning at all and partly destroyed amplifier [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.killswtch.net/wp-content/uploads/img_2717.jpg" ><img class="alignnone size-medium wp-image-304" title="Audio sources" src="http://www.killswtch.net/wp-content/uploads/img_2717-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>Over a year after it began, the whole-house-audio project is complete. 4 rooms around the house can now be filled with the sound of any of (currently) 4 audio devices thanks to a mixture of hardware and software.</p>
<p><span id="more-303"></span>The project had a slightly rocky start, with a <a href="http://www.killswtch.net/2007/11/27/audio-distribution-system-phase-1-the-prototype/" >prototype</a> not functioning at all and <a href="http://www.killswtch.net/2007/12/02/back-to-the-drawing-board/" >partly destroyed amplifier</a> (which was thankfully <a href="http://www.killswtch.net/2007/12/08/resurrecting-a-dead-amplifier/" >fixable</a> by replacing a <a href="http://www.killswtch.net/2008/01/15/resurrecting-a-dead-amplifier-the-continuation/" >couple of components</a>). A <a href="http://www.killswtch.net/2007/12/06/software-based-matrix-switcher/" >software alternative</a> was considered at one point, to avoid too much expensive hardware. The hardware solution proved to be less complex and more likely to work.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_23291.jpg" ><img class="alignnone size-medium wp-image-305" title="Dining room speakers" src="http://www.killswtch.net/wp-content/uploads/img_23291-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>The living room, <a href="http://www.killswtch.net/2008/06/18/dining-room-speakers/" >dining room</a>, <a href="http://www.killswtch.net/2008/06/15/kitchen-speakers/" >kitchen</a> and master bedroom are host to a pair of speakers each, connected to matching <a href="http://www.killswtch.net/2008/06/15/last-of-the-amplifiers/" >240W rack-mounted amplifiers</a> housed in my <a href="http://www.killswtch.net/2007/11/11/my-diy-19-rack/" >home-made full-height 19&#8243; rack cabinet</a>. The cables that carry the audio signals to the speakers were <a href="http://www.killswtch.net/2007/11/28/wiring-the-house/" >installed</a> along with 24 runs of CAT5 before moving into the house.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/dscf0050.jpg" ><img class="alignnone size-medium wp-image-310" title="Cabling" src="http://www.killswtch.net/wp-content/uploads/dscf0050-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_22201.jpg" ><img class="alignnone size-medium wp-image-311" title="Amplifiers" src="http://www.killswtch.net/wp-content/uploads/img_22201-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>The audio is routed to the amplifiers via an 8&#215;8 <a href="http://www.killswtch.net/2008/02/17/the-vams-0808-matrix-switcher-and-determining-its-protocol/" >VAMS-0808 AV matrix switcher</a>, which allows the 8 outputs to take their inputs from any of the 8 available sources. Only 4 of each are currently in use, so there&#8217;s plenty of room for expansion.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_1737.jpg" ><img class="alignnone size-medium wp-image-308" title="Matrix switcher status display" src="http://www.killswtch.net/wp-content/uploads/img_1737-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_1738.jpg" ><img class="alignnone size-medium wp-image-309" title="Matrix switcher control panel" src="http://www.killswtch.net/wp-content/uploads/img_1738-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>4 audio sources are connected via simple <a href="http://www.killswtch.net/2008/05/07/successful-test-of-audio-over-cat5/" >custom-altered CAT5 cables</a>, which simply transmit line-level signals over the <a href="http://www.killswtch.net/2008/05/05/completing-the-data-wiring/" >existing twisted pair infrastructure</a> installed in the house. These sources are currently the DAB radio in the kitchen, the TV in the living room, the computer in the dining room (for playing CDs) and a second DAB radio in the master bedroom.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2699.jpg" ><img class="alignnone size-medium wp-image-306" title="Green cables for audio" src="http://www.killswtch.net/wp-content/uploads/img_2699-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2369.jpg" ><img class="alignnone size-medium wp-image-307" title="Stereo jack to RJ45" src="http://www.killswtch.net/wp-content/uploads/img_2369-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>I&#8217;ve written the software to control it all using .Net (C# of course), running on <a href="http://www.mono-project.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.mono-project.com');">mono</a> on linux. There are four components to this:</p>
<ol>
<li>To control the matrix switcher, I have written a library which communicates with the <a href="http://www.killswtch.net/2008/03/15/the-vams-0808-matrix-switcher-and-determining-its-protocol-part-2/" >VAMS-0808 via an RS232 serial connection</a>. The software can perform any of the operations that can be performed via the front panel of the device, apart from switching power on and off.</li>
<li>The amplifiers are connected to an APC AP9212 MasterSwitch Power Distribution Unit which was bought with this project in mind. Controlling this is slightly less straightforward and not quite as elegant. The library that I&#8217;ve written for this communicates through the telnet interface of the MasterSwitch to turn devices on and off.</li>
<li>Combining these two libraries is a simple web server which presents an equally simple XML-based web service. The service allows room inputs to be changed and switches the amplifiers on and off as necessary. This runs on a low-power disk-less computer running <a href="http://www.ubuntu.com/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.ubuntu.com');">Ubuntu</a>, hidden within the rack cabinet.</li>
<li>A touchscreen web interface acts as a front-end to the entire system. The simple menu system uses iUi for a clean touchscreen-friendly design. As with the web server this runs on a <a href="http://www.killswtch.net/2008/07/10/sff-pcs/" >low-power machine</a>, although this one has a small hard disk and runs Windows due to technical issues with the touchscreen.</li>
</ol>
<p>There is currently just the one controller front-end, located in the dining room. To listen to the kitchen radio, for example, all that is necessary is to select the &#8216;Kitchen DAB Radio&#8217; option from the main menu, then select which of the 4 rooms to play it through &#8211; or all of them if you are going to be wondering around most of the house.</p>
<h2>Future extensions</h2>
<p>Thanks to building the web interface with <a href="http://code.google.com/p/iui/" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/code.google.com');">iUi</a>, the system is compatible with the <a href="http://www.killswtch.net/2007/12/09/ipod-remote-control-interface-mockups/" >iPod Touch and iPhone</a>, so they can instantly act as <a href="http://www.killswtch.net/2007/12/06/using-an-ipod-as-a-remote/" >frontends</a> for audio control. A second fixed controller may be added in the master bedroom in time, if there&#8217;s enough money available. Each front-end costs about Â£200 in hardware, depending on what bargains can be found on eBay.</p>
<p>The matrix switcher supports both audio and video. Only the audio channels are used at the moment, so there is the very real possibility of using the remaining 4 output zones to connect to TVs around the house and adding some AV sources. This way it&#8217;s instantly converted into a whole-house-AV system. The video signals can be carried over the twisted pair CAT5 cables like the audio, but will require a little more hardware to preserve quality. This <a href="http://www.kat5.tv/products.html" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.kat5.tv');">hardware</a> is <a href="http://www.keene.co.uk/electronics/multi.php?mycode=C5QDA" target="_blank" onclick="javascript:urchinTracker ('/outbound/article/www.keene.co.uk');">relatively expensive</a>, although savings can be made by building the equivalents by hand. Following the tradition of this project, that&#8217;s probably what I&#8217;ll do. I have done it before while I was at university and it works beautifully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2008/07/14/whole-house-audio-system-version-1-is-complete/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Low voltage power supply, ventilation &amp; lighting</title>
		<link>http://www.killswtch.net/2008/07/12/low-voltage-supply-ventilation-lighting/</link>
		<comments>http://www.killswtch.net/2008/07/12/low-voltage-supply-ventilation-lighting/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 21:02:56 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Rackmodding]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/?p=266</guid>
		<description><![CDATA[
One thing that has been lacking since the first build of the rack is ventilation. With both sets of doors closed, the inside can get quite warm, especially when iron is turned on. Not any more though, having just completed the installation of 2 active ventilation zones, lighting and a low voltage power supply system [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.killswtch.net/wp-content/uploads/img_2662.jpg" ><img class="alignnone size-medium wp-image-267" title="Power button" src="http://www.killswtch.net/wp-content/uploads/img_2662-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>One thing that has been lacking since the first build of the rack is ventilation. With both sets of doors closed, the inside can get quite warm, especially when <em>iron</em> is turned on. Not any more though, having just completed the installation of 2 active ventilation zones, lighting and a low voltage power supply system complete with rack-mount control panel.</p>
<p><span id="more-266"></span><a href="http://www.killswtch.net/wp-content/uploads/img_2101.jpg" ><img class="alignnone size-medium wp-image-268" title="Before cutting" src="http://www.killswtch.net/wp-content/uploads/img_2101-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>Air is drawn in at the bottom of the rack by 5 quiet 80mm 12v fans, positioned behind a perforated 2U panel inside the front panel of the base. The air is blown vertically into the cabinet from the bottom through a similar 1U perforated panel. Although the draught is barely noticeable, the difference it makes to temperatures at the front of the rack is significant.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2107.jpg" ><img class="alignnone size-medium wp-image-269" title="Fan tower" src="http://www.killswtch.net/wp-content/uploads/img_2107-420x560.jpg" alt="" width="420" height="560" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2113.jpg" ><img class="alignnone size-medium wp-image-270" title="Fans in place" src="http://www.killswtch.net/wp-content/uploads/img_2113-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2430.jpg" ><img class="alignnone size-medium wp-image-271" title="img_2430" src="http://www.killswtch.net/wp-content/uploads/img_2430-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>With this &#8216;air curtain&#8217; alone though, the back of the rack still gets very warm. To solve this I&#8217;ve installed a relatively huge 200mm &#8216;Big Boy&#8217; fan into the newly-added top of the cabinet. This sucks out the warm air and dispenses it into the containing room. Together these fans keep the entire cabinet cool.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2477.jpg" ><img class="alignnone size-medium wp-image-272" title="Big Boy" src="http://www.killswtch.net/wp-content/uploads/img_2477-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2608.jpg" ><img class="alignnone size-medium wp-image-273" title="Hole for the Big Boy" src="http://www.killswtch.net/wp-content/uploads/img_2608-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2633.jpg" ><img class="alignnone size-medium wp-image-274" title="Big Boy in position" src="http://www.killswtch.net/wp-content/uploads/img_2633-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>To power the fans I&#8217;ve used an old ATX power supply. In order to make replacement easy when the supply fails, no modifications have been made to it. Instead, I bought a 20-pin molex connector so that I could just plug the ATX connector straight into my system.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2406.jpg" ><img class="alignnone size-medium wp-image-275" title="PSU" src="http://www.killswtch.net/wp-content/uploads/img_2406-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2411.jpg" ><img class="alignnone size-medium wp-image-276" title="20 pin molex" src="http://www.killswtch.net/wp-content/uploads/img_2411-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2428.jpg" ><img class="alignnone size-medium wp-image-277" title="4p in molex butchered" src="http://www.killswtch.net/wp-content/uploads/img_2428-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2496.jpg" ><img class="alignnone size-medium wp-image-278" title="Panels before cutting" src="http://www.killswtch.net/wp-content/uploads/img_2496-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2497.jpg" ><img class="alignnone size-medium wp-image-279" title="ATX template" src="http://www.killswtch.net/wp-content/uploads/img_2497-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2498.jpg" ><img class="alignnone size-medium wp-image-280" title="Cutout marked" src="http://www.killswtch.net/wp-content/uploads/img_2498-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2516.jpg" ><img class="alignnone size-medium wp-image-281" title="Cutting out the PSU hole" src="http://www.killswtch.net/wp-content/uploads/img_2516-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2681.jpg" ><img class="alignnone size-medium wp-image-282" title="PSU mounted" src="http://www.killswtch.net/wp-content/uploads/img_2681-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>The PSU is connected to 4 switches that are mounted on a 1U blanking panel in the front of the rack. I wanted some fancy switches, so I splashed out on some nice chromed illuminated ones from China (via eBay). There&#8217;s one green DPDT switch, which switches the PSU on and off, and three blue SPDT switches which control power to the two fan systems and some lighting.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2086.jpg" ><img class="alignnone size-medium wp-image-283" title="Switches on arrival" src="http://www.killswtch.net/wp-content/uploads/img_2086-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2089.jpg" ><img class="alignnone size-medium wp-image-284" title="Green switch" src="http://www.killswtch.net/wp-content/uploads/img_2089-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2441.jpg" ><img class="alignnone size-medium wp-image-286" title="Green switch test" src="http://www.killswtch.net/wp-content/uploads/img_2441-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2501.jpg" ><img class="alignnone size-medium wp-image-287" title="Bench drill" src="http://www.killswtch.net/wp-content/uploads/img_2501-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2504.jpg" ><img class="alignnone size-medium wp-image-288" title="Drilling holes" src="http://www.killswtch.net/wp-content/uploads/img_2504-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2511.jpg" ><img class="alignnone size-medium wp-image-290" title="First switch in position" src="http://www.killswtch.net/wp-content/uploads/img_2511-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2526.jpg" ><img class="alignnone size-medium wp-image-291" title="Wiring up the switches" src="http://www.killswtch.net/wp-content/uploads/img_2526-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2534.jpg" ><img class="alignnone size-medium wp-image-293" title="Keeping the wires in check" src="http://www.killswtch.net/wp-content/uploads/img_2534-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2542.jpg" ><img class="alignnone size-medium wp-image-294" title="Switches wired up" src="http://www.killswtch.net/wp-content/uploads/img_2542-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2556.jpg" ><img class="alignnone size-medium wp-image-295" title="Panel mounted in rack" src="http://www.killswtch.net/wp-content/uploads/img_2556-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2647.jpg" ><img class="alignnone size-medium wp-image-296" title="Power switch" src="http://www.killswtch.net/wp-content/uploads/img_2647-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2649.jpg" ><img class="alignnone size-medium wp-image-297" title="Device switches" src="http://www.killswtch.net/wp-content/uploads/img_2649-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p>The lighting illuminates the front of the rack, and is there purely for decorative purposes. I had considered using cold-cathode tubes, but the seller that I got the switches from also sells strips of LEDs encased in a flexible transparent rubber-like substance. They are sold in various lengths, but I thought 96cm would be OK for what I wanted (at the time I bought it to experiment with, thinking that it could illuminate the wall behind my desk). This strip is now mounted on the left-hand front door.</p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2433.jpg" ><img class="alignnone size-medium wp-image-298" title="Testing the LEDs" src="http://www.killswtch.net/wp-content/uploads/img_2433-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2435.jpg" ><img class="alignnone size-medium wp-image-299" title="LEDs up close" src="http://www.killswtch.net/wp-content/uploads/img_2435-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2634.jpg" ><img class="alignnone size-medium wp-image-300" title="Attaching to the door" src="http://www.killswtch.net/wp-content/uploads/img_2634-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2644.jpg" ><img class="alignnone size-medium wp-image-301" title="Reflecting" src="http://www.killswtch.net/wp-content/uploads/img_2644-420x315.jpg" alt="" width="420" height="315" /></a></p>
<p><a href="http://www.killswtch.net/wp-content/uploads/img_2674.jpg" ><img class="alignnone size-medium wp-image-302" title="Blue!!" src="http://www.killswtch.net/wp-content/uploads/img_2674-420x315.jpg" alt="" width="420" height="315" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2008/07/12/low-voltage-supply-ventilation-lighting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Another HTPC and a TV more than worthy of it</title>
		<link>http://www.killswtch.net/2008/06/15/another-htpc-and-a-tv-more-than-worthy-of-it/</link>
		<comments>http://www.killswtch.net/2008/06/15/another-htpc-and-a-tv-more-than-worthy-of-it/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 10:38:03 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[A/V]]></category>
		<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/?p=229</guid>
		<description><![CDATA[
One of the things that has been lacking in my bedroom is a TV. I can watch recorded TV programs, DVDs and other videos on my PC, but not at the same time as relaxing on my bed. While I had a week off work I was looking around the Dabs website and ventured across [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-230" title="MythTV on the new TV" src="http://www.killswtch.net/wp-content/uploads/img_2303.jpg" alt="" width="420" height="315" /></p>
<p>One of the things that has been lacking in my bedroom is a TV. I can watch recorded TV programs, DVDs and other videos on my PC, but not at the same time as relaxing on my bed. While I had a week off work I was looking around the Dabs website and ventured across <a href="http://www.dabs.com/productview.aspx?QuickLinx=53PT" onclick="javascript:urchinTracker ('/outbound/article/www.dabs.com');">a real bargain of a TV</a> (now discontinued). It supports full 1080p HDTV as well as being a relatively huge 37&#8243; all for just Â£539. I couldn&#8217;t pass this by, so I spent a while doing investigation work and finally decided to take the plunge and buy the thoroughly indulgent item.</p>
<p>When I designed the rack, the idea was that I would eventually get an LCD TV and it would be mounted to the side of the rack. However, it now contains so much equipment that the weight has become a bit of a concern. To avoid problems with the rack castors collapsing under the load &#8211; or even the floor of my bedroom doing the same &#8211; I decided to mount it in a more traditional location, on the wall at the foot of my bed (though I had to turn my bed around to make it the foot).</p>
<p><img class="alignnone size-full wp-image-235" title="Wall space" src="http://www.killswtch.net/wp-content/uploads/img_2294.jpg" alt="" width="420" height="315" /></p>
<p><img class="alignnone size-full wp-image-234" title="TV mounted" src="http://www.killswtch.net/wp-content/uploads/img_2297.jpg" alt="" width="420" height="315" /></p>
<p>Now I needed something decent to connect it to, with the ability to run MythTV and watch video at possibly 1080p resolution. Boron used to live in a HTPC case, but it started getting a little crowded and warm and with the construction of my rack the innards were moved to a 19&#8243; case. That meant that I&#8217;ve had a spare high-quality case lying around doing nothing for a while. Now I had the opportunity to bring it back into service.</p>
<p><img class="alignnone size-full wp-image-232" title="Dusty case" src="http://www.killswtch.net/wp-content/uploads/img_2247.jpg" alt="" width="420" height="315" /></p>
<p>The Core 2 Duo in my gaming machine has done nothing but impress with its performance and cool running, so I knew what I wanted to base this new machine around. The <a href="https://www.dabs.com/productview.aspx?QuickLinx=5335" onclick="javascript:urchinTracker ('/outbound/article/www.dabs.com');">E7200 2.53GHz</a> was the cheapest Core 2 available on Dabs, so into the basket it went. I wasn&#8217;t too bothered about having a high-spec for the rest of the system, and indeed it needs to be farily quiet and cool so for graphics I went with the <a href="https://www.dabs.com/productview.aspx?QuickLinx=4YNS"title="Asustek Radeon HD3450 256MB DDR2 PCIE DVI VGA 600/1GHz"  onclick="javascript:urchinTracker ('/outbound/article/www.dabs.com');">Asustek Radeon HD3450 256MB</a> and a cheap-but-capable Gigabyte motherboard.</p>
<p><img class="alignnone size-full wp-image-231" title="Inside barium" src="http://www.killswtch.net/wp-content/uploads/img_2261.jpg" alt="" width="420" height="315" /></p>
<p>The processor ended up getting swapped for the slightly slower one in <em>aluminium</em>, so I got a small upgrade for gaming at the same time. For the OS I&#8217;m currently experimenting with <a href="http://www.mythbuntu.org/" onclick="javascript:urchinTracker ('/outbound/article/www.mythbuntu.org');">MythBuntu</a> for amd64. I&#8217;ve also taken another look at <a href="http://www.linuxmce.org/" onclick="javascript:urchinTracker ('/outbound/article/www.linuxmce.org');">LinuxMCE</a>, which I might give a go some time.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-233 aligncenter" title="Barium in its place" src="http://www.killswtch.net/wp-content/uploads/img_2287.jpg" alt="" width="315" height="420" /></p>
<p>The new machine was named <em>barium</em>, and sits fairly neatly under my bedside table.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2008/06/15/another-htpc-and-a-tv-more-than-worthy-of-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fire Protection</title>
		<link>http://www.killswtch.net/2008/04/06/fire-protection/</link>
		<comments>http://www.killswtch.net/2008/04/06/fire-protection/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 20:02:43 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/2008/04/06/fire-protection/</guid>
		<description><![CDATA[
For quite a while now I&#8217;ve had 2U at the top of the rack consumed by an APW Fire Protection Unit. This clever bit of kit, found by chance on eBay for Â£15, will extinguish a fire using FM200 gas (with some nitrogen thrown in) when detected by either of it&#8217;s two optical smoke detectors.

Until [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image183" alt="img_2018.JPG" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_2018.JPG" /></p>
<p>For quite a while now I&#8217;ve had 2U at the top of the rack consumed by an APW Fire Protection Unit. This clever bit of kit, found by chance on eBay for Â£15, will extinguish a fire using FM200 gas (with some nitrogen thrown in) when detected by either of it&#8217;s two optical smoke detectors.</p>
<p><img id="image184" alt="img_2026.JPG" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_2026.JPG" /></p>
<p>Until today it hasn&#8217;t been plugged in for more than half a second because the alarm appears to be broken inside (or I need to do some sort of configuration which isn&#8217;t possible without a manual) and so it was far too noisy to use. The alarm is deafening and certainly does it&#8217;s job, but is obviously a little eager to make itself known. Just in case this was an indication that the gas might be released I disconnected the fillament in glass stopper on the end of the canister (later reconnected when I was happy it&#8217;s only the alarm that is broken).<br />
To solve the alarm problem I have been forced to snip one of the wires to the sounder so that I can use it. This shouldn&#8217;t affect the operation of the unit, though it wont be able to give any audible indication of a fire. There is a visual indicator on the front to back it up. To replace to the audible function I will install a standard household smoke alarm.</p>
<p><img id="image185" alt="img_2031.JPG" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_2031.JPG" /></p>
<p>I&#8217;m just waiting for a backup to complete before I hand over power management to it. In the event of a fire, it will instantly cut power to anything that it feeds, which in this case will be most things that are connected to the UPS. Unfortunately the UPS shutdown functionality isn&#8217;t compatible with my UPS since it uses basic status signalling, so if a fire does break out it had best not be in the UPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2008/04/06/fire-protection/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Getting NUT working with a Compaq T2400h</title>
		<link>http://www.killswtch.net/2008/04/06/getting-nut-working-with-a-compaq-t2400h/</link>
		<comments>http://www.killswtch.net/2008/04/06/getting-nut-working-with-a-compaq-t2400h/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 19:42:40 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/2008/04/06/getting-nut-working-with-a-compaq-t2400h/</guid>
		<description><![CDATA[
Several months ago I posted some information on the cable to connect a Compaq T2400h to a standard serial port. This weekend I finally got around to trying out the information that I found. I now have the 2.4KVA UPS at the bottom of my rack cabinet talking to my Ubuntu-based fileserver, boron.
The first step [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="img_1897.JPG" id="image175" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_1897.JPG" /></p>
<p>Several months ago I <a href="http://www.killswtch.net/2007/09/09/useful-information-for-compaq-t2400h-ups-owners/" >posted some information</a> on the cable to connect a Compaq T2400h to a standard serial port. This weekend I finally got around to trying out the information that I found. I now have the 2.4KVA UPS at the bottom of my rack cabinet talking to my Ubuntu-based fileserver, <em>boron</em>.</p>
<p>The first step was to create the cable. This requires a 9 pin female &#8216;D&#8217; connector and a matching male connector. For the cable I used an offcut of CAT5, though normally serial cables do not use twisted pair (usually just parallel wires).</p>
<p><img alt="img_1898.JPG" id="image176" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_1898.JPG" /></p>
<p><img alt="img_1904.JPG" id="image177" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_1904.JPG" /></p>
<p><img alt="img_1915.JPG" id="image180" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_1915.JPG" /></p>
<p><img alt="img_1918.JPG" id="image181" src="http://www.killswtch.net/wp-content/uploads/2008/04/img_1918.JPG" /></p>
<p>The software part is done using <a href="http://www.networkupstools.org/" onclick="javascript:urchinTracker ('/outbound/article/www.networkupstools.org');">NUT</a>, for which there is a package included in the Ubuntu distribution. This software talks to the UPS, monitors it&#8217;s status and allows other computers to check the status. The monitoring applications are then responsible for shutting down the computers attached to the UPS should power fail and the battery become critical. So far this is just <em>boron</em> and my Windows machine, <em>aluminium</em>. The latter uses <a href="http://csociety.ecn.purdue.edu/~delpha/winnut/" onclick="javascript:urchinTracker ('/outbound/article/csociety.ecn.purdue.edu');">WinNUT</a> to shut down Windows when needed.</p>
<p>There were a few problems getting NUT to work with Ubuntu. First off, the package doesnt put any configuration files in the <em>/etc/nut</em> path, so I had to go hunt for the examples and copy then modify them. The next problem was with permissions for the serial port. For testing purposes I tried running the protocol module as root, but this introduced different permissions problems. The solution was to add the &#8216;nut&#8217; user to the &#8216;dialout&#8217; group, which is one group that has access to the serial ports. To my relief this got everything working.</p>
<p>These are the parameters that I can access over the serial connection:</p>
<p><code>simon@boron:~$ upsc compaq@boron<br />
battery.charge:  97.22<br />
battery.runtime: 1620.000<br />
battery.voltage: 0055.50<br />
battery.voltage.nominal: 0048.00<br />
driver.name: upscode2<br />
driver.parameter.input_timeout: 5<br />
driver.parameter.manufacturer: Compaq<br />
driver.parameter.port: /dev/ttyS0<br />
driver.parameter.use_pre_lf: yes<br />
driver.version: 2.0.5<br />
driver.version.internal: 0.84<br />
input.voltage: 0244.50<br />
input.voltage.maximum: 0276.00<br />
input.voltage.minimim: 0162.00<br />
input.voltage.nominal: 0230.00<br />
output.current: 0001.95<br />
output.frequency: 0050.00<br />
output.voltage: 0215.10<br />
ups.alarm:<br />
ups.delay.reboot: 000<br />
ups.delay.shutdown: 000<br />
ups.load: 21.875<br />
ups.mfr: Compaq<br />
ups.model: UPS 2400 VA FW -0023<br />
ups.power.nominal: 2300.000<br />
ups.serial: E########<br />
ups.status: OL TRIM</code></p>
<p>These are the resources that I used to get the UPS/NUT combo working:</p>
<ul>
<li><a href="http://lists.alioth.debian.org/pipermail/nut-upsuser/2007-April/002553.html" onclick="javascript:urchinTracker ('/outbound/article/lists.alioth.debian.org');">[Nut-upsuser] Compaq T2400H UPS model 242688-006</a></li>
<li><a href="http://keystoneit.wordpress.com/2006/09/25/network-ups-tools-nut-on-ubuntu/" onclick="javascript:urchinTracker ('/outbound/article/keystoneit.wordpress.com');">Network UPS Tools (NUT) on Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2008/04/06/getting-nut-working-with-a-compaq-t2400h/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Foaming</title>
		<link>http://www.killswtch.net/2007/12/29/foaming/</link>
		<comments>http://www.killswtch.net/2007/12/29/foaming/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 19:29:00 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Geeky]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/2007/12/29/foaming/</guid>
		<description><![CDATA[I received yet more odd looks and comments at work when a few weeks ago I received a delivery of 24 foam tiles. I ordered them from eBay as an experiment in trying to reduce the amount of noise eminating from the rack cabinet. At about Â£30 it was a bit of a gamble.


The tiles [...]]]></description>
			<content:encoded><![CDATA[<p>I received yet more odd looks and comments at work when a few weeks ago I received a delivery of 24 foam tiles. I ordered them from eBay as an experiment in trying to reduce the amount of noise eminating from the rack cabinet. At about Â£30 it was a bit of a gamble.</p>
<p><img alt="The foam" id="image111" src="http://www.killswtch.net/wp-content/uploads/2007/12/img_1399.JPG" /></p>
<p><span id="more-109"></span></p>
<p>The tiles arrived packed in a tower, and were a lot lighter than I expected. I have installed sound absorption material before, inside the HTPC case that used to house boron, but that was specifically designed for noise reduction within computers. This foam was much thinner but had several layers. The bottom layer was very high density and hence quite heavy. The weight is designed to dampen vibration in whatever it&#8217;s attached to as well as absorbing sounds. The foam for the cabinet is not layered but it&#8217;s much thicker at about 4cm. One of the larger surfaces is flat and the other has an egg-crate relief pattern which apparently prevents the formation of standing waves.</p>
<div style="text-align: center"><img alt="img_1388.JPG" id="image112" src="http://www.killswtch.net/wp-content/uploads/2007/12/img_1388.JPG" /></div>
<p>The tiles are normally attached using spray-on adhesive, but to keep costs down I decided to give my glue gun a go. However, since hot-melt glue is obviously a liquid when applying, the foam tended to absorb quite a lot of it rather than presenting it to the side panels to which the foam was being attached. The solution to this was to add more glue and only press very lightly and hold until the glue had cooled. Despite this method, I managed to use up 5 or 6 sticks &#8211; my entire supply &#8211; doing both sides of the cabinet.</p>
<div style="text-align: center"><img alt="Glue gun" id="image113" src="http://www.killswtch.net/wp-content/uploads/2007/12/img_1420.JPG" /></div>
<p>24 tiles turned out to be the exact amount needed. I thought I might only use about 8, but 12 on each side fitted just right. Only 2 offcuts were made as a result of having to account for the 4-way power strip mounted to one of the uprights in the cabinet.</p>
<div style="text-align: center"><img alt="img_1423.JPG" id="image114" src="http://www.killswtch.net/wp-content/uploads/2007/12/img_1423.JPG" /></div>
<p>The resulting noise reduction is better than I expected. I can now sleep at night despite the 40mm fans on the two 19&#8243; rackmount switches whirring away. It&#8217;s far from totally silent, but the elimination of reflection of the sounds inside the cabinet has greatly reduced the amplitude of the eminating noise, which escapes from the top of the cabinet. I have attempted to add the top to the cabinet which again drastiacally reduced noise, but it caused the temperature inside to rise significantly and I discovered that the top of the cabinet is not square enough to mount the top without modification.</p>
<div style="text-align: center"><img alt="img_1434.JPG" id="image115" src="http://www.killswtch.net/wp-content/uploads/2007/12/img_1434.JPG" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2007/12/29/foaming/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iPod remote control interface mockups</title>
		<link>http://www.killswtch.net/2007/12/09/ipod-remote-control-interface-mockups/</link>
		<comments>http://www.killswtch.net/2007/12/09/ipod-remote-control-interface-mockups/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 14:40:52 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/2007/12/09/ipod-remote-control-interface-mockups/</guid>
		<description><![CDATA[Here are some initial interface wireframes for the iPod Touch remote control. I&#8217;ve not shown all of the menus because that would be quite a bit of work. These three should give you an idea of what I intend to do though.
Main menu
The main menu summarises the major systems of the house. Clicking on one [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some initial interface wireframes for the <a href="http://www.killswtch.net/2007/12/06/using-an-ipod-as-a-remote/" >iPod Touch remote control</a>. I&#8217;ve not shown all of the menus because that would be quite a bit of work. These three should give you an idea of what I intend to do though.</p>
<p><strong>Main menu</strong></p>
<p>The main menu summarises the major systems of the house. Clicking on one of the buttons takes you to more controls for that system. The colour of the buttons indicate the overall state of the system &#8211; green = OK, yellow = warning, red = error, grey = disabled.</p>
<p><img alt="mockup-main-menu.png" id="image104" src="http://www.killswtch.net/wp-content/uploads/2007/12/mockup-main-menu.png" /></p>
<p><strong>Audio</strong></p>
<p>The audio controls will list the 4 zones, with a drop-down menu next to each button to select the audio source. Clicking the large button switches the zone on or off. Pressing the &#8216;Use for all&#8217; button copies the settings of the selected zone to all the other zones.</p>
<p><img alt="mockup-audio-menu.png" id="image103" src="http://www.killswtch.net/wp-content/uploads/2007/12/mockup-audio-menu.png" /></p>
<p><strong>Security</strong></p>
<p>The large buttons display a thumbnail of the live video from the cameras. Clicking on the large button will show the full video feed (resized to fit the iPod&#8217;s screen). Cameras can be disabled for privacy.</p>
<p><img id="image105" alt="mockup-security.png" src="http://www.killswtch.net/wp-content/uploads/2007/12/mockup-security.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2007/12/09/ipod-remote-control-interface-mockups/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sensor boxes</title>
		<link>http://www.killswtch.net/2007/12/08/sensor-boxes/</link>
		<comments>http://www.killswtch.net/2007/12/08/sensor-boxes/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 23:05:48 +0000</pubDate>
		<dc:creator>killswtch</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Home Automation]]></category>

		<guid isPermaLink="false">http://www.killswtch.net/2007/12/08/sensor-boxes/</guid>
		<description><![CDATA[Whilst pondering over what sensors I could put around the house, I ventured upon the idea of having a &#8217;sensor box&#8217; per room. This would be based upon something like the Netiom xAP, which would connect various sensors to the house&#8217;s IP network. Some of the sensors in each room would be different. Here are [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst pondering over what sensors I could put around the house, I ventured upon the idea of having a &#8217;sensor box&#8217; per room. This would be based upon something like the <a href="http://www.phaedrusltd.com/pages/html/netiom-xap.html" onclick="javascript:urchinTracker ('/outbound/article/www.phaedrusltd.com');">Netiom xAP</a>, which would connect various sensors to the house&#8217;s IP network. Some of the sensors in each room would be different. Here are some examples of the sensors that would be common to all of the rooms:</p>
<ul>
<li>Temperature</li>
<li>PIR (motion detector)</li>
<li>Door contact</li>
<li>Window contacts</li>
<li>Light</li>
</ul>
<p>Room specific sensors could be:</p>
<p>Entrance hall:</p>
<ul>
<li>Current meter</li>
<li>Intruder alarm status (triggered/armed)</li>
<li>Door bell</li>
</ul>
<p>Kitchen:</p>
<ul>
<li>Back door bolt contact</li>
<li>Oven/hob state</li>
</ul>
<p>Each of these nodes can then be queried, via the <a href="http://www.xapautomation.org/" onclick="javascript:urchinTracker ('/outbound/article/www.xapautomation.org');">xAP protocol</a> in this case. Temperature could be recorded, although at present our combi-boiler would probably not allow for remote control. Motion detection and door contacts can be used to determine which rooms are occupied, and along with the window sensors could be used as a secondary security system. The light sensors would be used to control the house lights.</p>
<p>Having one single &#8216;node&#8217; to talk to would do away with having lots of independent sensors that would probably all communicate differently. Thanks to having picture rail throughout most of the house, there won&#8217;t be a problem with hiding the wiring. I&#8217;m not sure how big the boxes would be, but I dont think they would be massive. I just need to find the money to build a prototype.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killswtch.net/2007/12/08/sensor-boxes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
