<?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>Nathan Stratton's Homepage &#187; Hack</title>
	<atom:link href="http://www.robotics.net/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robotics.net</link>
	<description></description>
	<lastBuildDate>Sun, 02 May 2010 14:17:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hello World, the current temp is:</title>
		<link>http://www.robotics.net/2010/05/02/hello-world-the-current-temp-is/</link>
		<comments>http://www.robotics.net/2010/05/02/hello-world-the-current-temp-is/#comments</comments>
		<pubDate>Sun, 02 May 2010 14:17:59 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://www.robotics.net/?p=214</guid>
		<description><![CDATA[I have wanted to start playing with micro controllers for a while now, I ended up selecting the Parallax Propeller chip because of its ease of use and I liked it&#8217;s COG design with 8 32 big cores working together.
My first test was connecting a 4&#215;20 line LCD and a few DS18S20 1-wire temp sensors [...]]]></description>
			<content:encoded><![CDATA[<p>I have wanted to start playing with micro controllers for a while now, I ended up selecting the Parallax Propeller chip because of its ease of use and I liked it&#8217;s COG design with 8 32 big cores working together.</p>
<p>My first test was connecting a 4&#215;20 line LCD and a few DS18S20 1-wire temp sensors to the propeller chip. Everything was very easy to learn the LCD was interfaced with no external components and the 1-wire bus only required a 4.7K pull up resistor.</p>
<div id="attachment_215" class="wp-caption alignnone" style="width: 501px"><a href="http://www.robotics.net/wp-content/uploads/IMG_0563.jpg"><img class="size-large wp-image-215  " title="Propeller PDB with LCD and 1-wire bus" src="http://www.robotics.net/wp-content/uploads/IMG_0563-1024x768.jpg" alt="" width="491" height="369" /></a><p class="wp-caption-text">Propeller PDB with LCD and 1-wire bus</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2010/05/02/hello-world-the-current-temp-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Central Air Pool Heat-Cool</title>
		<link>http://www.robotics.net/2010/04/24/central-air-pool-heatcool/</link>
		<comments>http://www.robotics.net/2010/04/24/central-air-pool-heatcool/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 02:38:06 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://www.robotics.net/?p=205</guid>
		<description><![CDATA[Worked today on my central air pool heat/cool system. The goal for the new system is to be able to operate in normal house cool mode, pool heat mode, and pool cool mode all in one HVAC system. The new system uses a reversing valve to pump down unused portions dramatically cutting down on the [...]]]></description>
			<content:encoded><![CDATA[<p>Worked today on my central air pool heat/cool system. The goal for the new system is to be able to operate in normal house cool mode, pool heat mode, and pool cool mode all in one HVAC system. The new system uses a reversing valve to pump down unused portions dramatically cutting down on the amount of refrigerant needed.</p>
<p><img class="alignnone size-full wp-image-198" title="hvac-house_cool" src="http://www.robotics.net/wp-content/uploads/hvac-house_cool.png" alt="hvac-house_cool" width="543" height="365" /></p>
<p>Check out the <a href="http://www.robotics.net/projects/central-air-pool-heater/">project page</a> for more info:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2010/04/24/central-air-pool-heatcool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>APC Matrix 5000 Hack</title>
		<link>http://www.robotics.net/2009/07/19/apc-matrix-5000-hack/</link>
		<comments>http://www.robotics.net/2009/07/19/apc-matrix-5000-hack/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 22:02:08 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://www.robotics.net/?p=175</guid>
		<description><![CDATA[I use a lot of power in my office, so much that the four 1500 VA UPS units I have only last me a few min. I needed something bigger so I went on eBay and found two APC Matrix 5000 UPS units for $450 each including shipping. There was only one downside, there were [...]]]></description>
			<content:encoded><![CDATA[<p>I use a lot of power in my office, so much that the four 1500 VA UPS units I have only last me a few min. I needed something bigger so I went on eBay and found two APC Matrix 5000 UPS units for $450 each including shipping. There was only one downside, there were no batteries and new batteries would have cost me several thousand dollars.</p>
<p>The solution? I picked up 8 marine batteries at the auto parts store and wired them up (yes with fuses) into two 48 volt strings connected in parallel.</p>
<p><a href="http://www.robotics.net/wp-content/uploads/IMG_0324.JPG"><img class="alignnone size-full wp-image-179" title="IMG_0324" src="http://www.robotics.net/wp-content/uploads/IMG_0324.JPG" alt="IMG_0324" width="553" height="737" /></a></p>
<p>Note: If you try this, you want to use Marine or better yet Deep-Cycle batteries rather then car starting batteries. Car batteries are designed to give very hight bursts of current and should only be discharged to about 5%. The very thin plates would destroyed over a few hundred discharges rather then the thousands you would get from deep cycle.</p>
<p>P.S. Yes, I built a cover for it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2009/07/19/apc-matrix-5000-hack/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Converting Citrix .xva to Xen.org .img</title>
		<link>http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/</link>
		<comments>http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 02:47:01 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://www.robotics.net/?p=160</guid>
		<description><![CDATA[Xen is one of the coolest virtualization technologies out there. It comes in may flavors, the two largest being the bleeding edge xen.org open source project and the commercial (Citrix) version. There are things I love about the commercial version, but they lost me only supporting windows in their XenCenter administration interface.
The file formats of [...]]]></description>
			<content:encoded><![CDATA[<p>Xen is one of the coolest virtualization technologies out there. It comes in may flavors, the two largest being the bleeding edge <a href="http://www.xen.org">xen.org</a> open source project and the commercial (Citrix) version. There are things I love about the commercial version, but they lost me only supporting windows in their XenCenter administration interface.</p>
<p>The file formats of the commercial and open source Xenare totall different. The open source is a standard image file, you can mount it, fdisk it, whatever you would like. The Citrix Xen Virtual Appliance .XVA file is quite different. It is actually a tar file with ova.xml meta data and directories starting with Ref full of 1M files that make up the drive volumes of the virtual image.</p>
<p>To convert .xva to an xen .img file you first untar the image:</p>
<p><em><strong>tar -xvf {image}.xva</strong></em></p>
<p>Then grab <a href="http://www.robotics.net/wp-content/uploads/xenmigrate.py">this handy utility</a> and run it on your untared data, as an example:</p>
<p><strong><em>python xenmigrate.py &#8211;convert=Ref:3 {image}.img</em></strong></p>
<p>This will paste all of those files back together, starting at 00000000. Note I have had problems running this script on Centos 5.x.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2009/06/06/converting-citrix-xva-to-xenorg-img/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Portable 3 Watt 3G Video Phone and HotSpot</title>
		<link>http://www.robotics.net/2009/06/02/portable-3-watt-3g-video-phone-and-hotspot/</link>
		<comments>http://www.robotics.net/2009/06/02/portable-3-watt-3g-video-phone-and-hotspot/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 22:04:02 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Project]]></category>

		<guid isPermaLink="false">http://www.robotics.net/?p=121</guid>
		<description><![CDATA[I love my BlinkMind Video Phone service, but one problem has been being able to make calls when I am camping. I started by looking for a 3G access point that was already supported by OpenWRT, a Linux distribution for embedded devices. Since I run the Linksys WRT54G at home, the WRT54G3G was a logical [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom: 0in;">I love my <a href="http://www.blinkmind.com/?reseller=00000594">BlinkMind Video Phone service</a>, but one problem has been being able to make calls when I am camping. I started by looking for a 3G access point that was already supported by OpenWRT, a Linux distribution for embedded devices. Since I run the Linksys WRT54G at home, the WRT54G3G was a logical choice.</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>Get Linux Running</strong></span></p>
<p style="margin-bottom: 0in;">Getting Linux Running on the WRT54G3G can be a pain since it&#8217;s PCMCI implementation does not work on the 2.6 kernel series. To make matters worse, Sierra Wireless only wrote and supports drivers for the 2.6 kernel. You can grab a copy of OpenWRT White Russian <a href="http://www.evdoforums.com/thread6621.html">here</a> for the BCM47xx chip set, next grab a hex editor (I used shed on Fedora) and change the 4 bytes to W3GA, once that is done you should be able to fire up the unit and upgrade the firmware with the edited image. If your lazy you can just <a href="http://www.robotics.net/wp-content/uploads/whiterussian_openwrt-3g-r75-wrt54g3g-squashfs.bin">download this.</a></p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>Add a LCD</strong></span></p>
<p style="margin-bottom: 0in;">I selected a 4 line X 20 Character LCD display that could be used to show the IP address, upload / download speed, and signal strength. Modern Device made a nice little serial to LCD board that  makes it VERY easy to connect a LCD to any service device.</p>
<div id="attachment_141" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/lcd117.jpg"><img class="size-medium wp-image-141" title="lcd117" src="http://www.robotics.net/wp-content/uploads/lcd117-300x112.jpg" alt="lcd117" width="300" height="112" /></a><p class="wp-caption-text">Modern Device LCD117 Board</p></div>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<div id="attachment_140" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/rt204-1.jpg"><img class="size-medium wp-image-140" title="rt204-1" src="http://www.robotics.net/wp-content/uploads/rt204-1-300x225.jpg" alt="RT204-1 20x4 LCD" width="300" height="225" /></a><p class="wp-caption-text">RT204-1 20x4 LCD</p></div>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><a href="http://www.robotics.net/wp-content/uploads/lcdinst06.pdf">Download PDF Instructions</a></p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">The WRT45G3G does not have an external serial port, but internally it does have pads for a 3.3V serial. If you wanted to drive a computer serial port you would need a level converter such as MAX232. However, the Modern Device board is able to accept 3.3V without a problem. The only catch was finding the right pin. I broke out a logic probe and send some data out the port in pulses to eventually find the pin.</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<div id="attachment_148" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/imgp1587-2.jpg"><img class="size-medium wp-image-148" title="imgp1587-2" src="http://www.robotics.net/wp-content/uploads/imgp1587-2-300x225.jpg" alt="Receive and Transmist pads" width="300" height="225" /></a><p class="wp-caption-text">Receive and Transmist pads</p></div>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>Power</strong></span></p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">I wanted the system to be able to run off batter for at least a few hours so I decided to go with two 6V 6.5AH batteries in series rather then a single 12 volt battery. The size allowed them to lay down on the bottom of my case. The LCD runs off 5 Volts, the easiest way to make this work with parts on hand was to use a +5 Volt regulator that fit nicely on one of the 4 mounting screwed for the router. Current draw is low enough that no heat sink is needed. I also added a 12 volt LCD voltage meter to the mix so I could tell when my batteries were running low.</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<div id="attachment_144" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/imgp1544.jpg"><img class="size-medium wp-image-144" title="imgp1544" src="http://www.robotics.net/wp-content/uploads/imgp1544-300x225.jpg" alt="Two 6 Volt 6.5 AH Batteries" width="300" height="225" /></a><p class="wp-caption-text">Two 6 Volt 6.5 AH Batteries</p></div>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>3G Wireless</strong></span></p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">3G is via Sierra Wireless 881 PCMCI 3G card with AT&amp;T service. I quickly realized that the default signal strength was not going to cut it and an amplifier would be needed. After some digging I selected Wilson Electronics 801101 3 watt cellular amp with in conjunction with a ARC Wireless Solutions ARC-FR0803R30 antenna. With the antenna I was able to buy a cable to connect to the Sierra card, but  it required a 6 foot FME Female – FME Female cable that I replaced with a 1 inch FME Female coupler.</p>
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;">
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>Putting Parts Together</strong></span></p>
<p style="margin-bottom: 0in;">
<div id="attachment_145" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/imgp1549.jpg"><img class="size-medium wp-image-145" title="imgp1549" src="http://www.robotics.net/wp-content/uploads/imgp1549-300x225.jpg" alt="imgp1549" width="300" height="225" /></a><p class="wp-caption-text">Portable 3 Watt 3G Video Phone and HotSpot</p></div>
<div id="attachment_157" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/imgp1542.jpg"><img class="size-medium wp-image-157" title="imgp1542" src="http://www.robotics.net/wp-content/uploads/imgp1542-300x225.jpg" alt="Back of router board" width="300" height="225" /></a><p class="wp-caption-text">Back of router board</p></div>
<p style="margin-bottom: 0in;">
<div id="attachment_146" class="wp-caption alignnone" style="width: 310px"><a href="http://www.robotics.net/wp-content/uploads/imgp1547.jpg"><img class="size-medium wp-image-146" title="imgp1547" src="http://www.robotics.net/wp-content/uploads/imgp1547-300x225.jpg" alt="Closeup of status display and voltate meter" width="300" height="225" /></a><p class="wp-caption-text">Closeup of status display and voltate meter</p></div>
<p style="margin-bottom: 0in;"><span style="font-size: medium;"><strong>Software</strong></span></p>
<p style="margin-bottom: 0in;">
<p>I wanted the display to show some useful, current script runs at startup and displays IP address, upload and download avg bandwdith in kb/s, and Signal strength in dBm.</p>
<p><a href="http://www.robotics.net/wp-content/uploads/lcdscreenwriter.sh">Download Script</a></p>
<p><a href="http://www.robotics.net/wp-content/uploads/imgp1546-2.jpg"><img class="alignnone size-medium wp-image-149" title="imgp1546-2" src="http://www.robotics.net/wp-content/uploads/imgp1546-2-300x138.jpg" alt="imgp1546-2" width="300" height="138" /></a></p>
<p style="margin-bottom: 0in;">
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2009/06/02/portable-3-watt-3g-video-phone-and-hotspot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a 2.5&#8243; hard drive in slim floppy bay</title>
		<link>http://www.robotics.net/2009/05/08/mounting-a-25-hard-drive-in-slim-floppy-bay/</link>
		<comments>http://www.robotics.net/2009/05/08/mounting-a-25-hard-drive-in-slim-floppy-bay/#comments</comments>
		<pubDate>Sat, 09 May 2009 00:34:42 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://blog.robotics.net/?p=13</guid>
		<description><![CDATA[I have been looking for a way to move to removable 2.5&#8243; boot/root disks on our servers. I am using all of the 3.5&#8243; removable trays for storage leaving only a slim floppy bay in the case.
After much searching I found Thermaltake ST0002Z, a dual 2.5&#8243; hot swap enclosure that mounts in a standard 3.5 [...]]]></description>
			<content:encoded><![CDATA[<p>I have been looking for a way to move to removable 2.5&#8243; boot/root disks on our servers. I am using all of the 3.5&#8243; removable trays for storage leaving only a slim floppy bay in the case.</p>
<div id="attachment_14" class="wp-caption alignnone" style="width: 271px"><a href="http://www.robotics.net/wp-content/uploads/2009/05/sc836_spec.jpg"><img class="size-medium wp-image-14" title="sc836_spec" src="http://www.robotics.net/wp-content/uploads/2009/05/sc836_spec.jpg" alt="Supermicro 836S2-R800V" width="261" height="222" /></a><p class="wp-caption-text">Supermicro 836S2-R800V</p></div>
<p>After much searching I found Thermaltake ST0002Z, a dual 2.5&#8243; hot swap enclosure that mounts in a standard 3.5 inch floppy bay.</p>
<div id="attachment_20" class="wp-caption alignnone" style="width: 186px"><a href="http://www.robotics.net/wp-content/uploads/2009/05/thermaltake_st0002z.jpg"><img class="size-full wp-image-20" title="thermaltake_st0002z" src="http://www.robotics.net/wp-content/uploads/2009/05/thermaltake_st0002z.jpg" alt="Thermaltake ST0002Z" width="176" height="176" /></a><p class="wp-caption-text">Thermaltake ST0002Z</p></div>
<p>The two hot swap bays are actually 2 units that are bolted together making it very easy to take this apart and get yourself a nice 2.5 inch SATA bay that will fit in a slim floppy bay.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.robotics.net/2009/05/08/mounting-a-25-hard-drive-in-slim-floppy-bay/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
