<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Catmacey's stuff</title>
	<atom:link href="http://catmacey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://catmacey.wordpress.com</link>
	<description>Computer games, Electronics, things...</description>
	<lastBuildDate>Fri, 07 Aug 2009 10:17:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='catmacey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/643254d60d504f5e352922c49698a475?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Catmacey's stuff</title>
		<link>http://catmacey.wordpress.com</link>
	</image>
			<item>
		<title>Eagle CAD files for lighthouse circuit</title>
		<link>http://catmacey.wordpress.com/2009/08/07/eagle-cad-files-for-lighthouse-circuit/</link>
		<comments>http://catmacey.wordpress.com/2009/08/07/eagle-cad-files-for-lighthouse-circuit/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 10:15:06 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[eagle cad]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=344</guid>
		<description><![CDATA[
For any one that is interested I have tidied up the Eagle CAD files for my lighthouse circuit.  You can grab them here. They&#8217;re not perfect and are probably not suitable for sending to a PCB production company but they might give you a head start of making your own version.
They&#8217;re saved from Eagle CAD [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=344&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><img class="aligncenter" title="DSCF1336-1" src="../files/2009/08/dscf1336-1.jpg" alt="DSCF1336-1" width="490" height="362" /></p>
<p>For any one that is interested I have tidied up the Eagle CAD files for my <a href="http://catmacey.wordpress.com/2008/06/09/mini-lighthouse-led-circuit/">lighthouse circuit</a>.  You can <a href="http://catmacey.com/electronics/lighthouse/lighthouse.zip">grab them here.</a> They&#8217;re not perfect and are probably not suitable for sending to a PCB production company but they might give you a head start of making your own version.</p>
<p>They&#8217;re saved from <a href="http://www.cadsoft.de/freeware.htm" target="_blank">Eagle CAD version 5.6.0</a> so you&#8217;ll need to go to thier site to get that if you don&#8217;t have the latest version.</p>
Posted in Electronics Tagged: eagle cad <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=344&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2009/08/07/eagle-cad-files-for-lighthouse-circuit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="../files/2009/08/dscf1336-1.jpg" medium="image">
			<media:title type="html">DSCF1336-1</media:title>
		</media:content>
	</item>
		<item>
		<title>Reviving a dead NiCad battery</title>
		<link>http://catmacey.wordpress.com/2009/03/28/reviving-a-dead-nicad-battery/</link>
		<comments>http://catmacey.wordpress.com/2009/03/28/reviving-a-dead-nicad-battery/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 19:23:59 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[black and decker]]></category>
		<category><![CDATA[charger]]></category>
		<category><![CDATA[disposable camera]]></category>
		<category><![CDATA[drill]]></category>
		<category><![CDATA[NiCad]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=300</guid>
		<description><![CDATA[UPDATED! : I&#8217;ve added a photo to the battery terminals, see below.
Recently my trusty Black &#38; Decker Quatro drill/driver/saw/sander started misbehaving.  It&#8217;s been great for years and gotten us through a lot of DIY and IKEA modification.  But now it could barely manage to cut a 15cm length of 1cm chipboard.
Time for a bit of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=300&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#ff0000;">UPDATED! : I&#8217;ve added a photo to the battery terminals, see below.</span></p>
<p style="text-align:center;">Recently my trusty Black &amp; Decker Quatro drill/driver/saw/sander started misbehaving.  It&#8217;s been great for years and gotten us through a lot of DIY and IKEA modification.  But now it could barely manage to cut a 15cm length of 1cm chipboard.<a href="http://catmacey.wordpress.com/2009/03/28/reviving-a-dead-nicad-battery/"><img class="aligncenter size-full wp-image-326" title="pict0027" src="http://catmacey.files.wordpress.com/2009/03/pict0027.jpg?w=490&#038;h=345" alt="pict0027" width="490" height="345" /></a></p>
<p>Time for a bit of investigation.</p>
<p><span id="more-300"></span></p>
<p>I wondered if this was due to the charger not actually charging, it seemed ok, the LEDs lit up but on closer inspection there was a suspiciously low voltage at the charging pins and a distinct smell of &#8220;<a title="Magic smoke, or Factor smoke" href="http://en.wikipedia.org/wiki/Magic_smoke" target="_blank">magic-smoke</a>&#8220;.  So after a quick trip to the Ferreteria to buy some star drivers (why do they use these annoying types of screws) I could see that there was a very hot and rather charred looking transistor.  Looks like the charger was dead.  I thought about replacing the transistor, but unfortunately the part wasn&#8217;t marked and after a lot of Googling I couldn&#8217;t find any schematics.  It&#8217;s quite an old model and not available any more and plus there&#8217;s no knowing what else might have died, so I bit the bullet and bought a new fast charger.</p>
<p>Turns out that the battery pack had died too, it probably died first and took the charger with it in some sort of suicide pact.  A quick search of some online DIY forums shows that this is a common &#8220;feature&#8221;&#8230;  The new charger has a diagnostic &#8220;blinky light&#8221; that alerts you to a dead pack.</p>
<div id="attachment_303" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-303" title="pict0019" src="http://catmacey.files.wordpress.com/2009/03/pict0019.jpg?w=490&#038;h=368" alt="pict0019" width="490" height="368" /><p class="wp-caption-text">14.4v Black &amp; Decker Firestorm NiCad pack.</p></div>
<p>The pack is a 14.4v NiCad (12 cells of 1.2v) which should have a terminal voltage of around 14.4v (not surprisingly).  Mine had dropped to just a little over 6v.  Bad. at nearly 60 Euros for a new pack&#8230; Very bad. Especially as I had just shelled out on a new charger.</p>
<p>I remembered from my childhood RC car days that NiCads have this problem called crystal dendrite growth.  What happens is that inside the battery crystals form, the crystal conduct electricity so when enough of them have formed they basically short out the battery.  What we used to do in those days was whack the battery across a car battery for a second or two and that&#8217;d sort it out.  It burns away the crystals and brings the battery back to life.  Also gets quite hot too! I remember that it works quite well,  not quite as good as a brand new battery but better than you might think.</p>
<p>That&#8217;s easy when the battery pack is 7.2 volts and you have a 12v car battery with effectively infinite current to zap with.  Not so easy when you&#8217;re living in an apartment with no car and the pack voltage is 14.4volts.</p>
<p>I tried with an 18v 2A spare laptop PSU but it made no difference so it was time for something a bit more adventurous.</p>
<p>Some people have had a lot of luck using disposable camera flash electronics to zap their NiCads.  <a href="http://www.instructables.com/id/Bring_Dead_Ni_Cad_Batteries_Back_To_Life">Here&#8217;s an instructable</a>. Others have used welders&#8230;</p>
<p>Just so happens I had a disposable camera that I had saved for a project just like this.  It&#8217;s a Kodak, not sure what model it is as they don&#8217;t print much on the outside. They&#8217;re easy to open, especially as I&#8217;m not bothered with re-using it, at least not as a camera.</p>
<div id="attachment_304" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-304" title="pict0022" src="http://catmacey.files.wordpress.com/2009/03/pict0022.jpg?w=490&#038;h=368" alt="Kodak disposable camera." width="490" height="368" /><p class="wp-caption-text">Kodak disposable camera.</p></div>
<p>After ripping it apart the I had the circuit out and made a note of the polarity of the AAA battery (positive end is the spring on the circuit board).  After a quick test to make sure it still worked, using a wooden chopstick to press the buttons, I de-soldered the flash bulb and soldered in a couple of extension wires across the main capacitor terminals.</p>
<p style="text-align:center;">
<div id="attachment_302" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-302" title="pict0030" src="http://catmacey.files.wordpress.com/2009/03/pict0030.jpg?w=490&#038;h=368" alt="Flash circuit extracted from camera." width="490" height="368" /><p class="wp-caption-text">Flash circuit extracted from camera. Flash bulb disconnected. Extension cables soldered across capacitor.</p></div>
<p>Now I was ready to go.</p>
<p><span style="color:#ff0000;"><strong>Note</strong>:  This could be quite dangerous.  The capacitor is charged up to around 300V (measured) and when triggered the circuit boosts the voltage again to around 1000V (not that I measured it).  So be careful if you intend to try this. Do not short this across your body, it will hurt and might be life threatening.</span></p>
<p>Charge up the circuit, listen for the whine, then when the light comes on I disconnect the battery and short the extension wires across the terminals of the B&amp;D NiCad pack, positive to positive, negative to negative.<br />
It makes a loud crack and a small spark!</p>
<div id="attachment_330" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-330" title="pict00191" src="http://catmacey.files.wordpress.com/2009/03/pict00191.jpg?w=490&#038;h=368" alt="pict00191" width="490" height="368" /><p class="wp-caption-text">Battery terminals.  Temp sensor connection is not used in my new charger.</p></div>
<p style="text-align:center;">
<p>The voltage at the main capacitor is around 300V.  There&#8217;s no need to actually trigger the flash as such, and I think that it&#8217;s probably best not to as that would mean the output voltage would be much higher as it dumps the capacitor voltage into a coil to raise the voltage to around 1000V.</p>
<p>After two tries my battery voltage had risen to nearly 7 volts. So I plonked the battery on the new charger for 10 minutes and the pack voltage had risen to 12 volts.</p>
<p>One more zap and another ten minutes on the charger and the pack voltage had risen to 15V  Hurray!  After an hour on the charger the pack was fully charged and back to normal.  The light even went green when the pack was fully charged!</p>
<p>I&#8217;ve been using the drill quite a bit since, putting up curtain rails, and have recharged that pack a couple of times. It definitely seems to be back to normal.  The capacity seems to be up to the same level as before the problem.</p>
<p>Not bad for free and certainly better than 60 Euros for a new pack!</p>
<p><strong>Additional photos</strong></p>
<div id="attachment_337" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-337" title="PICT0003" src="http://catmacey.files.wordpress.com/2009/03/pict0003.jpg?w=490&#038;h=421" alt="Battery pack opened up." width="490" height="421" /><p class="wp-caption-text">Battery pack opened up.</p></div>
<div id="attachment_341" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-341" title="PICT0030-1" src="http://catmacey.files.wordpress.com/2009/03/pict0030-1.jpg?w=490&#038;h=476" alt="Old charger (Now dead) with temperature monitoring" width="490" height="476" /><p class="wp-caption-text">Old charger (Now dead) with temperature monitoring</p></div>
<div id="attachment_340" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-340" title="PICT0018-2" src="http://catmacey.files.wordpress.com/2009/03/pict0018-2.jpg?w=490&#038;h=421" alt="New charger." width="490" height="421" /><p class="wp-caption-text">New charger.</p></div>
<div id="attachment_342" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-342" title="PICT0006-2" src="http://catmacey.files.wordpress.com/2009/03/pict0006-2.jpg?w=490&#038;h=368" alt="Bottom of drill." width="490" height="368" /><p class="wp-caption-text">Bottom of drill.</p></div>
Posted in Electronics Tagged: black and decker, charger, disposable camera, drill, NiCad <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=300&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2009/03/28/reviving-a-dead-nicad-battery/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0027.jpg" medium="image">
			<media:title type="html">pict0027</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0019.jpg" medium="image">
			<media:title type="html">pict0019</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0022.jpg" medium="image">
			<media:title type="html">pict0022</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0030.jpg" medium="image">
			<media:title type="html">pict0030</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict00191.jpg" medium="image">
			<media:title type="html">pict00191</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0003.jpg" medium="image">
			<media:title type="html">PICT0003</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0030-1.jpg" medium="image">
			<media:title type="html">PICT0030-1</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0018-2.jpg" medium="image">
			<media:title type="html">PICT0018-2</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0006-2.jpg" medium="image">
			<media:title type="html">PICT0006-2</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s been a while. New bits and bobs.</title>
		<link>http://catmacey.wordpress.com/2009/03/22/its-been-a-while-new-bits-and-bobs/</link>
		<comments>http://catmacey.wordpress.com/2009/03/22/its-been-a-while-new-bits-and-bobs/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 16:37:10 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[oscilloscope]]></category>
		<category><![CDATA[shopping]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=310</guid>
		<description><![CDATA[Life does get rather busy sometimes.  For us it was having a baby and moving house in the same week.  Subsequently I&#8217;ve been rather preoccupied.
But that was nearly 6 months ago and things are getting a little more sorted out now, plus it was my birthday recently so I thought it was about time to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=310&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div id="attachment_324" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-324" src="http://catmacey.files.wordpress.com/2009/03/gizmos.jpg?w=490&#038;h=326" alt="Various gizmos" width="490" height="326" /><p class="wp-caption-text">Various gizmos</p></div>
<p>Life does get rather busy sometimes.  For us it was having a baby and moving house in the same week.  Subsequently I&#8217;ve been rather preoccupied.</p>
<p>But that was nearly 6 months ago and things are getting a little more sorted out now, plus it was my birthday recently so I thought it was about time to get back in to electronics and also to add some new posts to this blog.</p>
<p><span id="more-310"></span>So to start with I ordered some gizmos from Deal Extreme, most notable was a bunch of tweazers to make working with SMD components easier.  There&#8217;s nothing like getting new shiny tools!  And for the price these are excellent value. The Bamboo ones are really nice.</p>
<div id="attachment_313" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-313" title="pict0039" src="http://catmacey.files.wordpress.com/2009/03/pict0039.jpg?w=490&#038;h=368" alt="Assorted tweezers from Deal Extreme" width="490" height="368" /><p class="wp-caption-text">Assorted tweezers from Deal Extreme</p></div>
<p>I also bought a bunch of stuff from a shop I&#8217;ve not used before called <a href="http://www.seeedstudio.com/depot/">Seeedstudio</a> they had some really nice SMD switches as well as lots of other nice things.  Their prices are great and the delivery cost was very reasonable.  Speedy too, I&#8217;ll definitely be using them again.</p>
<p>Here&#8217;s some of the things I bought.</p>
<div id="attachment_317" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-317" title="pict0005" src="http://catmacey.files.wordpress.com/2009/03/pict0005.jpg?w=490&#038;h=368" alt="Tiny surface mount momentary action buttons." width="490" height="368" /><p class="wp-caption-text">Tiny surface mount momentary action buttons.</p></div>
<p>These were just 15 US cents each. <a href="http://www.seeedstudio.com/depot/2-pin-mini-steel-shell-button-p-134.html" target="_blank">Product info here.</a></p>
<div id="attachment_314" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-314" title="pict0007" src="http://catmacey.files.wordpress.com/2009/03/pict0007.jpg?w=490&#038;h=368" alt="Surface mount SPDT switch." width="490" height="368" /><p class="wp-caption-text">Surface mount SPDT switch.</p></div>
<p>These were just 20 US cents a pop. <a href="http://www.seeedstudio.com/depot/spdt-switch-black-lite-p-133.html">More info here.</a></p>
<p>I&#8217;m a sucker for tiny switches, I seem to stockpile them.  I bought some lovely tiny smd momentary action switches with built in LED&#8217;s last year and I can&#8217;t actually bring myself to use them up as they&#8217;re so nice.  That&#8217;s sad right&#8230;</p>
<p>I also got these&#8230;</p>
<div id="attachment_316" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-316" title="pict0016" src="http://catmacey.files.wordpress.com/2009/03/pict0016.jpg?w=490&#038;h=368" alt="6V 60 RPM geared motors for the Robot that will happen one day." width="490" height="368" /><p class="wp-caption-text">6V 60 RPM geared motors for the Robot that will happen one day.</p></div>
<div id="attachment_315" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-315" title="pict0013" src="http://catmacey.files.wordpress.com/2009/03/pict0013.jpg?w=490&#038;h=368" alt="PSP style variable resistor joystick with push switch." width="490" height="368" /><p class="wp-caption-text">PSP style variable resistor joystick with push switch.</p></div>
<p>But best of all, to get myself back into electronics, but without having to break out all my kit which is still packed away in the spare room, I bought this great Oscilloscope kit.</p>
<div id="attachment_319" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-319" title="pict0052" src="http://catmacey.files.wordpress.com/2009/03/pict0052.jpg?w=490&#038;h=338" alt="Digital Storage Oscilloscope Kit" width="490" height="338" /><p class="wp-caption-text">Digital Storage Oscilloscope Kit</p></div>
<p>I&#8217;ve started on it already, but I&#8217;ll write up a full post later on when I&#8217;m done.</p>
<p>So, there you go.  After a long blog drought I&#8217;m back at it.  Hope you enjoyed reading.</p>
Posted in Electronics Tagged: components, oscilloscope, shopping <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=310&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2009/03/22/its-been-a-while-new-bits-and-bobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/gizmos.jpg" medium="image">
			<media:title type="html">Various gizmos</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0039.jpg" medium="image">
			<media:title type="html">pict0039</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0005.jpg" medium="image">
			<media:title type="html">pict0005</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0007.jpg" medium="image">
			<media:title type="html">pict0007</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0016.jpg" medium="image">
			<media:title type="html">pict0016</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0013.jpg" medium="image">
			<media:title type="html">pict0013</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2009/03/pict0052.jpg" medium="image">
			<media:title type="html">pict0052</media:title>
		</media:content>
	</item>
		<item>
		<title>A little bit of help with the lighthouse circuit.</title>
		<link>http://catmacey.wordpress.com/2008/10/22/a-little-bit-of-help-with-the-lighthouse-circuit/</link>
		<comments>http://catmacey.wordpress.com/2008/10/22/a-little-bit-of-help-with-the-lighthouse-circuit/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 10:12:25 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[lighthouse]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=295</guid>
		<description><![CDATA[I had an email from a friend who has built my lighthouse circuit but whose LEDs were lighting up in the wrong order.  This is exactly what happened to me when I built it the first time too.  But no worries!
The great thing about charlieplexing and this circuit is that it doesn&#8217;t matter which order [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=295&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had an email from a friend who has built <a href="http://catmacey.wordpress.com/2008/08/15/lighthouse-schematics-and-files/">my lighthouse circuit</a> but whose LEDs were lighting up in the wrong order.  This is exactly what happened to me when I built it the first time too.  But no worries!</p>
<p>The great thing about charlieplexing and this circuit is that it doesn&#8217;t matter which order you place the leds on your board as you can change the code to match the correct sequence for your final layout.  This means that you can layout your circuit for ease of wiring rather than having to keep the LEDs in any particular order.  As long as the circuit is correct and that you have an LED everywhere you should have one the ordering can be sorted out later.</p>
<p><span id="more-295"></span></p>
<p>Of course if you are just using <a href="http://catmacey.com/electronics/lighthouse/lighthouse.hex">my compiled HEX</a> file and don&#8217;t want to touch the code then you need to be a bit more careful and place the LEDs correctly as the ordering code is fixed into the HEX and can&#8217;t be changed without a re-compile.</p>
<p>If you want to change the <a href="http://catmacey.com/electronics/lighthouse/lighthouse.c" target="_blank">code</a> the bit you need to edit is from line 41.</p>
<p><code>// pattern for all 12 LEDs in sequential order.<br />
const char charlieBits[] = {<br />
0b10000010<br />
,    0b10<strong>1</strong>00<strong>000</strong><br />
,    0b10<strong>0</strong>00<strong>010</strong><br />
,    0b10<strong>0</strong>00<strong>100</strong><br />
,    0b10<strong>0</strong>00<strong>100</strong><br />
,    0b10<strong>1</strong>00<strong>000</strong><br />
,    0b10<strong>0</strong>00<strong>100</strong><br />
,    0b10<strong>0</strong>00<strong>001</strong><br />
,    0b10<strong>0</strong>00<strong>001</strong><br />
,    0b10<strong>1</strong>00<strong>000</strong><br />
,    0b10<strong>0</strong>00<strong>001</strong><br />
,    0b10<strong>0</strong>00<strong>010</strong><br />
};</code></p>
<p><code>const char trisBits[] = {<br />
0b10011101<br />
,    0b10<strong>0</strong>11<strong>101</strong><br />
,    0b10<strong>1</strong>11<strong>001</strong><br />
,    0b10<strong>1</strong>11<strong>001</strong><br />
,    0b10<strong>0</strong>11<strong>011</strong><br />
,    0b10<strong>0</strong>11<strong>011</strong><br />
,    0b10<strong>1</strong>11<strong>010</strong><br />
,    0b10<strong>1</strong>11<strong>010</strong><br />
,    0b10<strong>0</strong>11<strong>110</strong><br />
,    0b10<strong>0</strong>11<strong>110</strong><br />
,    0b10<strong>1</strong>11<strong>100</strong><br />
,    0b10<strong>1</strong>11<strong>100</strong><br />
};</code></p>
<p>These two arrays store the two status bytes of the PIC output pins (GPIO) for each LED in the sequence.  The first row or the array is for LED 1 the 2 is for LED 2 and so on.  We are using GPIO&#8217;s 0,1,2 and 5 for the LED connections so these are the only bits that are relevant in these two arrays, the other bits refer to the button input on GPIO4 and GPIO3 which is defined as the MCLR (reset), bits 6 and 7 are irrelevant.  So for each row only bits 0,1,2 and 5 should change. Eg. <code>0b--X--XXX</code>.</p>
<p>There are two arrays, the first (charlieBits) is for the GPIO output hi/lo status, the second (trisBits) is for the GPIO TRIS status which sets if the pin is an input or an output.  By combining these two array we have three states for each GPIO pin. When TRIS is 0 the pin is an output and so is either hi or lo depending on the charlieBit status.  When TRIS bit is 1 then pin is set as an input and so the charlieBit doesn’t matter.  When the pin is an input it is effectively non existent as far as our LED&#8217;s are concerned.  In actual fact it&#8217;s still connected but with a high impedance that doesn&#8217;t affect our circuit.</p>
<p>So to match the arrays up to how you have connected you LEDs it&#8217;s a bit of trial and error.  When I did  it I started by resetting the circuit and noting which LED lit up first.  There is a test pattern that cycles through each LED individually before starting the main routine which gives you a nice change to note the order.  You can alter the delay used here to make it slower or faster by changing the value on lines 160 and 161.<br />
<code>delay_ms(200);<br />
delay_s(1);</code><br />
The first delay is in milliseconds the second is whole seconds so we have a total delay of 1.2 seconds here.  You could make that slower by making the <code>delay_s(1)</code> into a <code>delay_s(2)</code> then recompiling and uploading to the PIC.</p>
<p>By repeatedly resetting the PIC you will be able to see in which order the LEDs light up in the test phase.  Once you have them noted you can go back into the code and re-order the rows in the two arrays.  Watch the LED that you want to be the first one, eg the one at the 12&#8242;oclock position. And note in which order it lights up &#8211; just count them off. Eg. if your 1st physical LED is lighting up 5th then you would need to move the 5th row of the array to the top of the array, remember to do that for both arrays to keep them in sync.  Re-compile, re-upload and check that the first physical LED is lighting up first.  Now do same for the 2nd physical LED (2o&#8217;clock).  You could try to do them all in one go but I found it easier to re-compile and upload after each change to check I was on the right track.</p>
<p>Sounds a bit tedious, but it&#8217;s not too bad really.<br />
Hope that helps to get things up and running smoothly.</p>
Posted in Electronics Tagged: C, Electronics, LED, lighthouse, PIC <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=295&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/10/22/a-little-bit-of-help-with-the-lighthouse-circuit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Google SketchUp to test room layouts</title>
		<link>http://catmacey.wordpress.com/2008/08/30/using-google-sketchup-to-test-room-layouts/</link>
		<comments>http://catmacey.wordpress.com/2008/08/30/using-google-sketchup-to-test-room-layouts/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 19:11:59 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IKEA]]></category>
		<category><![CDATA[sketchup]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=279</guid>
		<description><![CDATA[I&#8217;ve been using Google SketchUp recently and I&#8217;m really impressed with how easy it is to use. It also produces great render image for illustrating building projects.
We&#8217;re moving house soon, fingers crossed.  The license is finally here and the now builder is cracking on with the works. It&#8217;s a long, long story&#8230; But now finally [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=279&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been using Google SketchUp recently and I&#8217;m really impressed with how easy it is to use. It also produces great render image for illustrating building projects.</p>
<div id="attachment_284" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/wide-salon.png"><img class="size-large wp-image-284" src="http://catmacey.files.wordpress.com/2008/08/wide-salon.png?w=500&#038;h=314" alt="Our new living room" width="500" height="314" /></a><p class="wp-caption-text">Our new living room.</p></div>
<p>We&#8217;re moving house soon, fingers crossed.  The license is finally here and the now builder is cracking on with the works. It&#8217;s a long, long story&#8230; But now finally a year after we bought the place we can really start to wonder what it might be like to live there.</p>
<p><span id="more-279"></span></p>
<p>My wife Ruth and I differ in our approaches to planning the arrangement of our furniture.  I&#8217;m a measuring type of person, I hate having to guess or make assumptions until I&#8217;ve measured it.  Ruth is more of a visual, &#8220;It&#8217;ll fit, don&#8217;t worry&#8221; person.  This leads to some amusing disagreements that often end in me threatening to take out the tape measure and Ruth saying that I should show a bit more faith.</p>
<p>So to try and keep both of us happy I&#8217;ve been drawing up plans and Ruth has been penciling in the layouts.  We&#8217;ve got a great idea for some shelves that I needed to communicate to the builder so instead of spending hours with plans and elevations I thought I&#8217;d give SketchUp a go.</p>
<p>It&#8217;s fantastic. It&#8217;s a simple as that. It&#8217;s been years since I&#8217;ve done any architectural 3d stuff and I couldn&#8217;t believe just how fast and easy it was to get a quick plan in and flesh it out into three dimensions.  If only it had existed decades ago when I used to slug away at my powerMac with Archicad version 1. How many months of my life would I have back&#8230;</p>
<p>One of the best features is a special rendering mode called &#8220;Xray&#8221; that is a combination of wireframe and hidden line that is perfect for showing the construction of furniture or anything else for that matter.  Perfect for showing the builder just how I want the shelves built.</p>
<div id="attachment_285" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/xray_example.png"><img class="size-large wp-image-285" src="http://catmacey.files.wordpress.com/2008/08/xray_example.png?w=500&#038;h=302" alt="Example of hidden line with XRay mode" width="500" height="302" /></a><p class="wp-caption-text">Hidden line with XRay mode view of the shelves I designed for the living room.</p></div>
<p>One thing I learnt very early on was that to build complex models and to make your life easier you need to use two main features.</p>
<p>The first is layers.  SketchUp can have as many layers as you want, different types of objects can be put on their own layers that can be turned off or on as needed. This really helps to reduce clutter when you&#8217;re drawing and can also be helpful when you&#8217;re setting up different shots for rendering. Eg I have a layer just for dimensions and another for furniture and one more for walls and floors.</p>
<p>The second really useful feature is components.  Components are groups of geometry that can be replicated throughout the scene.  The difference between normal groups and components is that all the duplicate components in a scene share the same geometry data, whereas groups do not.  This means that if you update the component, add more detail or change the colour then all the copies get updated too.  This is great for managing multiple copies of the same object that you might want to use in a scene, eg doors or windows, chairs etc.  Another great thing is that components can load their data from external files which means you can build all your complex objects in their own sketchUp files where they are easy to manage and edit then load them into an other file for creating your scene.  Components can also contain other components which can be handy too.</p>
<p>The cool thing about components being loaded from external files is that you can share them and lots of common objects are already available for download from the warehouse.  A quick search for IKEA returned 100&#8217;s of results.  You have to be careful though as some models are built better than others and some are built too well, containing every tiny detail, so you have to keep an eye on things. I&#8217;ve now built a bunch of object from around our house so I can see how they fit in our new apartment.  Some of them were reasonably complex objects, so building them on their own as a component makes it a lot easier to keep track of everything.</p>
<p>Any way enough talk. It&#8217;s free. Go and download it.</p>
<p>Here&#8217;s a few of my models.</p>
<div id="attachment_286" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/loom-and-stand.png"><img class="size-large wp-image-286" src="http://catmacey.files.wordpress.com/2008/08/loom-and-stand.png?w=500&#038;h=314" alt="8 Shaft Harris loom and stand" width="500" height="314" /></a><p class="wp-caption-text">Ruth&#39;s 8 Shaft Harris loom and stand I built for it.</p></div>
<div id="attachment_288" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/sofa.png"><img class="size-large wp-image-288" src="http://catmacey.files.wordpress.com/2008/08/sofa.png?w=500&#038;h=314" alt="Our planned sofa arrangement (IKEA Manstead sofa with tow Hol boxes and our coffee table/storage box)" width="500" height="314" /></a><p class="wp-caption-text">Our planned sofa arrangement.(IKEA Manstead sofa with two Hol boxes and our coffee table/storage box)</p></div>
<div id="attachment_289" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/norrebo-tv-stand.png"><img class="size-large wp-image-289" src="http://catmacey.files.wordpress.com/2008/08/norrebo-tv-stand.png?w=500&#038;h=314" alt="TV Stand made from two IKEA Norrebo units. The TV isn't shown but will sit on the ledge in front, the top Norrebo unit will be accessed as shelves from behind. The whole thing is on wheels so can swing out the way when we're not using it." width="500" height="314" /></a><p class="wp-caption-text">TV Stand made from two IKEA Norrebo units, top unit accessed from rear.TV not shown. On wheels.</p></div>
<div id="attachment_291" class="wp-caption aligncenter" style="width: 510px"><a href="http://catmacey.files.wordpress.com/2008/08/shelves_xray.png"><img class="size-large wp-image-291" src="http://catmacey.files.wordpress.com/2008/08/shelves_xray.png?w=500&#038;h=314" alt="The shelves for the linving room" width="500" height="314" /></a><p class="wp-caption-text">The shelves for the living room.</p></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/279/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/279/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=279&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/08/30/using-google-sketchup-to-test-room-layouts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/wide-salon.png?w=500" medium="image">
			<media:title type="html">Our new living room</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/xray_example.png?w=500" medium="image">
			<media:title type="html">Example of hidden line with XRay mode</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/loom-and-stand.png?w=500" medium="image">
			<media:title type="html">8 Shaft Harris loom and stand</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/sofa.png?w=500" medium="image">
			<media:title type="html">Our planned sofa arrangement (IKEA Manstead sofa with tow Hol boxes and our coffee table/storage box)</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/norrebo-tv-stand.png?w=500" medium="image">
			<media:title type="html">TV Stand made from two IKEA Norrebo units. The TV isn't shown but will sit on the ledge in front, the top Norrebo unit will be accessed as shelves from behind. The whole thing is on wheels so can swing out the way when we're not using it.</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/shelves_xray.png?w=500" medium="image">
			<media:title type="html">The shelves for the linving room</media:title>
		</media:content>
	</item>
		<item>
		<title>Lighthouse schematics and files</title>
		<link>http://catmacey.wordpress.com/2008/08/15/lighthouse-schematics-and-files/</link>
		<comments>http://catmacey.wordpress.com/2008/08/15/lighthouse-schematics-and-files/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 11:37:51 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[eagle]]></category>
		<category><![CDATA[lighthouse]]></category>
		<category><![CDATA[microchip]]></category>
		<category><![CDATA[PIC]]></category>
		<category><![CDATA[pic12f683]]></category>
		<category><![CDATA[schematic]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=271</guid>
		<description><![CDATA[For anyone who is interested (Hi Richard) here are my project files for the lighthouse project.
The project is written for the PIC12f683 using SourceBoost Technologies BoostC that I use as a tool suite in  Microchip&#8217;s MPLAB.  BoostC is fairly ANSI so if you&#8217;re using another C then it wouldn&#8217;t be hard to convert.  There&#8217;s a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=271&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For anyone who is interested (Hi Richard) here are my project files for the lighthouse project.</p>
<p>The project is written for the <a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010115" target="_blank">PIC12f683</a> using <a href="http://www.sourceboost.com/home.html" target="_blank">SourceBoost Technologies</a> BoostC that I use as a tool suite in  <a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en019469&amp;part=SW007002" target="_blank">Microchip&#8217;s MPLAB</a>.  BoostC is fairly ANSI so if you&#8217;re using another C then it wouldn&#8217;t be hard to convert.  There&#8217;s a free version of BoostC too and I think my program will fit within it&#8217;s limits.</p>
<p><a title="C source file" href="http://catmacey.com/electronics/lighthouse/lighthouse.c" target="_blank">C source code here (7kb).</a> : <a title="Compiled HEX" href="http://catmacey.com/electronics/lighthouse/lighthouse.hex">Compiled hex binary here (2kb).</a></p>
<p>The schematic and circuit are drawn up using the free version of <a href="http://www.cadsoft.de/freeware.htm" target="_blank">Cadsoft Eagle</a>. They were created using version 4, but the latest version of Eagle is v5 which I&#8217;ve not used yet, however the circuit is fairly simple so I doubt there would be any problems.</p>
<div class="mceTemp mceIEcenter">
<div id="attachment_275" class="wp-caption aligncenter" style="width: 310px"><a title="Circuit layout." href="http://catmacey.files.wordpress.com/2008/08/circuit_top_bottom1.gif" target="_self"><img class="size-medium wp-image-275" src="http://catmacey.files.wordpress.com/2008/08/circuit_top_bottom1.gif?w=300&#038;h=138" alt="Hig resolution combined print for top and bottom of circuit." width="300" height="138" /></a><p class="wp-caption-text">High resolution combined print for top and bottom of circuit for toner transfer. (4800x2222px, 163Kb)</p></div>
</div>
<div id="attachment_273" class="wp-caption aligncenter" style="width: 310px"><a href="http://catmacey.files.wordpress.com/2008/08/schematic.gif" target="_blank"><img class="size-medium wp-image-273" src="http://catmacey.files.wordpress.com/2008/08/schematic.gif?w=300&#038;h=175" alt="Schematic layout of circuit. Note that in the real thing I added a couple of DIP switches in the GP0 &amp; GP1 lines just before the resistors R4 &amp; R5 to isolate the ICSP lines when programming." width="300" height="175" /></a><p class="wp-caption-text">Schematic layout of circuit. Note that in the real thing I added a couple of DIP switches in the GP0 &amp; GP1 lines just before the resistors R4 &amp; R5 to isolate the ICSP data and clock lines when programming. (25kb)</p></div>
<p>I&#8217;ve not included the Eagle files themselves as they make use of some random parts that I&#8217;ve made in my own library.  But the circuit is not so complex that you couldn&#8217;t copy it.  If you really want them then let me know.</p>
<p>If you have any problems drop me a line.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/271/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/271/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=271&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/08/15/lighthouse-schematics-and-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/circuit_top_bottom1.gif?w=300" medium="image">
			<media:title type="html">Hig resolution combined print for top and bottom of circuit.</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/08/schematic.gif?w=300" medium="image">
			<media:title type="html">Schematic layout of circuit. Note that in the real thing I added a couple of DIP switches in the GP0 &#38; GP1 lines just before the resistors R4 &#38; R5 to isolate the ICSP lines when programming.</media:title>
		</media:content>
	</item>
		<item>
		<title>Added an easy recipe for Paella mixta</title>
		<link>http://catmacey.wordpress.com/2008/08/03/added-an-easy-recipe-for-paella-mixta/</link>
		<comments>http://catmacey.wordpress.com/2008/08/03/added-an-easy-recipe-for-paella-mixta/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 17:36:30 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[cooking]]></category>
		<category><![CDATA[chicken]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[paella]]></category>
		<category><![CDATA[rice]]></category>
		<category><![CDATA[seafood]]></category>
		<category><![CDATA[spain]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=269</guid>
		<description><![CDATA[
I&#8217;ve really taken to paella since moving to Spain.  Previously i&#8217;d never go near that much wierdly coloured wobbley seafood stuff.  But after a few years and some really tasty meals I&#8217;ve been converted.  Anyway here&#8217;s my version of Paella mixta, that&#8217;s paella with seafood and chicken.  It&#8217;s based on books, my taste and our [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=269&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://catmacey.wordpress.com/projects/easy-paella-mitxa-recipe"><img class="aligncenter size-full wp-image-258" src="http://catmacey.files.wordpress.com/2008/07/dscf1640.jpg?w=400&#038;h=320" alt="" width="400" height="320" /></a></p>
<p>I&#8217;ve really taken to paella since moving to Spain.  Previously i&#8217;d never go near that much wierdly coloured wobbley seafood stuff.  But after a few years and some really tasty meals I&#8217;ve been converted.  Anyway here&#8217;s my version of Paella mixta, that&#8217;s paella with seafood and chicken.  It&#8217;s based on books, my taste and our friend&#8217;s mum&#8217;s secret recipe. <a href="http://catmacey.wordpress.com/projects/easy-paella-mitxa-recipe/">Check it out here.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/269/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/269/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=269&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/08/03/added-an-easy-recipe-for-paella-mixta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/07/dscf1640.jpg" medium="image" />
	</item>
		<item>
		<title>Finally got it working!</title>
		<link>http://catmacey.wordpress.com/2008/06/15/finally-got-it-working/</link>
		<comments>http://catmacey.wordpress.com/2008/06/15/finally-got-it-working/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 10:48:06 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[lighthouse]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=240</guid>
		<description><![CDATA[
Working prototype. The DIP switches are used to isolate the ICSP clk and
dat pins when programming.  Only two LED are actually lit at any one time but
due to the exposure time of this shot it looks like loads of them are power up.
After about a day of messing about I finally managed to program [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=240&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:center;"><a href="http://catmacey.files.wordpress.com/2008/06/pict0001.jpg"><img class="size-full wp-image-241" src="http://catmacey.files.wordpress.com/2008/06/pict0001.jpg?w=400&#038;h=286" alt="" width="400" height="286" /></a></p>
<p style="text-align:center;"><em><strong>Working prototype.</strong> The DIP switches are used to isolate the ICSP clk and<br />
dat pins when programming.  Only two LED are actually lit at any one time but<br />
due to the exposure time of this shot it looks like loads of them are power up.</em></p>
<p>After about a day of messing about I finally managed to program the damned thing using ICSP rather than pulling the PIC each time.</p>
<p>Schematics lie!  Especially when you draw them yourself.  Guess what.  Pin 5 of the PIC12f683 isn&#8217;t the ICSP clock line&#8230; Pin 6 is!  Ah!  Well there&#8217;s a lesson learned the hard way.   Next time I&#8217;ll be more diligent when drafting things out in Eagle.</p>
<p>Here&#8217;s a quick video of the thing in action.  It&#8217;s a bit fast for a lighthouse, more like a beacon.  I&#8217;ll slow it down and maybe add a potentiometer to allow speed changes later on.  I deliberately chose the input pin to be GPIO 4 as it&#8217;s one of the IO pins that is multiplexed with the analog to digital converter.</p>
<p style="text-align:center;"><span style="text-align:center; display: block;"><a href="http://catmacey.wordpress.com/2008/06/15/finally-got-it-working/"><img src="http://img.youtube.com/vi/XRMrKW5bys4/2.jpg" alt="" /></a></span><br />
<em> Apologies for the manky looking video, it&#8217;s hard to get<br />
the camera to work well in low light conditions.</em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/240/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/240/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=240&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/06/15/finally-got-it-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/06/pict0001.jpg" medium="image" />

		<media:content url="http://img.youtube.com/vi/XRMrKW5bys4/2.jpg" medium="image" />
	</item>
		<item>
		<title>Mini lighthouse LED circuit</title>
		<link>http://catmacey.wordpress.com/2008/06/09/mini-lighthouse-led-circuit/</link>
		<comments>http://catmacey.wordpress.com/2008/06/09/mini-lighthouse-led-circuit/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 22:08:44 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[12f683]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[lighthouse]]></category>
		<category><![CDATA[PIC]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=234</guid>
		<description><![CDATA[UPDATE Aug 7th 09 : You can get the Eagle CAD files here.
UPDATE Oct 2nd 08 : You can grab the source code and circuit diagram for this project from this blog post.
I&#8217;ve been working on a variant of the circuit I developed for my Lego beacon.  It&#8217;s the same basic circuit but this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=234&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATE Aug 7th 09</strong> : You can <a href="http://catmacey.wordpress.com/2009/08/07/eagle-cad-files-for-lighthouse-circuit/">get the Eagle CAD files here</a>.</p>
<p><strong>UPDATE Oct 2nd 08 </strong>: You can grab the <a href="http://catmacey.wordpress.com/2008/08/15/lighthouse-schematics-and-files/" target="_self">source code and circuit diagram for this project</a> from this blog post.</p>
<p>I&#8217;ve been working on a variant of the circuit I developed for my Lego beacon.  It&#8217;s the same basic circuit but this time with 12 rather than 8 LEDs and rebuilt into a circular 40mm dia (1.5 inch) double sided disc.</p>
<p><a href="http://catmacey.files.wordpress.com/2008/06/dscf1294.jpg"><img class="aligncenter size-full wp-image-233" src="http://catmacey.files.wordpress.com/2008/06/dscf1294.jpg?w=400&#038;h=251" alt="" width="400" height="251" /></a></p>
<p>The idea is to use this as a simple &#8220;lighthouse&#8221; that when powered up will rotate the beam around the 12 LEDs. I&#8217;m not sure why I&#8217;m building it, I have no real need of a lighthouse&#8230; Maybe it could be useful for a model railway or something similar. But I kind of like the idea of it and had some neat OSRAM SIDELEDs in my parts box that were calling out for some use.</p>
<p><span id="more-234"></span></p>
<p>This is the prototype circuit and as such has a couple of features that don&#8217;t really need to be there other than for the prototype.  The first feature being a full size ICSP connector, the second, a socketed DIP version of the PIC12f683. Actually I used a DIP rather than SOIC pic because I happened to have a bunch of them hanging around and space isn&#8217;t so much of an issue here as it was in the Lego thing.</p>
<p>The circuit works fine to a point, but I&#8217;ve spotted a couple of problems that I need to resolving.  The main problem is that I planned to program the device using ICSP but didn&#8217;t allow proper isolation of the DAT/CLK lines which means that my Pickit 2 doesn&#8217;t really like talking to it.  The 4R7 resistors on pins 5 &amp; 7 aren&#8217;t enough to propertly isolate them and the LEDs interfere with data transfer&#8230; Doh!  I wasn&#8217;t thinking clearly there&#8230; I&#8217;ll hack this prototype with a scalpel and some fine wire to insert a couple of DIP switches to get it working properly.</p>
<p>12 LEDs is the maximum number of you can charlieplex from 4 tri-state pins.  The PIC 12f683 is an 8 pin device that has 5 GPIO plus the MCLR pin which can be used as an input.  I&#8217;ve decided to keep one GPIO spare, GPIO 4 which also happens to be an analog port so I could maybe add a light sensor that turns the lighthouse on when it gets dark (It&#8217;s got a button on it at the moment)</p>
<p>I made it using my normal toner transfer technique and it turned out pretty well.  The smallest trace is 24mil although there is a tiny bit of 16mil in between the pads of the PIC.  Once I&#8217;ve debugged this one I might have a go at one about 30% smaller as there&#8217;s quite a bit of space especially if I used a SOIC pic and dropped the trace size down to 16 or 12 mil.  This version has an LM317 regulator on the back so can be driven from 12V or whatever but I am toying with the idea of making a smaller version that is driven from a <a href="http://en.wikipedia.org/wiki/List_of_battery_sizes">2032 coin cell</a> mounted on the back which wouldn&#8217;t need a regulator.</p>
<p>Anyway, here are a few more photos until next time&#8230;</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-235" src="http://catmacey.files.wordpress.com/2008/06/dscf1233.jpg?w=400&#038;h=320" alt="" width="400" height="320" /><br />
<em>Top side of the circuit after etching</em></p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-236" src="http://catmacey.files.wordpress.com/2008/06/dscf1239.jpg?w=400&#038;h=320" alt="" width="400" height="320" /><br />
<em>Bottom side of the circuit.  Alignment was pretty much spot on.<br />
Drilling later on was not quite so good&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</em></p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-237" src="http://catmacey.files.wordpress.com/2008/06/dscf1281.jpg?w=400&#038;h=320" alt="" width="400" height="320" /><br />
<em>Populated top side.</em></p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-238" src="http://catmacey.files.wordpress.com/2008/06/dscf1285.jpg?w=400&#038;h=320" alt="" width="400" height="320" /><br />
<em>Populated bottom side with LM317 (sot223 package)</em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/234/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/234/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=234&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/06/09/mini-lighthouse-led-circuit/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>

		<media:content url="http://catmacey.files.wordpress.com/2008/06/dscf1294.jpg" medium="image" />

		<media:content url="http://catmacey.files.wordpress.com/2008/06/dscf1233.jpg" medium="image" />

		<media:content url="http://catmacey.files.wordpress.com/2008/06/dscf1239.jpg" medium="image" />

		<media:content url="http://catmacey.files.wordpress.com/2008/06/dscf1281.jpg" medium="image" />

		<media:content url="http://catmacey.files.wordpress.com/2008/06/dscf1285.jpg" medium="image" />
	</item>
		<item>
		<title>Engine pod for VTOL</title>
		<link>http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/</link>
		<comments>http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/#comments</comments>
		<pubDate>Sun, 04 May 2008 17:04:41 +0000</pubDate>
		<dc:creator>catmacey</dc:creator>
				<category><![CDATA[LEGO]]></category>
		<category><![CDATA[VTOL]]></category>

		<guid isPermaLink="false">http://catmacey.wordpress.com/?p=232</guid>
		<description><![CDATA[I&#8217;ve been playing with this shape for a while.  It&#8217;s supposed to be one of a number of engine pods for some sort of larger VTOL craft.  They mount at each corner and swivel to allow the ship to maneuver.  I&#8217;ve not got enough Lego to build the whole thing so I&#8217;ll [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=232&subd=catmacey&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been playing with this shape for a while.  It&#8217;s supposed to be one of a number of engine pods for some sort of larger VTOL craft.  They mount at each corner and swivel to allow the ship to maneuver.  I&#8217;ve not got enough Lego to build the whole thing so I&#8217;ll have to be content with just building the engine pods for now&#8230;</p>

<a href='http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/dscf0991/' title='Engine pod, side view'><img width="128" height="91" src="http://catmacey.files.wordpress.com/2008/05/dscf0991.jpg?w=128&#038;h=91" class="attachment-thumbnail" alt="" title="Engine pod, side view" /></a>
<a href='http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/dscf0979/' title='Engine pod, front view'><img width="128" height="91" src="http://catmacey.files.wordpress.com/2008/05/dscf0979.jpg?w=128&#038;h=91" class="attachment-thumbnail" alt="" title="Engine pod, front view" /></a>
<a href='http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/dscf0984/' title='Engine pod, rear view'><img width="128" height="91" src="http://catmacey.files.wordpress.com/2008/05/dscf0984.jpg?w=128&#038;h=91" class="attachment-thumbnail" alt="" title="Engine pod, rear view" /></a>

<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/catmacey.wordpress.com/232/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/catmacey.wordpress.com/232/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/catmacey.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/catmacey.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/catmacey.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/catmacey.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/catmacey.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/catmacey.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/catmacey.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/catmacey.wordpress.com/232/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/catmacey.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/catmacey.wordpress.com/232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=catmacey.wordpress.com&blog=2795477&post=232&subd=catmacey&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://catmacey.wordpress.com/2008/05/04/engine-pod-for-vtol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c43ab8b5c4b72304a1c452a0f04d23be?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Catmacey</media:title>
		</media:content>
	</item>
	</channel>
</rss>