<?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>Adam Pierce &#187; Homemade Creations</title>
	<atom:link href="http://www.doctort.org/adam/category/homemade/feed" rel="self" type="application/rss+xml" />
	<link>http://www.doctort.org/adam</link>
	<description>Maker of Finest Quality Digital Things</description>
	<lastBuildDate>Mon, 18 Apr 2011 22:25:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Junior Hardware Repair</title>
		<link>http://www.doctort.org/adam/general/junior-hardware-repair.html</link>
		<comments>http://www.doctort.org/adam/general/junior-hardware-repair.html#comments</comments>
		<pubDate>Sat, 01 Jan 2011 22:12:27 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/?p=395</guid>
		<description><![CDATA[I had this faulty video card so I got the experts onto it&#8230; Looks like a good job. It&#8217;s sure to work better than before!]]></description>
			<content:encoded><![CDATA[<p>I had this faulty video card so I got the experts onto it&#8230;</p>
<p><img class="size-full wp-image-397 alignnone" title="Computer Repair Squad" src="http://www.doctort.org/adam/wp-content/uploads/2011/01/ComputerRepair1.jpg" alt="" width="434" height="552" /></p>
<p>Looks like a good job. It&#8217;s sure to work better than before!</p>
<p><img class="alignnone size-full wp-image-396" title="ComputerRepair2" src="http://www.doctort.org/adam/wp-content/uploads/2011/01/ComputerRepair2.jpg" alt="" width="640" height="355" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/general/junior-hardware-repair.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract Chapters from a DVD</title>
		<link>http://www.doctort.org/adam/myproduct/extract-chapters-from-a-dvd.html</link>
		<comments>http://www.doctort.org/adam/myproduct/extract-chapters-from-a-dvd.html#comments</comments>
		<pubDate>Tue, 13 May 2008 13:07:05 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[chapter]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[mpeg]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/?p=226</guid>
		<description><![CDATA[I have this video camera, a Sony DVD201E which records straight to a mini-DVD disc. I want to copy the recorded video onto my PC but the software which comes with the camera is pretty awful. Besides it is Windows-only and I do prefer to use Linux. So I have made a little Linux app [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-227" style="float: right;" title="sony-dvd201e" src="http://www.doctort.org/adam/wp-content/uploads/2008/05/sony-dvd201e.jpg" alt="" width="200" height="150" />I have this video camera, a Sony DVD201E which records straight to a mini-DVD disc. I want to copy the recorded video onto my PC but the software which comes with the camera is pretty awful. Besides it is Windows-only and I do prefer to use Linux.</p>
<p>So I have made a little Linux app which can extract scenes from a DVD disc. The camera records each scene as a DVD &#8220;chapter&#8221;. My application reads a DVD disc and copies each chapter into a separate MPEG file. I&#8217;ll publish it here in case anyone else finds it useful.</p>
<h4>Downloading and Compiling</h4>
<p>I&#8217;m just releasing this as source code at the moment. I have tested it under Ubuntu 7.10 but It will probably work fine on any UNIX-based system. You can download it here:</p>
<p><a href="http://doctort.org/adam/files/DvdChapterExtract-1.2.tar.bz2">DvdChapterExtract-1.2.tar.bz2</a> (16k)</p>
<p>You will need <strong>libdvdread</strong> and <strong>libavformat</strong> before you compile. So install those:</p>
<pre>sudo apt-get install libdvdread-dev libavformat-dev</pre>
<p>Next unpack and compile:</p>
<pre>tar jxf DvdChapterExtract-1.2.tar.bz2

cd DvdChapterExtract/Release

make all</pre>
<h4>Usage</h4>
<p>1. You need to record your discs in <strong>Video mode</strong>, not &#8220;VR&#8221; mode. VR is a Sony proprietary format which cannot be read in a regular DVD drive.</p>
<p>2. After recording your disc, you must <strong>Finalize</strong> it in-camera.</p>
<p>3. Put the disc into the DVD drive on your PC.</p>
<p>4. Launch the DVD chapter extract tool like so (assuming /dev/scd0 is the name of your DVD drive).</p>
<pre>./DvdChapterExtract -d /dev/scd0</pre>
<p>It will extract each chapter into a separate file called chapter001.mpeg, chapter002.mpeg and so on. These can be loaded directly into any video editing software.</p>
<p>The camera also tags each chapter with some meta-data such as the date and time the scene was recorded. I have not yet figured out how to read that data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/myproduct/extract-chapters-from-a-dvd.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apple Crumble</title>
		<link>http://www.doctort.org/adam/homemade/apple-crumble.html</link>
		<comments>http://www.doctort.org/adam/homemade/apple-crumble.html#comments</comments>
		<pubDate>Fri, 28 Mar 2008 10:21:17 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[cooking]]></category>
		<category><![CDATA[recipe]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/apple-crumble.html</guid>
		<description><![CDATA[My last few articles have been very technical, so to slow the pace down a little, here&#8217;s an Apple Crumble I made the other day. I was kind of winging it but it turned out pretty good. I&#8217;ll write it here so I can remember the recipe. Before you start, preheat your oven to 180°. [...]]]></description>
			<content:encoded><![CDATA[<p>My last few articles have been very technical, so to slow the pace down a little, here&#8217;s an Apple Crumble I made the other day. I was kind of winging it but it turned out pretty good. I&#8217;ll write it here so I can remember the recipe.</p>
<p>Before you start, preheat your oven to 180°.</p>
<p><strong>The Apple</strong></p>
<ul>
<li>850g Apples (I used &#8220;Pink Lady&#8221; apples but any kind would probably do)</li>
<li>2 tablespoons Brown Sugar</li>
</ul>
<p>Core the apples, cut them in half or quarters and slice them with the skin still on. Mix the sugar with about 50ml of water and put it with the apples in a pan. Stew until soft.</p>
<p><strong>The Crumble</strong></p>
<ul>
<li>175g Plain Flour</li>
<li>100g Brown Sugar</li>
<li>125g Butter</li>
<li>100g Oats</li>
<li>½ teaspoon Cinnamon</li>
</ul>
<p>Put the oats into a food processor and lacerate them into small pieces. Then dump in the rest of the ingredients and process until it is well mixed.</p>
<p>Put the stewed apples into a baking dish. There was some liquid left over from the stewing, I did not drain it.</p>
<p>Then sprinkle the crumble over the top. Do not pack it down, you want it light and crumbly.</p>
<p>I baked it for about 50 minutes, it was OK but that was probably too long. Next time I&#8217;ll try about 30 minutes.</p>
<p>Serve with whipped cream or ice cream. You&#8217;ll get about 12 serves from these quantities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/apple-crumble.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mud Soup</title>
		<link>http://www.doctort.org/adam/homemade/mud-soup.html</link>
		<comments>http://www.doctort.org/adam/homemade/mud-soup.html#comments</comments>
		<pubDate>Sun, 03 Feb 2008 06:08:56 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Bizarre Stuff]]></category>
		<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/mud-soup.html</guid>
		<description><![CDATA[Its nice to know that while I was obsessing over my circuit board, the kids were busy making stuff too. A wonderful Mudistrone Soup! They are so proud of it.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.doctort.org/adam/wp-content/uploads/2008/02/mudsoup.png" alt="mudsoup.png" align="right" />Its nice to know that while I was <a href="http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-1.html">obsessing over</a> my <a href="http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-2.html">circuit board</a>, the kids were busy making stuff too. A wonderful Mudistrone Soup!</p>
<p>They are so proud of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/mud-soup.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solder Reflow with a Frying Pan &#8211; part 2</title>
		<link>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-2.html</link>
		<comments>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-2.html#comments</comments>
		<pubDate>Wed, 30 Jan 2008 10:08:24 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[Nerd Notes]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[skillet]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[surface mount]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-2.html</guid>
		<description><![CDATA[Now that my pan is ready, it is time to do this. First I needed a board. I got one of my designs prototyped by Batch PCB who are cheap and did a good job but I had to wait about six weeks which is OK for hobbyists but I wouldn&#8217;t want to be in [...]]]></description>
			<content:encoded><![CDATA[<p>Now that my pan is ready, it is time to do this. First I needed a board. I got one of my designs prototyped by <a href="http://www.batchpcb.com/">Batch PCB</a> who are cheap and did a good job but I had to wait about six weeks which is OK for hobbyists but I wouldn&#8217;t want to be in a hurry.</p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/rubberglove.png" alt="rubberglove.png" align="right" />This solder paste stuff is pretty toxic. Perhaps I&#8217;m going overboard here but I thought some rubber gloves would be a good idea.<br />
<br clear="all" /><br />
<img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/solderpaste.png" alt="What a mess!" align="right" />To apply the paste, I just squirted it on the board. It kinda went everywhere at first until I got the hang of it. Next time I&#8217;ll get a smaller tube and perhaps a smaller nozzle. I fixed it up as best I could using a toothpick and cotton tips.  It took quite a lot longer and was much more messy than I anticipated.<br />
<br clear="all" /><br />
<img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/pickandplace2.png" alt="pickandplace2.png" align="right" />Next comes the pick-and-place. I got most of my parts from <a href="http://www.digikey.com/">Digi-key</a> who send them out as &#8220;Cut tape&#8221; which is pretty convenient, you just peel the backing off the tape until you get the quantity of parts you need and the rest are left still attached to the tape so you don&#8217;t lose them in the carpet. I positioned the parts with tweezers since most of them are incredibly teeny.</p>
<p>My board includes both surface-mount and through-hole components. I just placed the SMT stuff at this stage because I need the back of the board to be flat for heat transfer.</p>
<p>Now for the fun bit. I put the loaded board onto the pan cold. Then I increased temperature to around 100°C. I left it at that heat for a minute to get everything nice and warm. Then I cranked up the heat to maximum (in my case, 175°) until the solder melted. It was magic to watch. Everything just blobbed into place. Even components which were not exactly positioned right pulled themselves into line.</p>
<p>After a slow cool-down over 5 minutes, I examined the board. Everything looks good to my eye except for some pretty major bridging between the pins of my ARM chip. I&#8217;ll leave dealing with these to part 3.</p>
<p>In the end though, I&#8217;m pretty pleased with the result. Not bad for my first try!</p>
<p style="text-align: center"><img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/reflowshowingsolderbridges.png" alt="A few bridges there!" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-2.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Solder Reflow with a Frying Pan &#8211; part 1</title>
		<link>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-1.html</link>
		<comments>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-1.html#comments</comments>
		<pubDate>Sun, 27 Jan 2008 06:46:53 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[Nerd Notes]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[surface mount]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-1.html</guid>
		<description><![CDATA[I&#8217;ve been dying to have a go at this ever since I read some hobbyist websites on how to do solder reflow at home. I never even thought this was possible to do on a hobbyist budget. The idea is to use a frying pan or toaster oven to perform solder reflow for SMT circuit [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been dying to have a go at this ever since I read some hobbyist websites on how to do solder reflow at home. I never even thought this was possible to do on a hobbyist budget.</p>
<p align="left"><img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/electricskillet.png" alt="Electric Skillet" align="right" />The idea is to use a frying pan or toaster oven to perform solder reflow for SMT circuit boards. I decided to use a skillet thinking that a toaster oven would melt components since it heats both top and bottom.</p>
<p>I managed to find the perfect thing. A pre-owned 9&#8243; electric skillet from the Salvation Army shop for $3.</p>
<p>Believe it or not, this device is not a precision instrument. The temperature dial is simply numbered from 1 to 10. The first thing I need to do is get some idea of what actual temperature this thing gets to.<br />
<br clear="all" /><br />
<img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/skillettemperature.png" alt="Measuring the temperature" align="right" />So I need to do a scientific experiment. Firstly I put some oil in the pan and stuck in a thermometer (the fork is to hold the probe in the oil). Then I turned up the heat slowly making a note of the temperature. Finally I graphed the result. Here are the results in degrees C. That cheap little temperature knob is surprisingly linear.</p>
<ol>
<li>Element not energized</li>
<li>30°</li>
<li>46°</li>
<li>65°</li>
<li>90°</li>
<li>105°</li>
<li>125°</li>
<li>140°</li>
<li>&gt;150°</li>
<li>&gt;150°</li>
</ol>
<p>The last two entries I could not measure since the thermometer only went up to 150°C, but by extrapolation I get 155° and 175°. Yes I did this on paper, it is much quicker than using Excel!<br />
<br clear="all" /></p>
<p style="text-align: center"><img src="http://www.doctort.org/adam/wp-content/uploads/2008/01/skillettemperaturegraph.png" alt="The results" /></p>
<p><br clear="all" />I am now ready to use this thing for solder reflow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/nerd-notes/solder-reflow-with-a-frying-pan-part-1.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Art Pancakes</title>
		<link>http://www.doctort.org/adam/homemade/art-pancakes.html</link>
		<comments>http://www.doctort.org/adam/homemade/art-pancakes.html#comments</comments>
		<pubDate>Sat, 16 Jun 2007 07:02:19 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/172.html</guid>
		<description><![CDATA[On Sundays I usually make pancakes for breakfast with the kids. This week inspired by Dave Spencer&#8217;s Be a Breakfast Hero instructable, we took the pancakes to a new level. At first I found I could make some rough face shapes just by pouring the mixture into the pan but to make the more advanced [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image177" src="http://www.doctort.org/adam/wp-content/uploads/2007/06/PancakeCollection.jpg" alt="Lots of pancakes" align="right" />On Sundays I usually make pancakes for breakfast with the kids. This week inspired by Dave Spencer&#8217;s <a href="http://www.instructables.com/id/E81RSX7F11S8RPL/">Be a Breakfast Hero</a> instructable, we took the pancakes to a new level.</p>
<p>At first I found I could make some rough face shapes just by pouring the mixture into the pan but to make the more advanced shapes, I had to make a stiffer mixture and used an icing bag to squeeze it out. Mine aren&#8217;t as good as Dave&#8217;s.</p>
<p>FYI, my pancake mixture is:</p>
<ul>
<li>1 cup self raising flour</li>
<li>2 tablespoons caster sugar</li>
<li>1 egg</li>
<li>3/4 cup milk</li>
<li>pinch of salt</li>
</ul>
<p>Just mix it all up, it&#8217;s pretty simple. Even my kids can do it.</p>
<p><br clear="all" /></p>
<p>Here&#8217;s some pictures. You can all laugh at our bed-hair!</p>
<p>Thanks for the inspiration Dave!<img id="image176" src="http://www.doctort.org/adam/wp-content/uploads/2007/06/MaiaStuffingHerFace.jpg" alt="YUM!" align="right" /></p>
<p><img id="image174" src="http://www.doctort.org/adam/wp-content/uploads/2007/06/CookingPancakes.jpg" alt="Check that bed hair!" align="right" /></p>
<p><img id="image173" src="http://www.doctort.org/adam/wp-content/uploads/2007/06/AtTable1.jpg" alt="They loved 'em" align="right" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/art-pancakes.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Comet Balls</title>
		<link>http://www.doctort.org/adam/homemade/comet-balls.html</link>
		<comments>http://www.doctort.org/adam/homemade/comet-balls.html#comments</comments>
		<pubDate>Sat, 26 May 2007 12:02:25 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/comet-balls.html</guid>
		<description><![CDATA[I haven&#8217;t posted for a while. I&#8217;ve been spending less time geeking and more time with my kids. So here&#8217;s a kid-related post. Today we made &#8220;Comet Balls&#8221;. We saw something similar to these at a school fair and Kai really wanted some. So I got some tennis balls and some long colourful socks to [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image168" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsFinished.jpg" alt="The finished comet balls" align="right" />I haven&#8217;t posted for a while. I&#8217;ve been spending less time geeking and more time with my kids. So here&#8217;s a kid-related post.</p>
<p>Today we made &#8220;Comet Balls&#8221;. We saw something similar to these at a school fair and Kai really wanted some. So I got some tennis balls and some long colourful socks to make the tails (I could only get toe-socks. Long story, don&#8217;t ask. They do look cute with the little toes on the front though).</p>
<p>Making them couldn&#8217;t be simpler. Just shove the tennis ball into the sock and secure it with an elastic band. Kai could do it all by himself.</p>
<p>You can throw them quite well when you hold the tail and twirl them. We played a game where Kai and I would try to throw them into a bucket at a distance of two metres. Here&#8217;s some photos:</p>
<p><img id="image162" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsMaterials.jpg" alt="All you need is a tennis ball and a sock" /> <img id="image163" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsInsert.jpg" alt="Put the ball into the sock" /> <img id="image164" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsShove.jpg" alt="Shove it right down the bottom" /> <img id="image165" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsFasten.jpg" alt="Tie it off with a rubber band" /> <img id="image166" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsThrow.jpg" alt="And it's ready to throw" /> <img id="image167" src="http://www.doctort.org/adam/wp-content/uploads/2007/05/CometBallsTwirl.jpg" alt="Or you can just twirl them around" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/comet-balls.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using a Phone Camera to test a Remote Control</title>
		<link>http://www.doctort.org/adam/general/using-a-phone-camera-to-test-a-remote-control.html</link>
		<comments>http://www.doctort.org/adam/general/using-a-phone-camera-to-test-a-remote-control.html#comments</comments>
		<pubDate>Fri, 09 Mar 2007 12:20:04 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[Nerd Notes]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/general/using-a-phone-camera-to-test-a-remote-control.html</guid>
		<description><![CDATA[Here&#8217;s another unusual use for a phone camera. It&#8217;s a simple test to see if your TV remote control is working. Since digital cameras are sensitive to infra-red light, you can simply point your remote at the camera and you will see the flashing of the infra-red beam on the phone&#8217;s screen, digital technology making [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image150" src="http://www.doctort.org/adam/wp-content/uploads/2007/03/PhoneIR2.JPG" alt="Making the invisible visible" align="right" />Here&#8217;s another unusual use for a phone camera. It&#8217;s a simple test to see if your TV remote control is working.</p>
<p>Since digital cameras are sensitive to infra-red light, you can simply point your remote at the camera and you will see the flashing of the infra-red beam on the phone&#8217;s screen, digital technology making the invisible visible!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/general/using-a-phone-camera-to-test-a-remote-control.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Guttersynth</title>
		<link>http://www.doctort.org/adam/homemade/guttersynth.html</link>
		<comments>http://www.doctort.org/adam/homemade/guttersynth.html#comments</comments>
		<pubDate>Wed, 03 Jan 2007 10:39:54 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/guttersynth.html</guid>
		<description><![CDATA[Guess what I found in the gutter in Erskineville. Yes the gutter. In the rain. I thought &#8220;now here&#8217;s a challenge!&#8221; After dragging it home and powering it up, I saw that the panel would light up, the buttons seemed to work but there was no sound coming out so I opened it up. It [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image131" src="http://www.doctort.org/adam/wp-content/uploads/2007/01/oldkeyboard.JPG" alt="Fished out of the gutter" align="right" />Guess what I found in the gutter in Erskineville. Yes the gutter. In the rain. I thought &#8220;now here&#8217;s a challenge!&#8221;</p>
<p><br clear="all" /></p>
<p><img id="image133" src="http://www.doctort.org/adam/wp-content/uploads/2007/01/keyboardguts.JPG" alt="The insides" align="right" />After dragging it home and powering it up, I saw that the panel would light up, the buttons seemed to work but there was no sound coming out so I opened it up. It was certainly a mess inside (and out). It was filthy with mud and it looked like some cockroaches had been breeding in it. Fortunately, there was very little corrosion on the circuitry so I felt I had a good chance of getting it going.</p>
<p>First thing I did was to take it completely apart and wash all the plastic parts such as the case, buttons and keys with lots of hot soapy water.</p>
<p>After reassembling it, I had a poke around. By connecting some headphones to a wire and probing around the circuit board, I could work out that the sound was being generated but didn&#8217;t make it past the main amplifier chip, an LA4558, it seemed to be blown. I had a look through some parts suppliers catalogues but could not locate a replacement for this chip.</p>
<p><br clear="all" /></p>
<p><img id="image134" src="http://www.doctort.org/adam/wp-content/uploads/2007/01/ampModule.JPG" alt="Small yet powerful amplifier" align="right" />No matter because I had a stereo amplifier module surplus from an old project. I got this amplifier ages ago from <a href="http://www.wagner.net.au/">WES</a> just down the road at Ashfield for about $12 from memory. It is a 5W RMS per side, class A stereo amp. Total overkill for this job but what the hey. I simply bypassed the blown-up chip and fed the signal through the amp module. It has a little hiss, no doubt due to my sloppy wiring or incorrect impedance matching but is really loud when you crank it up.</p>
<p><br clear="all" /></p>
<p><img id="image135" src="http://www.doctort.org/adam/wp-content/uploads/2007/01/AmpInSitu.JPG" alt="I really ought  to work on making my wiring neater" align="right" />I screwed the amplifier module down to the metal keyboard frame which makes a handy-dandy heatsink and it is good to go. Not bad for a couple of hours work, a free Kawai MS710 keyboard/synth! Maybe I could circuit-bend it in the future, we&#8217;ll see but for now, it makes a great toy for my kids.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/guttersynth.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Souped up IR keyboard</title>
		<link>http://www.doctort.org/adam/homemade/souped-up-ir-keyboard.html</link>
		<comments>http://www.doctort.org/adam/homemade/souped-up-ir-keyboard.html#comments</comments>
		<pubDate>Sun, 03 Dec 2006 11:30:25 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/souped-up-ir-keyboard.html</guid>
		<description><![CDATA[I have been using this infra-red wireless keyboard on my media PC for about a year now. I have always been disappointed with its poor range and short battery life. So I decided to do something about it. Instead of expensive AAA batteries, it would definitely last longer on AA cells. Four cells would also [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image124" src="http://www.doctort.org/adam/wp-content/uploads/2006/12/keyboard2.jpeg" alt="An IR keyboard" align="right" />I have been using this infra-red wireless keyboard on my media PC for about a year now. I have always been disappointed with its poor range and short battery life.</p>
<p>So I decided to do something about it.</p>
<p><br clear="all" /></p>
<p><img id="image126" src="http://www.doctort.org/adam/wp-content/uploads/2006/12/keyboard_void_warranty.jpeg" alt="Let's void the warranty!" align="right" />Instead of expensive AAA batteries, it would definitely last longer on AA cells. Four cells would also supply a higher voltage than three and so give greater output power. First thing to do is void the warranty and take it apart.</p>
<p><br clear="all" /></p>
<p><img id="image127" src="http://www.doctort.org/adam/wp-content/uploads/2006/12/keyboard_wiring.jpeg" alt="Don't you know you shouldn't connect the red to the black!" align="right" />Then I simply grabbed a 4xAA battery holder and soldered the wires in place of the existing 3xAAA battery compartment. I loaded up the batteries to see if it would work.</p>
<p>Ah, but it didn&#8217;t. The activity LED did not light and after a few seconds I could smell the familiar aroma of burning silicon. After very quickly removing the batteries, I had a closer look to see what was up (apart from the main chip being very hot).</p>
<p>Turns out I had relied on the colour-coding of the wires and connected my positive to the red wire and the negative to the black wire. After all, that is the standard right ?</p>
<p>If I had checked more closely, I would have noticed that <strong>whoever assembled this thing had used a red wire for negative and a black wire for positive !</strong></p>
<p>After I stopped swearing, I connected my battery positive to the black wire, and negative to the red wire. My engineer mind was screaming &#8220;noooo!&#8221; but I did it anyway. After that I tested again and it worked! I was very lucky the chips had not been fried by my earlier mistake.</p>
<p><br clear="all" /></p>
<p><img id="image128" src="http://www.doctort.org/adam/wp-content/uploads/2006/12/keyboard_glue.jpeg" alt="Gluing on the battery holder" align="right" />Finally since the battery holder would not fit inside, I glued it to the underside with some hot glue. After testing I was pleased to note that the range was much increased. I can use it while leaning back on my lounge and I don&#8217;t have to carefully aim it anymore. With the larger batteries on the case, it should be quite a while before I need to change them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/souped-up-ir-keyboard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squiggly Wire Game</title>
		<link>http://www.doctort.org/adam/homemade/squiggly-wire-game.html</link>
		<comments>http://www.doctort.org/adam/homemade/squiggly-wire-game.html#comments</comments>
		<pubDate>Wed, 25 Oct 2006 10:30:01 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/squiggly-wire-game.html</guid>
		<description><![CDATA[This week, Kai and I built an electronic game of skill out of a wire coat hanger. You&#8217;ve probably seen this one before, the idea is to move a hoop along a bent wire without touching the wire. If you touch the wire, a buzzer sounds and you have to start again. We built ours [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image115" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/SquigglyWireGame.jpeg" alt="Kai having fun with the Squiggly Wire game" align="right" />This week, Kai and I built an electronic game of skill out of a wire coat hanger.</p>
<p>You&#8217;ve probably seen this one before, the idea is to move a hoop along a bent wire without touching the wire. If you touch the wire, a buzzer sounds and you have to start again.</p>
<p>We built ours out of an old plastic box which once contained chocolate. A wire coat hanger was the main component. I cut off a few inches of the coat hanger to bend into a loop and used the rest to make the squiggly wire. The ends of the wire were bent into tight loops through which I put small bolts to secure it to the box.</p>
<p>The electronics and battery holder were simply glued to the inside of the box using hot-glue which is really an incredibly useful substance.</p>
<p>After I soldered a flexible wire to the loop, Kai put some bicycle handlebar tape around it to make the grip. For strain relief on the wire, I used a cable-tie.</p>
<p>The end of the wire is a yellow &#8220;safe zone&#8221; which was made simply by wrapping electrical tape around the wire to prevent electrical contact.</p>
<p><br clear="all" /><a href="/adam/wp-content/uploads/2006/10/SquigglyCircuit.png"><img id="image112" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/SquigglyCircuit-small.png" alt="Squiggly Wire Game Schematic" align="right" /></a><strong>The noise maker</strong></p>
<p>I didn&#8217;t have a buzzer handy but I did have a 555 timer chip so I used it to build an oscillator and connected that to a small piezo speaker in keeping with my principle of using whatever parts I&#8217;ve already got wherever possible.</p>
<p><a href="http://www.google.com/search?q=555">Much has been written</a> about the <a href="http://en.wikipedia.org/wiki/555_timer_IC">555 timer IC</a>. I have wired mine in the classic astable mode. The values of the components are not at all critical, the formula below shows how to compute the output frequency from the component values. The 100ÂµF capacitor was added to provide a little sustain so that the sound is less &#8220;scratchy&#8221; when the wire is touched lightly.</p>
<p>Of course, if you are not a complete nerd, you would probably just get a buzzer.</p>
<p align="center"><img id="image113" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/Formula555.png" alt="How to compute the output frequency of an NE555" /><br />
<i>Formula to calculate the output frequency</i></p>
<p><strong>The result</strong></p>
<p>I was going to paint the box but <a href="http://www.20-20.org/">my wife (who is an artist)</a> said &#8220;Noooo! it looks so post-modern in clear plastic with the chocolate label still on it&#8221; &#8211; so it has stayed un-painted.</p>
<p>This has cost me $0. It is built completely from parts I have found around the house. I like the challenge of trying to use what I have and this project completely achieves that goal. Here are some more photos:</p>
<p><br clear="all" /><img id="image118" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/SquigglyCircuit.jpeg" alt="Building the circuit onto veroboard" /> <img id="image117" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/KaiApplyingTape.jpeg" alt="Kai helping to build it" /> <img id="image116" src="http://www.doctort.org/adam/wp-content/uploads/2006/10/SquigglyWireGame2.jpeg" alt="The finished article" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/squiggly-wire-game.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Yes you can fit a full-size ATX motherboard into an AT case</title>
		<link>http://www.doctort.org/adam/homemade/mobo-jammin.html</link>
		<comments>http://www.doctort.org/adam/homemade/mobo-jammin.html#comments</comments>
		<pubDate>Sun, 03 Sep 2006 06:40:54 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/mobo-jammin.html</guid>
		<description><![CDATA[I guess normal people don&#8217;t spend their time doing this kind of thing but you know I had an old desktop case which was for an AT motherboard and I wanted to make myself a new web server and a tower case would be too big to fit into my server cupboard. So the old [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image98" src="http://www.doctort.org/adam/wp-content/uploads/2006/09/Jigsaw_Weilding_Maniac.JPG" alt="Jigsaw Weilding Maniac" align="right" />I guess normal people don&#8217;t spend their time doing this kind of thing but you know I had an old desktop case which was for an AT motherboard and I wanted to make myself a new web server and a tower case would be too big to fit into my server cupboard. So the old desktop case went under the knife &#8211; a power jigsaw that is, with a metal cutting blade.</p>
<p><br clear="all" /></p>
<p><img id="image95" src="http://www.doctort.org/adam/wp-content/uploads/2006/09/Closeup_of_ATX_connectors.JPG" alt="The ATX connectors" align="right" />After butchering the back panel, I neatened it up a bit with a hand-held hacksaw blade and a metal file. After that, I vacuumed the case out thoroughly to make sure there were no metal shavings inside.</p>
<p>As you can see, the bigger motherboard fits now. Removing a large chunk of the back panel allows the connectors for the keyboard and other ports to be accessible.</p>
<p><br clear="all" /></p>
<p><img id="image100" src="http://www.doctort.org/adam/wp-content/uploads/2006/09/Finished_Server.JPG" alt="Everthing fits. Phew!" align="right" />Unfortunately, the CPU cooler sticks up too high so I could not fit in the PSU. However, I am a computer nerd and always have plenty of odd spare parts lying about such as a Micro-ATX PSU which fitted in just nicely after I drilled a few new mounting holes.</p>
<p>Once I put in the hard drive, CD-ROM, PCI cards and everything, the box is getting rather full but it does all fit.</p>
<p><br clear="all" /></p>
<p><img id="image99" src="http://www.doctort.org/adam/wp-content/uploads/2006/09/Server_in_situ.JPG" alt="My server room" align="right" />And here it is in my server room &#8211; uh, I mean server cupboard. It&#8217;s running a PIII 667 overclocked to 750MHz with 384MB of RAM and a 250GB hard disk. <a href="http://www.debian.org/">Debian Linux</a> of course (if you have been reading my blog, you must realise by now its my favourite OS). And it is all working great. After all, it has just served this web page to you!</p>
<p>Now all I need to do is enter the new machine into <a href="http://counter.li.org/">the Linux Counter</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/mobo-jammin.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Kids Electronics Lab update</title>
		<link>http://www.doctort.org/adam/homemade/kids-electronics-lab-update.html</link>
		<comments>http://www.doctort.org/adam/homemade/kids-electronics-lab-update.html#comments</comments>
		<pubDate>Thu, 24 Aug 2006 10:45:34 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/homemade/kids-electronics-lab-update.html</guid>
		<description><![CDATA[Kai has been loving the Kids Electronics Lab we made last weekend. Bea tells me he played with it all day on monday while I was at work. I&#8217;m happy that he likes it. I have been pondering the best way to add some over-current protection to prevent damage to the batteries in the event [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image92" src="http://www.doctort.org/adam/wp-content/uploads/2006/08/polyswitch.jpg" alt="The polyswitch in action" align="right" />Kai has been loving the <a href="http://www.doctort.org/adam/homemade/homemade-kids-electronic-lab.html">Kids Electronics Lab</a> we made last weekend. Bea tells me he played with it all day on monday while I was at work. I&#8217;m happy that he likes it.</p>
<p>I have been pondering the best way to add some over-current protection to prevent damage to the batteries in the event of a short. A colleague suggested I try a <a href="http://en.wikipedia.org/wiki/Polyswitch">Polyswitch</a> &#8211; he even donated one for this project (thanks Ian!) thus saving me about $2.</p>
<p>This device is also known as a PTC fuse and is commonly used to protect loudspeakers. When a certain current is reached, it will trip and go into a high-resistance state until the current is removed. You can see a photo here of the device dropping the current to 120mA despite a dead short across the battery. The trip current is well over an amp so it does not affect normal operation of the board. Neat.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/kids-electronics-lab-update.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Homemade Kids Electronic Lab</title>
		<link>http://www.doctort.org/adam/homemade/homemade-kids-electronic-lab.html</link>
		<comments>http://www.doctort.org/adam/homemade/homemade-kids-electronic-lab.html#comments</comments>
		<pubDate>Sun, 20 Aug 2006 04:47:21 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/general/homemade-kids-electronic-lab.html</guid>
		<description><![CDATA[Today with the help of my four year old son Kai, we built a little experimenter&#8217;s board because he has been wanting to &#8220;learn about &#8216;lectricty&#8221; for a while now. First I found an old piece of MDF from my shed and cut off a bit about 10&#8243; by 6&#8243;. Then I bought some screw [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/ClipLeads.jpg" id="image85" alt="Clip leads" align="right" />Today with the help of my four year old son <a href="http://www.20-20.org/kai/">Kai</a>, we built a little experimenter&#8217;s board because he has been wanting to &#8220;learn about &#8216;lectricty&#8221; for a while now.</p>
<p>First I found an old piece of MDF from my shed and cut off a bit about 10&#8243; by 6&#8243;. Then I bought some screw eyes from the hardware shop. I already had this bunch of colourful clip leads.</p>
<p><br clear="all" /></p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/Drilling.jpg" id="image86" alt="Drilling the pilot holes" align="right" />To build it, we drilled some 1mm pilot holes and then screwed in the eyelets with a small washer under each one. Kai loved having a go of a power tool even if it was only a little battery-powered Dremel. The wire from each part gets clamped under the washer as the screw eye is tightened. I used some pliers to screw the eyes in nice and hard so the wire will stay clamped.</p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/screweyedetail.jpg" id="image89" alt="Closeup of mounted screw eyes" /></p>
<p><br clear="all" /></p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/KaiAndDremel.jpg" id="image87" alt="Small child and power tool" align="right" />I have soldered a current limiting resistor in series with each part. I used 100&Omega; for each of the LEDs and a 15&Omega; ½ watt resistor for the motor. These values were arrived at by guesswork, experimentation and whatever I could find in my parts box using the time-honoured principle of &#8220;Whatever works man&#8221;. I used a little hot-glue to hold the parts in place.</p>
<p>I attached the battery holder to the board with some velcro so it can be easily lifted up to change the batteries.</p>
<p><br clear="all" /></p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/Board-big.jpg" id="image84" alt="The finished board" align="right" />And here&#8217;s the finished product. I still do not have any kind of over-current protection for the batteries. I guess it won&#8217;t be long before the child tries to connect the battery terminals together and kills them. I&#8217;ll see what I can come up with in the future but for now we are having too much fun to bother about it.</p>
<p>I spent about $2 all up to buy a packet of screw eyes. Everything else came out of my junk box. That is my driving philsophy here. Just use what I&#8217;ve got, otherwise, I may as well have spent $50 on a store-bought electronics kit.</p>
<p><br clear="all" /></p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/08/KaiLikesBoard.jpg" id="image88" alt="and Kai likes it" align="right" />The board contains 4xAA batteries, 2 LEDs, a momentary push button and a DC motor. Kai can make up circuits by clipping the clip leads onto the eyelets. I have left some room on the board so we can add other bits on in the future. Its simple and fun enough for a four year old.</p>
<p><br clear="all" /></p>
<h3>Related posts</h3>
<p><a href="http://www.doctort.org/adam/product/kidtype/">Kid Type</a></p>
<p><a href="http://www.doctort.org/adam/homemade/kids-electronics-lab-update.html">UPDATE &#8211; Adding current protection</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/homemade/homemade-kids-electronic-lab.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Synth-in-a-box</title>
		<link>http://www.doctort.org/adam/general/synth-in-a-box.html</link>
		<comments>http://www.doctort.org/adam/general/synth-in-a-box.html#comments</comments>
		<pubDate>Sun, 30 Jul 2006 12:39:28 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Homemade Creations]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/general/synth-in-a-box.html</guid>
		<description><![CDATA[On a lazy Sunday afternoon, some time back now. I decided to build a synthesizer. Analogue electronics is not really my thing, I&#8217;m much more a digital person but when I found a design online for The #3 Standard WoggleBug by Grant Richter, I just had to build one. First I built the circuit on [...]]]></description>
			<content:encoded><![CDATA[<p>On a lazy Sunday afternoon, some time back now. I decided to build a synthesizer.</p>
<p>Analogue electronics is not really my thing, I&#8217;m much more a digital person but when I found a design online for <a href="http://www.musicsynthesizer.com/WoggleBug/WoggleBug.html">The #3 Standard WoggleBug</a> by <a href="http://www.musicsynthesizer.com/DIY/Grant/grant_richters_synthdiy.htm">Grant Richter</a>, I just had to build one.</p>
<p><br clear=all /></p>
<p><img id="image71" src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Circuit.JPG" alt="Neat circuits, who needs 'em" align="right" />First I built the circuit on some veroboard. This thing is controlled by a bunch of potentiometers, there is no keyboard and certainly no MIDI!</p>
<p><br clear=all /></p>
<p><img id="image73" src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Burnt.JPG" alt="This CD won't be readable anymore" align="right" />Then I was wondering what to make for an enclosure. My friend Jasper found an empty CD spindle and you know, it was just crazy enough to work.</p>
<p>To create the control panel, I got a CD-R and messed it up a bit with a blowtorch. I mounted the knobs on this and glued it to the central shaft of the CD spindle. A little more glue and the whole thing was assembled inside the spindle.</p>
<p><br clear=all /></p>
<p><img id="image75" src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Travel%20Case.JPG" alt="And I even get a free travel-case for it!" align="right" />Here is the finished product. As you can see, the cover of the CD spindle makes a handy travel case.</p>
<p><br clear=all /></p>
<p><img id="image74" src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Final.JPG" alt="The finshed product" align="right" />If you want to hear what it sounds like, <a id="p76" href="http://www.doctort.org/adam/wp-content/uploads/2006/07/WoggleMix.mp3">Click here</a> for an MP3 (1MB). Okay, this is not a pure recording, I have added some drums and a couple of effects because this thing sounds really rough and is almost impossible to control. You&#8217;ll have to imagine me twisting the knobs frantically while you listen.</p>
<p>Anyway, I had fun building it and that&#8217;s what makes me happy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/general/synth-in-a-box.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
<enclosure url="http://www.doctort.org/adam/wp-content/uploads/2006/07/WoggleMix.mp3" length="1087763" type="audio/mpeg" />
		</item>
		<item>
		<title>Version 1 is Finished!</title>
		<link>http://www.doctort.org/adam/midisync/version-1-is-finished.html</link>
		<comments>http://www.doctort.org/adam/midisync/version-1-is-finished.html#comments</comments>
		<pubDate>Tue, 15 Jan 2002 06:18:49 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[MIDI Sync Box]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/midisync/version-1-is-finished.html</guid>
		<description><![CDATA[I have now finished the code. Tested it and after a few bug fixes, everything works just great. The final software is 930 lines of assembler. You can download it here if you want to. I also learnt how to use ProTel so I could draw up the final circuit properly. Here&#8217;s the result. Notice [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.doctort.org/adam/wp-content/uploads/2006/07/MSync102.asm"><img src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Code.gif" id="image55" alt="Click to see the whole source" align="left" /></a> I have now finished the code. Tested it and after a few bug fixes, everything works just great. The final software is 930 lines of assembler. You can <a href="http://www.doctort.org/adam/wp-content/uploads/2006/07/MSync102.asm">download it here</a> if you want to.</p>
<p><a href="http://www.doctort.org/adam/wp-content/uploads/2006/07/MIDISyncSchematic.gif"><img src="http://www.doctort.org/adam/wp-content/uploads/2006/07/MIDISyncSchematic.jpeg" id="image57" alt="MIDI Sync Box version 1 Schematic" align="right" /></a> I also learnt how to use ProTel so I could draw up the final circuit properly. <a href="http://www.doctort.org/adam/wp-content/uploads/2006/07/MIDISyncSchematic.gif">Here&#8217;s the result</a>. Notice that I&#8217;ve got it down to just one chip now, the little PIC is doing everything. It can directly drive the LED and the MIDI output. I&#8217;ve used multiplexing to enable it to drive the 7 segment display and read all the inputs. The PIC&#8217;s built in timer keeps everything running accurately, all in all, I&#8217;m very pleased with the result.</p>
<p>I threw it into a box and its done! You can see in this photo that I also added a second MIDI output.</p>
<p align="center"><img src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Finished_Box.jpg" id="image58" alt="The finished box" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/midisync/version-1-is-finished.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making Progress</title>
		<link>http://www.doctort.org/adam/midisync/making-progress.html</link>
		<comments>http://www.doctort.org/adam/midisync/making-progress.html#comments</comments>
		<pubDate>Sat, 12 Jan 2002 06:05:05 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[MIDI Sync Box]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/midisync/making-progress.html</guid>
		<description><![CDATA[Sorry there have been no updates in months. Things have been busy lately, that&#8217;s the problem with having a life. I&#8217;m only a part-time geek after all. Since I last did any work on this project, I have upgraded my PC to a Duron 900 and have installed Windows 2000. I am most impressed with [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry there have been no updates in months. Things have been busy lately, that&#8217;s the problem with having a life. I&#8217;m only a part-time geek after all.</p>
<p>Since I last did any work on this project, I have upgraded my PC to a Duron 900 and have installed Windows 2000. I am most impressed with the stability of Win2K, I rarely have more than two crashes per week as opposed to about three times a day under Win98.</p>
<p>However, Windows 2000 will not run the NOPPP software which I have been using to download code into the PIC. I suspect the way ports are accessed in Win2K is not backward compatible with Win95.</p>
<p>To cut a long story short, I have found the <a href="http://perso.curie.fr/Claus.Fuetterer/pic.html">Linux version of NOPPP</a> works just fine so I&#8217;m using that instead. <a href="http://gputils.sourceforge.net/">gpasm</a> is a free compiler for the PIC which runs on Linux so I&#8217;m all set to continue development without using Windows.</p>
<p>I&#8217;ve redesigned the thing again and got rid of the buffer chip. I&#8217;m driving the MIDI output directly from the PIC and it works fine. I&#8217;ve used a 7 bit bus arrangement to allow all the inputs to share the same I/O pins as the LED display.</p>
<p>One little hitch was the discovery that the big red illuminated push button needs 12 volts to light up. But I&#8217;m running everything off 5 volts. So I&#8217;ve made a little adapter out of a small piece of veroboard so I can substitute a LED. I tellya these modern LEDs are so bright! I nearly blinded myself messing about with it.</p>
<p align="center"><img src="http://www.doctort.org/adam/wp-content/uploads/2006/07/bulb2led.jpeg" id="image53" alt="bulb2led.jpeg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/midisync/making-progress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Working Box</title>
		<link>http://www.doctort.org/adam/midisync/first-working-box.html</link>
		<comments>http://www.doctort.org/adam/midisync/first-working-box.html#comments</comments>
		<pubDate>Sat, 13 Oct 2001 06:04:05 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[MIDI Sync Box]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/midisync/first-working-box.html</guid>
		<description><![CDATA[Well, It&#8217;s great to have something work. I finally got it to send out MIDI clock messages and my sequencer accepted them. Yay! One thing I had a lot of trouble with was understanding the MIDI signals. I couldn&#8217;t seem to find much documentation on them. I had to do a lot of trial-and-error and [...]]]></description>
			<content:encoded><![CDATA[<p>Well, It&#8217;s great to have something work. I finally got it to send out MIDI clock messages and my sequencer accepted them. Yay!</p>
<p>One thing I had a lot of trouble with was understanding the MIDI signals. I couldn&#8217;t seem to find much documentation on them. I had to do a lot of trial-and-error and also use my CRO to analyse the signals coming out of some MIDI equipment. Here&#8217;s what I found:</p>
<p>MIDI works by current, not voltage. The receiving end has a 1k input impedance and the sender is expected to put a 5V voltage differential across this which produces a current of 5mA. Current flow is indicative of a logic 0. No current flow is a logic 1. There is no current flow when the line is idle.</p>
<p>A fairly standard way to implement a MIDI output is to tie pin 4 of the DIN plug to 5V and pin 5 to your digital output. This forms a hardware inverter so you can use normal logic levels in your circuit.</p>
<p>The data rate is 31250 bps +/- 1%</p>
<p>Another confusing thing is that nowhere is it described how the serial data is sent. The literature will tell you that there is 1 start bit, 8 data bits and one stop bit. Great, just like RS-232 I thought. Well no, it&#8217;s not anything like RS-232. The start bit in MIDI is a 0, the stop bit is a 1 and the data bits are sent in reverse order. All perfectly fine but I had to discover this myself.</p>
<p>The firmware is now over 1000 lines and is almost finished. I&#8217;ve just got to figure out how to store the BPM setting in the internal EEPROM and it&#8217;s done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/midisync/first-working-box.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing the Code</title>
		<link>http://www.doctort.org/adam/midisync/writing-the-code.html</link>
		<comments>http://www.doctort.org/adam/midisync/writing-the-code.html#comments</comments>
		<pubDate>Sun, 30 Sep 2001 06:02:35 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Homemade Creations]]></category>
		<category><![CDATA[MIDI Sync Box]]></category>

		<guid isPermaLink="false">http://www.doctort.org/adam/midisync/writing-the-code.html</guid>
		<description><![CDATA[I&#8217;m steadily building the firmware for this thing. Something that sounds simple is turning out to be a little more complex than I thought, still, that&#8217;s pretty normal in the software world. My program is around 600 lines and I&#8217;ve still got a lot of stuff left to do. Another problem I&#8217;ve come across is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m steadily building the firmware for this thing. Something that sounds simple is turning out to be a little more complex than I thought, still, that&#8217;s pretty normal in the software world. My program is around 600 lines and I&#8217;ve still got a lot of stuff left to do.</p>
<p>Another problem I&#8217;ve come across is the Potentiometer voltage ramp arrangement has turned out to be not very accurate, the reading varies wildly depending on voltage, temperature, current and just about any other variable you can think of. After wasting a lot of time with it, I&#8217;ve decided it&#8217;s just not a suitable method for setting the speed.</p>
<p><img src="http://www.doctort.org/adam/wp-content/uploads/2006/07/Encoder.jpeg" id="image50" alt="Rotary Encoder" align="right" />So instead, I&#8217;ve got myself a rotary encoder. This looks like a potentiometer but it&#8217;s actually a binary counter which increments as you turn it. It has detents so it won&#8217;t drift once you turn it to a specific position and is generally much more suitable for this role.</p>
<p>Of course, I now have to modify the software to read it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doctort.org/adam/midisync/writing-the-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

