
<?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>Nicholas Skinner's Blog</title>
	<atom:link href="http://www.ns-tech.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ns-tech.co.uk/blog</link>
	<description>Freelance website and web application developer</description>
	<lastBuildDate>Wed, 04 Apr 2012 10:17:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>&#8216;Windows System Image&#8217; Tips</title>
		<link>http://www.ns-tech.co.uk/blog/2012/04/windows-system-image-tips/</link>
		<comments>http://www.ns-tech.co.uk/blog/2012/04/windows-system-image-tips/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 10:17:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1354</guid>
		<description><![CDATA[I recently had a message popup from Windows 7 that my main hard drive was reporting SMART errors, therefore started looking into possibilities for copying all programs/data to a new drive avoiding the need to reinstall. I did not have to look far because Windows 7 includes a handy “Create a system image” tool (under [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2012/03/system_image.gif"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2012/03/system_image_small.gif" alt="System Image Screenshot" width="200" height="185" class="alignright size-full wp-image-1356" /></a>I recently had a message popup from Windows 7 that my main hard drive was reporting <a href=”http://en.wikipedia.org/wiki/S.M.A.R.T.”>SMART</a> errors, therefore started looking into possibilities for copying all programs/data to a new drive avoiding the need to reinstall.</p>
<p>I did not have to look far because Windows 7 includes a handy “<a href="http://windows.microsoft.com/en-US/windows7/What-is-a-system-image">Create a system image</a>” tool (under “Control Panel” > “Backup and Restore”).  It even backs up while the system is in use (avoiding the need for downtime).</p>
<p>It did however take me 3 attempts to get right:</p>
<ol>
<li>First tried saving an image of just the system partition (thinking I could just copy the data – on a separate partition easily enough manually) to a spare partition on that same drive.  Did not work however as although I could save the image, I was unable to restore it (admittedly not ideal to save to the failing hard drive but would have saved finding another drive to use, and I had a separate backup already anyway for important files).  When you try and restore, to a new drive however Windows assumes you want to restore to the existing drive, and will not let you select the new drive.</li>
<li>Second tried saving an image of the system partition to a spare partition on the new drive, again however this did not work because even if it is a separate partition (not the full drive) Windows will not allow you to restore from the same drive to itself.</li>
<li>Finally found another spare drive (large enough to take the complete system/data backup), saved the image to that, took out the old drive, replace it with the new, and then restored from the spare drive to the new drive.</li>
</ol>
<p>Luckily throughout all 3 attempts (reading over/copying all data on the old hard drive reporting errors) it did not fail before I was able to complete the 3rd copy, and I was able to avoid reinstalling all programs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2012/04/windows-system-image-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EEWeb Featured Engineer Interview</title>
		<link>http://www.ns-tech.co.uk/blog/2012/03/eeweb-featured-engineer-interview/</link>
		<comments>http://www.ns-tech.co.uk/blog/2012/03/eeweb-featured-engineer-interview/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:17:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1346</guid>
		<description><![CDATA[Towards the end of last year I was contacted by EEWeb asking for an interview as part of their Featured Engineer series. We try to interview individuals in our industry that have experience and valuable insight to share with our community. We feel that you would be a perfect fit. EEWeb Interview: Featured Engineer &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eeweb.com/"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2012/03/eeweb.png" alt="EEWeb Logo" width="215" height="69" class="alignright size-full wp-image-1347" /></a>Towards the end of last year I was contacted by <a href="http://www.eeweb.com/">EEWeb</a> asking for an interview as part of their <a href="http://www.eeweb.com/spotlight/">Featured Engineer</a> series.</p>
<blockquote><p>We try to interview individuals in our industry that have experience and valuable insight to share with our community.  We feel that you would be a perfect fit.</p></blockquote>
<p>EEWeb Interview:<a href="http://www.eeweb.com/spotlight/interview-with-nicholas-skinner"> Featured Engineer &#8211; Nicholas Skinner</a> (photo from a ski trip)</p>
<p>Other interviewees include <a href="http://www.eeweb.com/spotlight/interview-with-limor-fried">Limor Fried</a> (<a href="http://adafruit.com/">Adafruit Industries</a>), and <a href="http://www.eeweb.com/spotlight/interview-with-jeri-ellsworth">Jeri Ellsworth</a> (best known for creating a Commodore 64 emulator).   See <a href="http://www.eeweb.com/spotlight/">bottom of the page</a> for full list of interviewees.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2012/03/eeweb-featured-engineer-interview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone App Skate Routes</title>
		<link>http://www.ns-tech.co.uk/blog/2012/02/iphone-app-skate-routes/</link>
		<comments>http://www.ns-tech.co.uk/blog/2012/02/iphone-app-skate-routes/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 17:33:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1338</guid>
		<description><![CDATA[I recently wrote my first iPhone app, Skate Routes: Skate Routes is designed for inline skaters in London to view the status (Pending/Go/Rained Off), and route maps for Friday/Sunday marshalled street skates organised by the LFNS (London Friday Night Skate), it also supports GPS/Compass based navigation. http://www.ns-tech.co.uk/iphone/skate-routes/ [App Store]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote my first iPhone app, Skate Routes:</p>
<blockquote><p>Skate Routes is designed for inline skaters in London to view the status (Pending/Go/Rained Off), and route maps for Friday/Sunday marshalled street skates organised by the LFNS (London Friday Night Skate), it also supports GPS/Compass based navigation.</p>
<p><a href="http://www.ns-tech.co.uk/iphone/skate-routes/">http://www.ns-tech.co.uk/iphone/skate-routes/</a> [<a href="http://itunes.apple.com/gb/app/skate-routes/id498731602?mt=8">App Store</a>]</p></blockquote>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/IaxyKygXB8A" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2012/02/iphone-app-skate-routes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed attempts to get the Sony Ericsson DCU-11 USB cable working with Windows 7</title>
		<link>http://www.ns-tech.co.uk/blog/2012/01/failed-attempts-to-get-the-sony-ericsson-dcu-11-usb-cable-working-with-windows-7/</link>
		<comments>http://www.ns-tech.co.uk/blog/2012/01/failed-attempts-to-get-the-sony-ericsson-dcu-11-usb-cable-working-with-windows-7/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 12:05:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1302</guid>
		<description><![CDATA[I have started to get some reliability issues lately with BlueSoleil (used with my SMS to Email Forwarder application), therefore I decided to take another look at using a cabled solution. Was initially planning on using a cable rather than Bluetooth however the cable does not support charging, and does not have Windows 7 drivers [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/dcu_11_pcb.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/dcu_11_pcb_small.jpg" alt="Sony DCU 11 Cable" width="300" height="228" class="alignright size-full wp-image-1315" /></a>I have started to get some reliability issues lately with <a href="http://www.bluesoleil.com/products/S0001201005190001.html">BlueSoleil</a> (used with my <a href="http://www.ns-tech.co.uk/blog/2011/11/sms-to-email-forwarder-via-bluetoothserial/">SMS to Email Forwarder</a> application), therefore I decided to take another look at using a cabled solution.  Was initially planning on using a cable rather than Bluetooth however the cable does not support charging, and does not have Windows 7 drivers available.</p>
<p>After opening up the cable I noticed it used a &#8220;PL-2303HX&#8221; USB to serial chip.  Searching Google appears it is made by <a href="http://www.prolific.com.tw/eng/Download-2.asp?ID=17">Prolific</a>.  Unfortunately however the standard Prolific drivers do not work because the cable has a custom USB PID &#8220;1234&#8243; instead of the standard Prolific PID of &#8220;2303&#8243;.  <a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/vid_pid.gif"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/vid_pid_small.gif" alt="Prolific VID / PID" title="Prolific VID / PID" width="200" height="218" class="alignleft size-full wp-image-1317" /></a>Two possible solutions came to mind, either changing the chip back to the default PID such that Windows would recognise it as a standard Prolific serial adapter, or modifying the Windows driver to recognise the non standard Prolific PID.</p>
<p>I first tried reprogramming the chip.  Appears it has been successful for someone using a <a href=" http://www.esato.com/archive/t.php/t-71954,1.html">T230 cable</a> (EEPROM Writer link on that post is nolonger working however there is a copy at <a href="http://www.megaupload.com/?d=HMG9JNB9">Megaupload</a> via <a href="http://jethomson.wordpress.com/2010/02/21/diy-usb-to-serial-cable-for-3usd/#comment-151">Jonathan Thomson&#8217;s Web Journal</a>).  I was however unable to get it to recognise the cable and looking on <a href="http://www.edaboard.com/thread186961.html">EDA Board</a> appears a special &#8220;EEPROM programming cable&#8221; may be required.</p>
<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/unable_to_start.gif"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/12/unable_to_start_small.gif" alt="Prolific - Unable to start" title="Prolific - Unable to start" width="200" height="218" class="alignright size-full wp-image-1319" /></a>I next tried <a href="http://www.divesoftware.org/libdc/seiko.html">modifying the Prolific driver</a>, and was then able to install it however started getting a Windows error &#8220;<a href="http://www.prolific.com.tw/eng/FAQs.asp?ID=50">This device cannot start</a>&#8221; (and after rebooting I was unable to login – unplugging the USB adapter and rebooting again fixed the issue). </p>
<p>Next option I may try is either rewiring the adapter with another USB to serial chip that does have Windows 7 drivers or putting the SIM in a GSM modem / another phone that can be easily connected to a PC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2012/01/failed-attempts-to-get-the-sony-ericsson-dcu-11-usb-cable-working-with-windows-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Business PC Build Components</title>
		<link>http://www.ns-tech.co.uk/blog/2011/12/business-pc-build-components/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/12/business-pc-build-components/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 10:19:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1289</guid>
		<description><![CDATA[I was recently asked to put together a reasonable spec&#8217; computer mainly for business use. Parts were all from CCL for convenience as I was not placing the order myself, and they are competitively priced, however I have had a bad experience trying to return a faulty part to them a few years back. I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2009/11/pccase.jpg" alt="PC Case" title="PC Case" width="200" height="179" class="alignright size-full wp-image-348" />I was recently asked to put together a reasonable spec&#8217; computer mainly for business use.</p>
<p>Parts were all from CCL for convenience as I was not placing the order myself, and they are competitively priced, however I have had a bad experience trying to return a faulty part to them a few years back.</p>
<p>I went with the following components:</p>
<div class="clear"></div>
<table cellspacing="0" class="tblwithborder">
<tr>
<th>Component</th>
<th>Name</th>
<th>Cost (&pound;)</th>
</tr>
<tr>
<td>Case</td>
<td><a href="http://www.evercase.co.uk/GigaECE4252.htm">Evercase Giga ECE4252</a></td>
<td align="right">13.00</td>
</tr>
<tr>
<td>Hard Drive</td>
<td><a href="http://www.cclonline.com/product/53892/ST3750525AS/Hard-Drives/Seagate-Barracuda-SATA-6Gb/s-750GB-Hard-Drive/HDD1139/">750GB Seagate Barracuda</a></td>
<td align="right">96.97</td>
</tr>
<tr>
<td>Motherboard</td>
<td><a href="http://www.cclonline.com/product/63020/BOXDH61CRB3/Motherboards/Intel-Classic-Series-DH61CR-Desktop-Motherboard/MBD0193/">Intel Classic Series DH61CR</a></td>
<td align="right">58.37</td>
</tr>
<tr>
<td>Memory</td>
<td><a href="http://www.cclonline.com/product/43689/CT2KIT25664BA1339/Desktop-Memory/Crucial-4GB-2-x-2GB-PC3-10600-1333MHz-DDR3-240-pin-DIMM-CL9-Unbuffered-Non-ECC-Memory-Module-Kit/RAM2112/">Crucial 4GB PC3-10600 1333MHz Kit</a></td>
<td align="right">18.94</td>
</tr>
<tr>
<td>Processor</td>
<td><a href="http://www.cclonline.com/product/44979/BX80623I52400/CPUs/Intel-Core-i5-2400-3-1GHz-Quad-Core-Processor/CPU1111/">Intel Core i5-2400 3.1GHz Processor</a></td>
<td align="right">153.44</td>
</tr>
<tr>
<td>CD/DVD</td>
<td><a href="http://www.cclonline.com/product/63824/AD-7280S-0B/DVD-Drives/Sony-24x-Int-DVD-RAM-SATA-Black-Bare/CDR1127/">Sony 24x SATA DVD-RAM</a></td>
<td align="right">14.16</td>
</tr>
<tr>
<td>PSU</td>
<td><a href="http://www.cclonline.com/product/35698/PSUCIT450UB/Power-Supplies/CIT-450W-Black-PSU/PSU0171/">CIT 450W Black PSU</a></td>
<td align="right">18.64</td>
</tr>
<tr>
<td>Monitor</td>
<td><a href="http://www.cclonline.com/product/58799/9H-L5FLA-SBE/Monitors/BenQ-BL902TM-LED-backlight-Monitor-19-inch/MON0380/">BenQ BL902TM</a></td>
<td align="right">132.64</td>
</tr>
<tr>
<td>Software</td>
<td><a href="http://www.cclonline.com/product/55274/FQC-04649/Operating-Systems/Microsoft-Windows-7-Professional-64-bit-SP1-/SFT0068/">Windows 7 Professional 64-bit</a></td>
<td align="right">105.06</td>
</tr>
<tr>
<td>Software</td>
<td><a href="http://www.cclonline.com/product/40525/T5D-00295/Office-Software/Microsoft-Office-2010-Home-amp-Business-PKC-OEM-/SFT2157/">Microsoft Office 2010</a></td>
<td align="right">158.89</td>
</tr>
<tr>
<td>Rear Fan</td>
<td></td>
<td align="right"></td>
</tr>
<tr>
<td>Front Fan</td>
<td></td>
<td align="right"></td>
</tr>
<tr>
<td></td>
<td><strong>Total</strong></td>
<td align="right"><strong>770.11</strong></td>
</tr>
</table>
<p>Note: Cost excludes postage, I used some spare front and rear fans I already had.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/12/business-pc-build-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMS to Email Forwarder (via Bluetooth/Serial)</title>
		<link>http://www.ns-tech.co.uk/blog/2011/11/sms-to-email-forwarder-via-bluetoothserial/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/11/sms-to-email-forwarder-via-bluetoothserial/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 11:24:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1261</guid>
		<description><![CDATA[I currently have two mobile phones &#8211; one mainly for business, and the other personal calls. I do not however really want to carry two phones all the time and therefore started looking for solutions. In terms of calls it is possible to just call forward after a set number of rings (i.e. if I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/11/sms_forwarder.gif"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/11/sms_forwarder_small.gif" alt="SMS Forwarder Screenshot (Small)" title="SMS Forwarder Screenshot (Small)" width="300" height="228" class="alignright size-full wp-image-1263" /></a>I currently have two mobile phones &#8211; one mainly for business, and the other personal calls.  I do not however really want to carry two phones all the time and therefore started looking for solutions.  In terms of calls it is possible to just call forward after a set number of rings (i.e. if I have the phone I can answer it and not pay the forwarding charge, otherwise I can still get the call although I will be paying the forwarding charge).  The complication however comes with text messages, there does not really seem to be any straight forward / standard way to forward them.</p>
<p>I looked into various options such as services from <a href="http://aaisp.net.uk/telecoms-mobile.html">AAISP</a> who can deliver text messages to email, or a web form, which initially seemed perfect (they also have some good options for voice calls as well such as supporting multiple numbers on a single SIM both inbound and outbound, and VoIP termination) however then discovered that it is not possible to port a number to their service.  I also found another similar company <a href="http://www.aql.com/telecoms/developers/sms-relay/">AQL</a> who do support porting, but not for mobile numbers.</p>
<p>The option I came up with in the end to handle forwarding text messages was to write a C# application that can run on the PC desktop (in the task tray), connect to the phone over Bluetooth serial link (should also work with a regular serial / USB serial cable), poll it for unread text messages every few seconds, forward any found to a specified email address (which I can receive on my other phone), and delete them from the phone.  Bluetooth is an ideal solution since it means the forwarding just works automatically whenever the phone is left at home by the computer.</p>
<p>Download: <a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/11/sms_email_forwarder_source.zip">Source Code</a> | <a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/11/sms_email_forwarder.zip">Application</a></p>
<p>Notes:</p>
<ul>
<li>I was initially planning on using a Sony Ericsson DCU-11 sync cable however discovered it does not have any Windows 7 drivers available, and does not support charging.</li>
<li>I found that Windows 7 by default did not seem to support connecting to my Sony Ericsson T610 over Bluetooth, therefore download the <a href="http://www.bluesoleil.com/products/S0001201005190001.html">BlueSoleil Bluetooth stack</a> which did.</li>
<li>Application uses <a href="http://www.scampers.org/steve/sms/libraries.htm">Stefan Mayr&#8217;s</a> GSM library.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/11/sms-to-email-forwarder-via-bluetoothserial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debugging (Hard To Replicate Issues) With Embed Software Devices</title>
		<link>http://www.ns-tech.co.uk/blog/2011/10/debugging-hard-to-replicate-issues-with-embed-software-devices/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/10/debugging-hard-to-replicate-issues-with-embed-software-devices/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 18:03:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics Projects]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1229</guid>
		<description><![CDATA[I write software for various hardware devices. Finding bugs, and resolving them is usually relatively easy if the issue can be replicated in a test environment with development hardware and full logging equipment setup. The problem however is when: It is equipment using GSM, making use of various different phone networks, and cell towers that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/10/openlog.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/10/openlog_small.jpg" alt="OpenLog" width="300" height="300" class="alignright size-full wp-image-1242" /></a>I write software for various hardware devices.  Finding bugs, and resolving them is usually relatively easy if the issue can be replicated in a test environment with development hardware and full logging equipment setup.  The problem however is when:</p>
<ol>
<li>It is equipment using GSM, making use of various different phone networks, and cell towers that can not be easily replicated.</li>
<li>The issue only occurs on location in the field (i.e. live customers using the device).</li>
<li>It is an intermittent issue that can not be replicated on cue, ruling out simply going to the location for an hour setting up the relevant equipment and logging the issue.</li>
<li>Devices are in locations where it not particularly convenient / safe to setup and leave expensive testing equipment / laptops etc.</li>
<li>Testing equipment needs to run a Windows only application from a hardware manufacturer that needs “babysitting&#8221; (restarting if it stops logging).</li>
</ol>
<p>I recently faced this issue. I tried a few options including blindly guessing at what the issue could be and implementing fixes for various possible issues, next tried working with the network operator (which got nowhere).  Final solution I came up with was to build some custom / cheap (in comparison to the alternative) logging hardware to take the place of the hardware development board, Windows running laptop, hardware manufacturers software tool.</p>
<p>My first thoughts were that this could be done by using an <a href="http://www.arduino.cc/">Arduino</a> with an SD Card <a href="http://www.adafruit.com/products/243">data logging “shield&#8221;</a> however after some further research I discovered the <a href="http://www.sparkfun.com/products/9530">Spark Fun OpenLog</a>.  The OpenLog was a perfect fit since it:</p>
<ol>
<li>Can be powered from 3.3V &#8211; 12V (could just piggy back it on the existing devices power supply).</li>
<li>Serial levels compatible with 2.8V CMOS levels of device.</li>
<li>Already setup to automatically log serial data to files on an SD Card.</li>
<li>Open source firmware that is freely available, meaning I could customise it to emulate the manufacturers software tool (eliminating the need for the extra hardware, and meaning I could deal with the reliability issues).</li>
<li><a href="https://github.com/nseidle/OpenLog/wiki/Datasheet">Development environment</a> (see section “Compile Version 2&#8243;) that is simple / relatively straight forward to obtain / setup / use (<a href="http://arduino.cc/en/Main/Software">Ardino IDE</a> &#8211; even though it is not “Arduino&#8221; branded hardware as such).</li>
<li>Supports upto 16GB microSD cards (device outputs large logs).</li>
</ol>
<p>There were a few steps involved in the process including, connecting the OpenLog to the device, building a programming cable for the OpenLog, and customising the OpenLog software to emulate the initialisation string of the Windows software tool.</p>
<p>I have never coded AVR C before however found it relatively straight forward to make the modifications I required to emulate the initialisation string of the Windows tool (primarily logging the string with Eltima Software’s <a href="http://www.eltima.com/products/serial-port-monitor/">Serial Port Monitor</a> application, saving the data to a file on the SD Card and instructing OpenLog to read it back over the serial port, then drop back into logging mode.</p>
<p>A few issues I encountered along the way were:</p>
<ol>
<li>OpenLog stops reading files if it <a href="https://github.com/nseidle/OpenLog/issues/76">encounters a NULL byte</a>, however this should be fixed in the latest release.</li>
<li>Error trying to upload new software from the Arduino IDE to OpenLog due to the DTR pin needing to be connected to OpenLog to reset it just before programming.  I substituted DTR for RTS (which my FTDI cable did have broken out).</li>
<li>Device I was logging data to was outputting [CTRL]+[Z] 3 times – the OpenLog escape sequence – I therefore modified the escape sequence to be 9 times rather than just 3.</li>
</ol>
<h3>Parst List</h3>
<h4>One Off</h4>
<table cellspacing="0" class="tblwithborder">
<tr>
<td>TTL-232R-3V3 USB to serial FTDI cable</td>
<td><a href="http://proto-pic.co.uk/usb-to-serial-ttl-cable-ftdi-5v-vcc-3-3v-i-o/">PPDEV-09717</a></td>
</tr>
<tr>
<td>Kingston USB Card Reader (19 in 1)</td>
<td><a href="http://www.ebuyer.com/139230-kingston-usb-card-reader-19-in-1-fcr-hs219-1">139230</a></td>
</tr>
</table>
<h4>Per Logger</h4>
<table cellspacing="0" class="tblwithborder">
<tr>
<td>1GB microSD Card (or alternate 8GB)</td>
<td><a href="http://proto-pic.co.uk/flash-memory-microsd-1gb/">PPCOM-08163</a></td>
</tr>
<tr>
<td>Kingston 8gb Class 4 MicroSDHC Card</td>
<td><a href="http://www.ebuyer.com/147731-kingston-8gb-class-4-microsdhc-card-with-adapter-sdc4-8gb">147731</a></td>
</tr>
<tr>
<td>OpenLog</td>
<td><a href="http://proto-pic.co.uk/openlog/">PPDEV-09530</a></td>
</tr>
<tr>
<td>Crimp Pins</td>
<td><a href="http://proto-pic.co.uk/polarized-connectors-crimp-pins/">PPPRT-08100</a></td>
</tr>
<tr>
<td>4 pin header</td>
<td><a href="http://proto-pic.co.uk/polarized-connectors-header-4-pin/">PPPRT-08231</a></td>
</tr>
<tr>
<td>2 pin header</td>
<td><a href="http://proto-pic.co.uk/polarized-connectors-header-2-pin/">PPPRT-08233</a></td>
</tr>
<tr>
<td>4 pin housing</td>
<td><a href="http://proto-pic.co.uk/polarized-connectors-housing-4-pin/">PPPRT-08097</a></td>
</tr>
</table>
<h3>Build Instructions</h3>
<h4>Solder Headers</h4>
<ul>
<li>Solder a x4 way header connector onto the logger GND, VCC, TXO, RXI (i.e. miss out the first pin labelled BLK, it is not required).</li>
<li>Solder a x1 way header connector onto the logger for the GRN pin (I used a 2 way with the other pin overlapping off the end of the board as I could not easily obtain a 1 pin)</li>
<li>Solder a x4 way housing connector onto the wires from the device (match up GND/VCC/TXO/RXI to appropriate pins on the device).</li>
</ul>
<p>Note: A 5 or 6 way header soldered to all logger pins could just be used but I thought this approach best to avoid any mistakes (broken loggers) &#8211; that way there is a x4 way header to use when plugging into the printer and you are not left wondering which 4 pins should be connected.</p>
<h4>FTDI Programming Cable</h4>
<p>Modify the FTDI cable such that it has the following pinout (compatible with logger).  Use a flat screw driver to release the pins from the existing socket.</p>
<table cellspacing="0" class="tblwithborder">
<tr>
<td>GND</td>
<td>Black</td>
</tr>
<tr>
<td>VCC</td>
<td>Red</td>
</tr>
<tr>
<td>RXD</td>
<td>Yellow</td>
</tr>
<tr>
<td>TXD</td>
<td>Orange</td>
</tr>
<tr>
<td>RTS</td>
<td>Green</td>
</tr>
<tr>
<td>CTS</td>
<td>Brown &#8211; N/C</td>
</tr>
</table>
<h3>Notes</h3>
<ul>
<li>Arduino needs to be <a href="https://github.com/nseidle/OpenLog/wiki/Datasheet">modified</a> with a special version of HardwareSerial.cpp to work with OpenLog.</li>
<li>If your SD Card did not come pre formatted you may need to use the FAT32 microSD optimised <a href="https://www.sdcard.org/consumers/formatter_3/">formatting tool</a> from SD Association.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/10/debugging-hard-to-replicate-issues-with-embed-software-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>London Sky Ride 2011</title>
		<link>http://www.ns-tech.co.uk/blog/2011/09/london-sky-ride-2011/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/09/london-sky-ride-2011/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 10:56:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1204</guid>
		<description><![CDATA[On the 4th September I went on the London Sky Ride (organised cycling event where they shut down a few roads in central London to cars for the day). I went early morning and avoided the rain, was not too busy early on but became more crowded later on. GPS Route Log: View Larger Map]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_route.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_route-300x211.jpg" alt="Sky Ride Route" title="Sky Ride Route" width="300" height="211" class="alignright size-medium wp-image-1205" /></a>On the 4th September I went on the London Sky Ride (organised cycling event where they shut down a few roads in central London to cars for the day).</p>
<p>I went early morning and avoided the rain, was not too busy early on but became more crowded later on.</p>
<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_not_busy.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_not_busy-224x300.jpg" alt="Sky Ride Not Busy" title="Sky Ride Not Busy" width="224" height="300" class="alignnone size-medium wp-image-1207" /></a> <a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_more_busy.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/skyride_more_busy-224x300.jpg" alt="Sky Ride Tunnel" title="Sky Ride Tunnel" width="224" height="300" class="alignnone size-medium wp-image-1206" /></a></p>
<p><strong>GPS Route Log:</strong></p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.ns-tech.co.uk%2Fblog%2Fwp-content%2Fuploads%2F2011%2F09%2Fsky_ride.gpx&amp;aq=&amp;sll=51.505905,-0.108&amp;sspn=0.040388,0.077162&amp;vpsrc=6&amp;ie=UTF8&amp;t=m&amp;ll=51.506285,-0.10746&amp;spn=0.037396,0.072956&amp;z=13&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=http:%2F%2Fwww.ns-tech.co.uk%2Fblog%2Fwp-content%2Fuploads%2F2011%2F09%2Fsky_ride.gpx&amp;aq=&amp;sll=51.505905,-0.108&amp;sspn=0.040388,0.077162&amp;vpsrc=6&amp;ie=UTF8&amp;t=m&amp;ll=51.506285,-0.10746&amp;spn=0.037396,0.072956&amp;z=13" style="color:#0000FF;text-align:left">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/09/london-sky-ride-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EEWeb (Electrical Engineering Community) Site Of The Day</title>
		<link>http://www.ns-tech.co.uk/blog/2011/09/eeweb-electrical-engineering-community-site-of-the-day/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/09/eeweb-electrical-engineering-community-site-of-the-day/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 09:27:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1192</guid>
		<description><![CDATA[Nicholas Skinner&#8217;s Blog was recently featured as the EEWeb site of the day.]]></description>
			<content:encoded><![CDATA[<p>Nicholas Skinner&#8217;s Blog was recently featured as the <a href="http://www.eeweb.com/websites/nicholas-skinner-blog-home-automation">EEWeb site of the day</a>.</p>
<p><a href="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/eeweb_screenshot.jpg"><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/09/eeweb_screenshot_small.jpg" alt="EEWeb Screenshot" width="300" height="213" class="aligncenter size-full wp-image-1194" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/09/eeweb-electrical-engineering-community-site-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHP 5.3 on CentOS 5.6</title>
		<link>http://www.ns-tech.co.uk/blog/2011/08/installing-php-5-3-on-centos-5-6/</link>
		<comments>http://www.ns-tech.co.uk/blog/2011/08/installing-php-5-3-on-centos-5-6/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 17:52:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ns-tech.co.uk/blog/?p=1178</guid>
		<description><![CDATA[After WordPress recently dropped support for PHP versions]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ns-tech.co.uk/blog/wp-content/uploads/2011/08/php53.gif" alt="yum PHP 5.3 Screenshot" width="243" height="243" class="alignright size-full wp-image-1184" />After <a href="http://wordpress.org/news/2010/07/eol-for-php4-and-mysql4/">WordPress recently dropped support</a> for PHP versions <5.2 I decided it was time to look into updating my install of PHP 5.1.6 to something more current.</p>
<p>I was somewhat hoping the update would just appear on yum and happen automatically however looking into it I realise this was unlikely to happen:</p>
<p><strong>Quote:</strong> &#8220;As with each other program in CentOS, the version numbers of released software will not change over the life time of a CentOS product.&#8221; &#8212; <a href="http://wiki.centos.org/FAQ/CentOS5#head-8b85501ca7f023bc0eeb0fef98143e10fb6adefc">http://wiki.centos.org/FAQ/CentOS5</a></p></blockquote>
<p>After Googling for a few options and not coming up with any I was particularly happy with (i.e. mostly using 3rd party repositories) I happened to run &#8220;yum list|grep php&#8221; and noticed a set of &#8220;php53*&#8221; packages.  Appears it was decided at some point to make both versions of PHP available such that the user can choose which to install, but old installs would not be updated automatically to (most likely) limit the possibility of issues caused by incompatibilities.</p>
<p>I therefore ran the below commands and was upgraded to PHP 5.3 much quicker and with a lot less complication than I was expecting:</p>
<p><code>service httpd stop</p>
<p>yum remove php php-*</p>
<p>yum install php53<br />
#yum install php53-cli #via dependency<br />
#yum install php53-common #via dependency<br />
yum install php53-gd<br />
yum install php53-imap<br />
yum install php53-mbstring<br />
yum install php53-mysql<br />
#yum install php53-pdo #via dependency<br />
yum install php53-soap<br />
yum install php53-xml</p>
<p>service httpd start</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ns-tech.co.uk/blog/2011/08/installing-php-5-3-on-centos-5-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

