<?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>Athena's Pad &#187; Electronics</title>
	<atom:link href="http://athena.outer-reaches.com/wp/index.php/archives/category/electronics/feed" rel="self" type="application/rss+xml" />
	<link>http://athena.outer-reaches.com/wp</link>
	<description>Notes from the codex of wisdom and war according to AthenaOfDelphi</description>
	<lastBuildDate>Sun, 27 Jun 2010 15:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>My Electronics</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/164</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/164#comments</comments>
		<pubDate>Thu, 22 Mar 2007 02:08:04 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/index.php/archives/164</guid>
		<description><![CDATA[With my former employers departure to sunnier climes, one of my &#8216;leaving presents&#8217; was all the prototypes I developed for them since I joined the company.  Digital electronics is one of my interests, and has been for a long time, but this job was the first time I&#8217;d actually had to design something to [...]]]></description>
			<content:encoded><![CDATA[<p>With my former employers departure to sunnier climes, one of my &#8216;leaving presents&#8217; was all the prototypes I developed for them since I joined the company.  Digital electronics is one of my interests, and has been for a long time, but this job was the first time I&#8217;d actually had to design something to earn my crust.  I had great fun doing it and am really proud of what I achieved, so heres some snaps of my handywork.<span id="more-164"></span></p>
<p>I was originally tasked with developing the hardware and software for a cash handling machine.  This particular one was kind of like an ATM on steroids.  The first two sets of pics are from that machine.</p>
<p><b>Cassette Controller</b><br />
The cash in the machine was going to be contained in pre-loaded cassettes&#8230; this controller was the brain behind a cassette.</p>
<div align="center"><a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/casscontrol.jpg' title='Cassette Controller'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/casscontrol.thumbnail.jpg' alt='Cassette Controller' /></a>&nbsp;<a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/casscontrolmain.jpg' title='Cassette Controller Mainboard'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/casscontrolmain.thumbnail.jpg' alt='Cassette Controller Mainboard' /></a></div>
<p><b>General Purpose IO Board</b><br />
As well as our own hardware, we needed to talk to a variety of other bits and pieces, like coin and note validators.  This board was designed to handle that kind of job.  The solder pads on the lower half allow the configuration of the inputs (Pulled High/Low, Debounced/Straight Through) and the interrupts (the 4 interrupt lines of the PIC could be connected to anyone of 8 inputs either as is or inverted).  The board also had plenty of scope for memory (maximum of 3 x 32K FRAM on the SPI bus).</p>
<div align="center"><a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/gpio.jpg' title='General Purpose IO Board'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/gpio.thumbnail.jpg' alt='General Purpose IO Board' /></a></div>
<p><b>Dance Floor</b><br />
This is inspired by the First East <a href="http://web.mit.edu/storborg/ddf/" target="_BLANK">Disco Dance Floor</a>, and was intended as a commercial product.  The final control board design has an ethernet enabled PIC on it, so we could in theory have a dance floor that was 256&#215;256 cells (IP addressing and network bandwidth allowing).  This prototype had an RS-232 link to a PC and some real basic software, but the hardware worked a treat.  The LED matrix is 8&#215;8, each cell has a red, green and blue LED&#8230; thats a total of 200 wires connecting the matrix to the controllers (and I had to crimp each one <img src='http://athena.outer-reaches.com/wp/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' />  ).</p>
<div align="center"><a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloor.jpg' title='Dancefloor Cell'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloor.thumbnail.jpg' alt='Dancefloor Cell' /></a>&nbsp;<a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorcell.jpg' title='Dancefloor LED Matrix'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorcell.thumbnail.jpg' alt='Dancefloor LED Matrix' /></a></div>
<div align="center"><a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorratsnest.jpg' title='Dancefloor Ratsnest'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorratsnest.thumbnail.jpg' alt='Dancefloor Ratsnest' /></a>&nbsp;<a target="_BLANK" href='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorred.jpg' title='Dancefloor Red Controller'><img src='http://athena.outer-reaches.com/wp/wp-content/uploads/2007/03/dancefloorred.thumbnail.jpg' alt='Dancefloor Red Controller' /></a></div>
<p>On a more serious note though, I have facilities to handle small scale prototyping and firmware development for a large number of PIC microcontrollers, so if you have a requirement for some custom digital electronics or a custom PIC based controller, please feel free to drop me a mail to discuss your requirements.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/164/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faulty Caps = Equipment Hell</title>
		<link>http://athena.outer-reaches.com/wp/index.php/archives/48</link>
		<comments>http://athena.outer-reaches.com/wp/index.php/archives/48#comments</comments>
		<pubDate>Mon, 13 Feb 2006 17:30:08 +0000</pubDate>
		<dc:creator>AthenaOfDelphi</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Musings]]></category>

		<guid isPermaLink="false">http://athena.outer-reaches.com/wp/index.php/archives/48</guid>
		<description><![CDATA[Just thought I&#8217;d mention this as its something I&#8217;d never considered before when diagnosing problems with faulty electronics and if it saves someone else a headache, then its all good.
If you are tech savvy and know what an electrolytic capacitor is and what it does when used for power supply smoothing, you can skip this [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I&#8217;d mention this as its something I&#8217;d never considered before when diagnosing problems with faulty electronics and if it saves someone else a headache, then its all good.<span id="more-48"></span></p>
<p>If you are tech savvy and know what an electrolytic capacitor is and what it does when used for power supply smoothing, you can skip this next section.</p>
<p>For those of you who don&#8217;t know what an electrolytic capacitor, here&#8217;s a quick run through.</p>
<p>Capacitors are electronic components that store electrical charge.  Electrolytic capacitors are a special variaety, most are made out of aluminium foil, paper and a substance called &#8216;the electrolyte&#8217;.  This is all wrapped up and sealed in a small aluminium can.  These capacitors are mostly used for smoothing power supplies.  The general idea is that you connect one across your power supply lines.  It charges up to the voltage present on the lines, then if the voltage dips mometarily, the charge from the capacitor will supplement the power and help smooth out the bump.  That in a paragraph is what these components are and what they do&#8230; in one case.</p>
<p>The problem with them is that they are quite volatile.  The electrolyte is normally an unpleasant concoction of chemicals designed (I think) to help store the largest possible charge in the smallest possible area.  The particular problem this post refers to is caused by bad electrolyte.  By bad I mean it degrades easily, and when it does, the capacitors can fail.  When they fail, they can explode and spew their content all over the inside of the equipment they are in.  A prelude to this is sometimes bulging of the can of the capacitor and/or leaking electrolyte.</p>
<p>In bad cases, the electrolyte can breakdown completely, when this happens a short circuit can develop and this will ultimately result in big problems.</p>
<p>So far in the last 18 months or so I have had to repair three items of kit&#8230; all failed because of faulty capacitors.  The first was our DVD player.  It started suffering problems&#8230; tray wouldn&#8217;t open, when it did, it wouldn&#8217;t close&#8230; it had intermittent crashes at various points.  These problems got worse until it finally gave up the ghost.  A quick peek inside and it became obvious what the problem was.  An electrolytic cap on the power supply board was bulging.  Whipped it off the board, stuck in a new replacement, fired it up&#8230; perfect.  The second item of kit was a little trickier to deal with as it is significantly more complex and a hell of a lot more expensive to replace.</p>
<p>Spirit&#8217;s computer.  <b>EEP</b>   It just stopped.  After having numerous problems with it, that gradually got worse (these problems included random crashes, weird BSOD&#8217;s, graphics cards appearing to fail, lots of memory access errors and numerous others), it finally got the point where it wouldn&#8217;t even run past the BIOS POST.  And towards the end of 2005, my development database server had become so unstable it was unuseable.  This particular machine had been getting worse and worse over about 2 years&#8230; it started with simple hang ups when running X but progressed to the point where the only way it would survive the day was if it was fired up and left well alone.  These two machines are now running sweet after I risked it and replaced all the electrolytic caps on the motherboards myself.</p>
<p>Anyhow, the point is, if you are experiencing weird problems you just can&#8217;t explain or get rid of, then this could be the cause.  You can, if you feel up to it handle the recapping of a motherboard yourself, but its not a nice job.  It took me over 6 hours to recap Spirit&#8217;s motherboard and about the same plus numerous trips to the local RS trade counter to fix up mine.  But it was worth it.  The graphics card we thought was failing appears to be working perfectly.  The machines seems to be running better (can&#8217;t explain this) and so far they&#8217;ve been used pretty heavily without any problems (touch wood).</p>
<p>My one piece of advice, which is covered on <a href="http://www.badcaps.net" target="_badcaps">badcaps.net</a> (a site dedicated to the problems of numerous motherboards which have failed due to faulty caps) is always use the correct size of capacitors.  This applies to the capacitance value (this is measured in Farads, although a Farad is rather a large unit, so most electrolytic caps use micro-farads (uF) to measure their capacitance).  The rating (this is measured in Volts.  The rating of a replacement must be equivalent or greater than the rating of the existing part).  And last but by no means least, the physical dimensions.  Because I needed to get the machines up and running in a hurry, I took a couple of gambles.  I didn&#8217;t check the length.  Most caps used on motherboards are radial devices (that is the two connection leads protrude from one end, allowing the device to stand vertically), since they have a height above the board surface, if they are too long they can get in the way of heatsinks and expansion cards.  So, if in doubt, double check what you can get away with by measuring it up.  The other critical dimension is the diameter.  If the devices are sitting right next to each other on the board, if they are too big, you won&#8217;t be able to replace them.</p>
<p>Thats all I have to say, apart from thanks to badcaps.net for the excellent information.</p>
]]></content:encoded>
			<wfw:commentRss>http://athena.outer-reaches.com/wp/index.php/archives/48/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
