<?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>Fairway Academy</title>
	<atom:link href="http://www.fairwayacademy.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fairwayacademy.org</link>
	<description>Hydronic Heating, Electronics Tinkering, Small Systems Design, Alternative Energy</description>
	<lastBuildDate>Sun, 19 Jun 2011 00:45:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Welcome to 2011</title>
		<link>http://www.fairwayacademy.org/2011/02/03/welcome-to-2011/</link>
		<comments>http://www.fairwayacademy.org/2011/02/03/welcome-to-2011/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 16:46:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=211</guid>
		<description><![CDATA[Just a quick update.  Had to move the site recently to a new server since Russian spammers infested the old one and made restoring it impractical.  You WordPress users, be sure to always look over the PHP code BEFORE installing any new plugins on your wp sites, trust me&#8230; We still have a couple of [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick update.  Had to move the site recently to a new server since Russian spammers infested the old one and made restoring it impractical.  You WordPress users, be sure to always look over the PHP code BEFORE installing any new plugins on your wp sites, trust me&#8230;</p>
<p>We still have a couple of the Saab 9000 belt tensioners left if anyone is still spannering on these great cars.  Looks like I&#8217;ll be needing one soon as my son&#8217;s 1997 9K is dribbling coolant slowly from what appears to be the water pump.  Will get in there this weekend and have a look while it&#8217;s up in the air for its oil change.</p>
<p>On the hydronic heating front capitalism triumphs again- <a title="Walnut Creek Planing" href="http://ecobrick.net/" target="_blank">eco blocks</a> have come down in price to the point where they are now competitive with cord wood so we&#8217;ll be acquiring up to 10 tons of these over the coming summer as we switch from wood to compressed blocks in the <a title="Dunkirk Metal Products" href="http://www.alternativefuelboilers.com/" target="_blank">Econoburn</a> boiler.  See the Hydronic Heating category.  Our boiler is connected to a masonry chimney so we have to keep that thing clean so the creosote doesn&#8217;t light off.  Currently I have to get it cleaned 3 times a season.  Hopefully with the blocks I can get that down to once per season.  Also this year we need to get a backup heating system installed.  Will probably go with propane since geothermal installation costs are so high, and electric is so expensive, that the capital costs will never be recovered.  Oh well, maybe some day we&#8217;ll finally get gas out this way&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2011/02/03/welcome-to-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saab 9^5 HVAC Recirculation Air Motor Repair</title>
		<link>http://www.fairwayacademy.org/2010/08/12/saab-95-hvac-recirculation-air-motor-repair/</link>
		<comments>http://www.fairwayacademy.org/2010/08/12/saab-95-hvac-recirculation-air-motor-repair/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:43:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Saab 95 broken recirculation arm]]></category>
		<category><![CDATA[Saab 95 recirculation]]></category>
		<category><![CDATA[Saab 9^5 HVAC]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=187</guid>
		<description><![CDATA[Pretty much every Saab 9^5 owner is going to have to deal with this one sooner or later. The lever actuating arm on the recirculation control motor snaps off because of dodgy design and improper material selection. This one is a candidate for the &#8220;Made by Monkeys&#8221; blog at the Design News web site.  There [...]]]></description>
			<content:encoded><![CDATA[<p>Pretty much every Saab 9^5 owner is going to have to deal with this one sooner or later.  The lever actuating arm on the recirculation control motor snaps off because of dodgy design and improper material selection.  This one is a candidate for the &#8220;<a title="Made by Monkeys blog" href="http://www.designnews.com/blog/Made_by_Monkeys/index.php" target="_blank">Made by Monkeys</a>&#8221; blog at the <em>Design News</em> web site.  There are no symptoms except the A/C doesn&#8217;t work so well when first starting up a car that&#8217;s been sitting in the sun for a while, as the recirc flap defaults to fresh air mode when the lever arm breaks off.</p>
<div id="attachment_188" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/MotorBrokenArm.jpg"><img class="size-large wp-image-188" title="MotorBrokenArm" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/MotorBrokenArm-1024x569.jpg" alt="Recirculation motor broken actuating arm" width="450" height="250" /></a><p class="wp-caption-text">Recirculation motor with broken actuating arm</p></div>
<p>The repair or replacement of this item is fairly easy, as repairs to Saab 9^5 HVAC systems go.  Here is a quick outline of what has to be done:</p>
<ul>
<li>Remove passenger (LHD cars) footwell cover from left wall;</li>
<li>Remove under dash cover;</li>
<li>Remove glove compartment;</li>
<li>Remove recirculation motor (broken arm usually drops out when motor is removed);</li>
<li>Repair motor;</li>
<li>Replace motor and reassemble everything in reverse order.</li>
</ul>
<p>For early (pre-2001) 9^5&#8242;s it&#8217;s possible that the motor could be non-operative due to a burned out resistor.  If your ACC calibration failed with a code 21 this indicates a failed recirculator motor.  Replacement may be your only option on the later cars as mine (MY2001) has the motor sonic welded together, there&#8217;s no practical way to disassemble it to replace the failed 18 ohm resistor that tends to happen on the early cars.  It&#8217;s easy enough to test the motor on the bench with a 12V power supply.  Apply voltage one way, then reverse the polarity to move the motor back in the other direction.  You will need to do this in any case in order to move the shaft to a middle position if you effect the repair I listed below.  A replacement actuator arm part (part number 4869426) can be found at <a title="GM Parts Department" href="http://www.gmpartsdepartment.com" target="_blank">www.gmpartsdepartment.com</a> for about $USD20 last time I checked.  Since this didn&#8217;t look like too much trouble to frig a repair, and the force needed to move the recirculation flap is pretty small, I decided to try a fix.</p>
<p><strong>Detailed Repair Instructions</strong></p>
<p>Remove passenger side footwell cover by removing 3 plastic anchor pins:</p>
<div id="attachment_190" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/FootwellCover.jpg"><img class="size-large wp-image-190" title="FootwellCover" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/FootwellCover-1024x682.jpg" alt="Passenger Footwell cover for HVAC" width="450" height="299" /></a><p class="wp-caption-text">Passenger Footwell Cover for HVAC</p></div>
<p>WARNING: don&#8217;t try to forcefully pull out the 3 clips!  They come out really easy if you know the secret: use a small screwdriver and push in the center pin about 1/8&#8243;.  It should click and stop.  At that point the clip is released and should just pull right out.  For reassembly, push the center pin out from the inside of the clip.  Insert the clip and pin back into its hole, and depress the center pin flush in order to lock in the clip.  (Sure wish we had these on the Saab 9000!)  Remove the cover, and note the locating pin behind the upper plastic clip.</p>
<p>Remove under dash cover by removing 4 T25 screws as shown below:</p>
<div id="attachment_191" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/DashPanel.jpg"><img class="size-large wp-image-191" title="DashPanel" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/DashPanel-1024x682.jpg" alt="under dash panel" width="450" height="299" /></a><p class="wp-caption-text">Passenger side under dash panel mounting screws</p></div>
<p>Remove the glove compartment by removing 3 screws at the bottom:</p>
<div id="attachment_192" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/GloveBoxScrewsLower.jpg"><img class="size-large wp-image-192" title="GloveBoxScrewsLower" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/GloveBoxScrewsLower-1024x682.jpg" alt="Glove compartment lower mounting screws" width="450" height="299" /></a><p class="wp-caption-text">Glove compartment lower mounting screws</p></div>
<p>Then remove the three screws behind the door at the top:</p>
<div id="attachment_193" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/GloveBoxScrewsUpper.jpg"><img class="size-large wp-image-193" title="GloveBoxScrewsUpper" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/GloveBoxScrewsUpper-1024x682.jpg" alt="Glove compartment upper mounting screws" width="450" height="299" /></a><p class="wp-caption-text">Glove compartment upper mounting screws</p></div>
<p>Gently pull the glove compartment forward, and disconnect the two leads for the glove compartment light and the small hose for the cooling air.  Remove the glove compartment from the car, and now you should have full access to the right side of the air box.</p>
<div id="attachment_194" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/MotorLocation.jpg"><img class="size-large wp-image-194" title="MotorLocation" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/MotorLocation-1024x974.jpg" alt="Air diverter and recirculation actuator motors" width="450" height="428" /></a><p class="wp-caption-text">Air Diverter and Recirculation Actuator Motors</p></div>
<p>Disconnect the electrical connector for the recirculation motor, and remove the connector from the bracket.  Remove the two 6mm/Philips screws holding the motor in (the left screw is deep inside the boss shown, use a #2 Philips on this one) and remove the motor.  Replace the broken actuator arm and reassemble.  Or, if you are cheap like me, repair the arm and then reassemble.</p>
<p>I made up a little piece of 0.025&#8243; thick aluminum and epoxied it to the motor and broken shaft:</p>
<p style="text-align: left;">
<div id="attachment_195" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/ArmReinforcement.jpg"><img class="size-medium wp-image-195 " title="ArmReinforcement" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/ArmReinforcement-300x225.jpg" alt="Arm Reinforcement piece" width="300" height="225" /></a><p class="wp-caption-text">Arm Reinforcement Piece</p></div>
<div id="attachment_198" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/RepairedMotor1.jpg"><img class="size-large wp-image-198" title="RepairedMotor" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/RepairedMotor1-1024x768.jpg" alt="Repaired motor" width="450" height="337" /></a><p class="wp-caption-text">Repaired Recirculation Motor</p></div>
<p>I used a clear epoxy. JB Weld would probably work as well.  Shim the broken arm in place until the epoxy sets, then remove the bits while you still can to keep the epoxy from creating a mess by sticking to the shims, then be patient and let the epoxy fully harden.  To ease reassembly, use the power supply to run the shaft to its full CCW position (this is the default position of the recirculator flap).</p>
<p style="text-align: left;">Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2010/08/12/saab-95-hvac-recirculation-air-motor-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saab 9000 Belt Tensioner Compression Tool</title>
		<link>http://www.fairwayacademy.org/2010/08/09/180/</link>
		<comments>http://www.fairwayacademy.org/2010/08/09/180/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 18:32:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[9000 belt tensioner]]></category>
		<category><![CDATA[Saab 9000 tool]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=180</guid>
		<description><![CDATA[With several drivers in the family, and a newbie driver on the way, vehicle maintenance is a rather sore topic at Fairway Academy. We bought our first Saab in 1995 and the disease has simply worsened since then. The current fleet includes a couple of Saab 9000 models. Changing the serpentine belt has always been [...]]]></description>
			<content:encoded><![CDATA[<p>With several drivers in the family, and a newbie driver on the way, vehicle maintenance is a rather sore topic at Fairway Academy.  We bought our first Saab in 1995 and the disease has simply worsened since then.  The current fleet includes a couple of Saab 9000 models.  Changing the serpentine belt has always been an adventure since we don&#8217;t have the special tool used to either compress or retain the automatic belt tensioner.  Faced with some significant work on the latest addition to the fleet I finally decided to try to obtain one of these devices.  Failing that, the next step was to simply build one of our own.  It came out so well, at least as nice as the official Saab tool used to compress the tensioner, that I had a request right away from someone if I could also make one for them.  Well, here it is:</p>
<div id="attachment_181" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/tensioner_compressor_tool.jpg"><img class="size-large wp-image-181" title="Saab 9000 belt tensioner compression tool" src="http://www.fairwayacademy.org/wordpress/wp-content/uploads/2010/08/tensioner_compressor_tool-1024x682.jpg" alt="Saab 9000 belt tensioner compression tool" width="450" height="299" /></a><p class="wp-caption-text">Saab 9000 belt tensioner compression tool</p></div>
<p>I have a few of these made up and enough material on hand for a few more.  If you are interested in obtaining one ($20USD incl. shipping in USA) please send a message to the administrator at jeffs@fairwayacademy.org.</p>
<p>Update, June 2011:  I have been able to fulfill all backorders and have a couple extra tools left over for immediate shipment if anyone is interested in obtaining one of these tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2010/08/09/180/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We&#8217;ve Moved&#8230;</title>
		<link>http://www.fairwayacademy.org/2010/02/11/weve-moved/</link>
		<comments>http://www.fairwayacademy.org/2010/02/11/weve-moved/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 18:55:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/wordpress/?p=162</guid>
		<description><![CDATA[Welcome to the new Fairway Academy site.]]></description>
			<content:encoded><![CDATA[<p>Fairway Academy was spun off from <a title="FOM Systems Home" href="http://www.fomsystems.com">FOM Systems, Inc</a>., in order to give FOM greater focus on a single subject, selling and hacking on Zuken&#8217;s CADSTAR EDA software tools.  If you&#8217;ve googled on alternative energy and come up with FOM Systems but can&#8217;t find the pages anymore under that url then you&#8217;ve come to the right place, they are all here.</p>
<p>We&#8217;ll continue to chronicle life with wood heating, as we are most of the way (hopefully&#8230;) through our second winter of relying exclusively on our EconoBurn EBW-100 boiler for heating and domestic hot water.  Sorry about the confusion, hopefully Google will have things all sorted out once it deals with my sitemap.xml file.</p>
<p>Yeah, and I also apologize for the dweeby default WordPress theme, but I&#8217;ve just spent the last two weeks hacking on php and css for the FOM Systems site and I&#8217;m just not in the mood at the moment for something more fancy, sorry.</p>
<p>-Jeff</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2010/02/11/weve-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Heating System, One Year Later</title>
		<link>http://www.fairwayacademy.org/2009/10/29/new-heating-system-one-year-later/</link>
		<comments>http://www.fairwayacademy.org/2009/10/29/new-heating-system-one-year-later/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 15:02:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hydronic Heating]]></category>
		<category><![CDATA[boiler maintenance]]></category>
		<category><![CDATA[wood heat]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=113</guid>
		<description><![CDATA[Wood fired boiler system status, one year later.]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s that time of the year again.  The weather is cooling off and we&#8217;ll have to begin the heating season once again.  The performance of the wood boiler has been very good, although with last winter being colder than normal we ended up using about 6 cords of wood between October 2008 and June 2009.  Operationally we&#8217;ve made very few tweaks to the control system software, and the variable speed circulator that controls the storage tank loop has proven to be magic.  PID tuning of its control loop was pretty easy, and if I wasn&#8217;t doing more monitoring and research, the control system could be greatly simplified, reducing it to something any HVAC technician or homeowner could maintain. Using  just thermostats and a couple relays, and one of those little PID controller 1/4 DIN modules from Automation Direct would be enough.  There have been no issues with reliability, everything has worked as designed.  Also, when I took a water sample from the boiler drain at the end of the heating season, it came out crystal clear, thanks to maintaining a system fluid pH of about 8.5.</p>
<p>I can&#8217;t emphasize enough the importance of maintaining the proper pH level of the water in the system, since this is responsible for ensuring long system life and minimizing any corrosion problems.  Many hydronic systems are severely neglected regarding this.  A friend of mine who installs geothermal systems reports that since he started raising the pH of the water in the ground loops and heating loops of the systems he installs this has virtually eliminated problems with rust and corrosion.</p>
<p>-Jeff</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2009/10/29/new-heating-system-one-year-later/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microchip PIC16F883 Anomolies And Other Odd Behaviours</title>
		<link>http://www.fairwayacademy.org/2009/05/16/microchip-pic16f883-anomolies-and-other-odd-behaviours/</link>
		<comments>http://www.fairwayacademy.org/2009/05/16/microchip-pic16f883-anomolies-and-other-odd-behaviours/#comments</comments>
		<pubDate>Sat, 16 May 2009 21:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[Microchip 16F883]]></category>
		<category><![CDATA[Microchip low voltage programming]]></category>
		<category><![CDATA[PIC sleep entry]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=70</guid>
		<description><![CDATA[Recently we completed a development project which made use of the Microchip Technologies PIC16F883 microcontroller. This is a newer style PIC flash micro that includes a low voltage flash programming mode and some other enhancements to its power management and oscillator blocks. We like PIC micros because they are inexpensive, reasonably power thrifty, and normally [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we completed a development project which made use of the Microchip Technologies PIC16F883 microcontroller.  This is a newer style PIC flash micro that includes a low voltage flash programming mode and some other enhancements to its power management and oscillator blocks.  We like PIC micros because they are inexpensive, reasonably power thrifty, and normally very easy to use.  We stepped on a couple of land mines with the 883 however.  The first had to do with that low voltage programming mode.  The documentation for this part states that the standard HV programming mode will override the low voltage programming mode.  This simply isn&#8217;t true.  The documentation is confusing because it does not show the PGM pin on the standard connection diagram for the in-system programming interface.  The parts are shipped from the factory with the internal configuration bit for low voltage programming enabled.  Because of this, inserting the parts in a programming socket you&#8217;ve been using for something like a PIC16F685, for example, will FAIL unless you ground the PGM pin.  After turning off the low voltage programming bit, the PGM pin can then be used as an ordinary GPIO pin and your HV programming issues will go away.   It&#8217;s also necessary to add a pull down resistor to the PGM pin on the board you install the 16F883 in to prevent T=0 problems with programming at manufacturing time.  The Microchip documentation is not at all clear about this so be careful.</p>
<p>Another stumbling block was sleep/wake.  Since the 16F883 is code compatible with other parts in this series such as the 16F685, and the data sheet listed the same example code as for the 16F685, we had to struggle a bit with the 16F883 when it refused to wake up after entering sleep mode.  We never did get a satisfactory answer back from the Microchip forum about this so are publishing this here for your enjoyment and perusal.  Here is the sleep entry code for the 16F883, our first attempt:</p>
<pre>MAIN_sleep_entry
	BANKSEL	PORTA
	clrf	PORTA
	BANKSEL TRISC
	clrf	TRISC	    ;all to outputs
	movlw	H'20'	    ;only enable bit 5
	movwf	IOCB
	bcf	PIE1,TMR1IE ;stop timer 1 ints while here in this bank...
	bcf	PIR1,TMR1IF ;case we come here from interrupt routine...
	bcf	INTCON,T0IE ;make sure timer 0 can't hit us either...
	BANKSEL	T2CON
	bcf	T2CON,TMR2ON ;stop timer
	BANKSEL PORTA
	clrf	PORTC
	clrf	PORTB
	movf	PORTB,W	    ;dummy read to clear state change ff's
	movf	PORTB,W		;again for good measure...
	bcf	INTCON,RBIF
	bsf	INTCON,RBIE ;arm wake up detection
	bsf	INTCON,GIE
	clrwdt
	BANKSEL WDTCON
	bcf	WDTCON,SWDTEN
	bcf	INTCON,T0IF
	bcf	INTCON,INTF
	bcf	INTCON,RBIF
	nop
	sleep</pre>
<p>This is the same code sequence previously used for the 16F685, but for some reason the 16F883 would never wake up.  After trying several things, without success, we added this code right before sleep entry:</p>
<pre>	.....
        bcf	INTCON,RBIF
	btfsc	INTCON,RBIF
	goto	$2
	nop
	sleep</pre>
<p>Since we still went to sleep, obviously the RBIF flag was getting cleared, later verified by stepping through with the ICD2 debugger.  But it still looked for all the world like the RBIF flag was still setting prior to sleep entry.  So we tried another hack.  At the dispatcher at the top of the interrupt service routine we added a handler for the wake interrupt:</p>
<pre>	...
	btfsc	INTCON,RBIF
	goto	SLEEP_WAKE
	goto	IRQ_DONE	;wild interrupts are ignored

SLEEP_WAKE
	bcf	INTCON,RBIF	;this might be causing problems
	goto	IRQ_DONE	;</pre>
<p>Sure enough, after handling the RBIF flag inside interrupt context, the wakeup circuitry was armed and we could now wake the 16F883.  So what&#8217;s going on here?  The RBIF flag can obviously be cleared from normal context but it won&#8217;t stay  cleared unless it&#8217;s cleared inside interrupt context.  This isn&#8217;t the way the 16F685 behaves and sounds like we have the makings of a nice little hardware bug here.  Comments?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2009/05/16/microchip-pic16f883-anomolies-and-other-odd-behaviours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applying the Quantum Touch QT1081 Touch Controller</title>
		<link>http://www.fairwayacademy.org/2009/03/17/applying-the-quantum-touch-qt1081-touch-controller/</link>
		<comments>http://www.fairwayacademy.org/2009/03/17/applying-the-quantum-touch-qt1081-touch-controller/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 18:00:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[capacitive touch]]></category>
		<category><![CDATA[QT1081]]></category>
		<category><![CDATA[touch panel]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=63</guid>
		<description><![CDATA[We had a customer come to us recently with a design proposal for a small portable device.  The product concept included a small LCD display, a couple LED&#8217;s, and a mylar keypad with 8 buttons.  I had been looking for a project which I could use as a vehicle to check out the Quantum QT1081 [...]]]></description>
			<content:encoded><![CDATA[<p>We had a customer come to us recently with a design proposal for a small portable device.  The product concept included a small LCD display, a couple LED&#8217;s, and a mylar keypad with 8 buttons.  I had been looking for a project which I could use as a vehicle to check out the Quantum QT1081 8 channel touch controller.  (Quantum is now owned by Atmel, see <a title="Atmel Touch Technology" href="http://www.atmel.com/products/touch/default.asp" target="_blank">here.</a>)  Because the product is lightweight, and may be either hand held or placed on a table when used, the force required to activate a typical mylar keypad seemed like it would interfere with the use of the product.  Plus there&#8217;s the cost of fabricating the keypad.  The button array of a capacitive touch keypad can simply be created on a standard single sided printed circuit board, and requires no force to activate.  Because a finger touch can be reliably sensed from several mm away, in this product the copper pads are on the back of the switch array, which is overlaid with a layer of plastic on which the key legends are printed.  Because of the dielectric characteristics of FR4 material used to make printed circuit boards, the board helps to &#8220;focus&#8221; the electric field coming off the pad.  As a result, the sensitivity to touch on the back side of the board is increased.</p>
<p>I found with the QT1081 chip that key presses were very reliable, with no issues with double hits, etc., that one might encounter with a mylar keypad.  The sensitivity of each key pad is easily adjusted to compensate for the differing amounts of stray capacitance associated with each key pad.  Best of all, the power consumption is very low.  A system using a PIC16F883 processor running at 4MHz with the QT1081 detecting a single key consumes only 2.4mA from a 3.0V supply.  An overview of the operation of digital capacitive touch technology can be found <a title="Quantum touch overview" href="http://www.atmel.com/products/touch/overview.asp" target="_blank">here</a>.</p>
<h4>Adjusting QT1081 key touch sensitivity</h4>
<p>A datasheet for the QT1081 may be found <a title="QT1081 datasheet" href="http://www.atmel.com/dyn/resources/prod_documents/qt1081_1r0.04.pdf" target="_blank">here</a>.  Please download this and turn to page 6, as figure 1.1 contains a reference schematic which will be used for the remainder of this discussion.  The values shown for the resistors and capacitors connected to the SNS** pins are good starting values.  The 1M resistors that are used to set the AT1081 operating modes will affect the sensitivity of their respective key inputs.  I discovered that SNS pins that were pulled to ground were less affected than SNS pins that were pulled off to VDD.  The values for CS0 through CS7 are MINIMUM values it seems.  I found that with the CS* capacitors set to 1000pF (1nF), keys with option resistors pulled off to VDD would not reliably detect a touch.  However, increasing CS slightly for those inputs to 2000pF resulted in working keys.  The datasheet claims that capacitors as large as 50nF (0.05μF) can be used for sensing capacitors.  Power consumption increases as larger values are used for CS.  Use no more capacitance for CS than necessary to achieve reliable operation.  Capacitor selection is discussed in section 3.3, page 11, of the datasheet.</p>
<p>Capacitive touch opens up many new design possibilites.  Other touch controllers in Quantum&#8217;s product line include slider bar and wheel sensors with up to 256 discrete positions that can be sensed.  Elimination of mechanical switches can be a huge win in terms of product styling and reliability, as well as cost reduction.  Because the Quantum components use a digital algorithm they are able to adapt to long term changes in the capacitance of the button array, such as water droplets on the sensing surface.  This reduces issues with &#8220;stuck&#8221; keys.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2009/03/17/applying-the-quantum-touch-qt1081-touch-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When CD&#8217;s Were A Dream About To Come True</title>
		<link>http://www.fairwayacademy.org/2009/02/04/when-cds-were-a-dream-about-to-come-true/</link>
		<comments>http://www.fairwayacademy.org/2009/02/04/when-cds-were-a-dream-about-to-come-true/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 16:55:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Blu-ray]]></category>
		<category><![CDATA[CD]]></category>
		<category><![CDATA[DVD]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=57</guid>
		<description><![CDATA[I can remember the very first compact disk I purchased- I was in Japan in November of 1982 and CD&#8217;s were taking the county by storm (as things tend to do in Japan). It was a recording of Holst&#8217;s &#8220;The Planets&#8221;. Going through my archives doing some research recently I came across an entry from [...]]]></description>
			<content:encoded><![CDATA[<p>I can remember the very first compact disk I purchased- I was in Japan in November of 1982 and CD&#8217;s were taking the county by storm (as things tend to do in Japan).  It was a recording of Holst&#8217;s &#8220;The Planets&#8221;.  Going through my archives doing some research recently I came across an entry from Len Feldman&#8217;s column &#8220;Sightings&#8221; in the August 1981 issue of <span style="text-decoration: underline;">db, The Sound Engineering Magazine:</span></p>
<blockquote><p>&#8220;Those studios with vast libraries of analog master tapes may find little or no use for them when the world &#8220;goes digital&#8221; in a few years.  But as for the fears about the obsolescence of the conventional vinyl disc, I think that such fears are over-exaggerated.  The digital disk will make its way into homes slowly, I feel, and the analog LP discs which have been sold by the billions are not about to be discarded overnight, or even over a span of ten or more years. I&#8217;m not saying that they will never become collectors&#8217; items&#8212; only that it&#8217;s a bit early to discard our collections of 12-inch LPs before we see which way the digital disk is really going to go&#8212; and how soon it&#8217;s going to get there.&#8221;</p></blockquote>
<p>Hahahaha!  This is one reason I love history, it&#8217;s so much fun looking back to see how things really turned out, and how often the experts get the future wrong.  To be sure, it took a while for CD&#8217;s to make it to our shores (I didn&#8217;t purchase my first CD player until 1985, a Sony CDP-302, which is still in service by the way) but by 1986 vinyl disappeared virtually overnight from the stores.  I think Len Feldman completely overlooked the convenience factor of CD&#8217;s.  On good equipment vinyl sounds almost as good as a CD, and certainly a poorly recorded CD will sound worse than a good vinyl recording, but to be free of the hassle of handling LP&#8217;s and constant fiddling with turntables and styli, the cleaning, need to turn them over after 20 minutes or so, and the wear out issue, the same things that drove many to use cassettes to record their record collections when cassettes&#8217; quality got good enough, was the big driver in the rapid embrace of CD&#8217;s.  It&#8217;s hard to believe CD&#8217;s have been with us for almost 30 years.  Which is why the current struggle of Blu-ray against ordinary DVD&#8217;s may not turn out the way futurists predict today.  While the conventional DVD was a vast improvement over the VHS tape, many people can barely tell the difference between an upscaled DVD and a Blu-ray video image due to the long history in this country of people accustomed to watching sub-par video.  Blu-ray is no more or less convenient than DVD, so from that perspective there is no reason at all to upgrade to Blu-ray.  Even many folks with HD tv&#8217;s often can&#8217;t tell if what they are watching is in high definition or not!  We&#8217;ve been down this road before, folks.  When was the last time you purchased a superAudio CD?  I thought so&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2009/02/04/when-cds-were-a-dream-about-to-come-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining Rate of Heat Transfer in Hydronic Systems</title>
		<link>http://www.fairwayacademy.org/2009/01/02/determining-rate-of-heat-transfer-in-hydronic-systems/</link>
		<comments>http://www.fairwayacademy.org/2009/01/02/determining-rate-of-heat-transfer-in-hydronic-systems/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 21:49:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hydronic Heating]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[heat transfer calculations]]></category>
		<category><![CDATA[radiant heating]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=48</guid>
		<description><![CDATA[A friend of mine recently asked me how I made all the heat transfer calculations on the new FOM heating system. He&#8217;s also in the HVAC business but does forced air and geothermal mostly, and has not dealt much with hydronic heating systems. We&#8217;ve both seen a number of &#8220;hack jobs&#8221; where outdoor wood boilers [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine recently asked me how I made all the heat transfer calculations on the new FOM heating system.  He&#8217;s also in the HVAC business but does forced air and geothermal mostly, and has not dealt much with hydronic heating systems.  We&#8217;ve both seen a number of &#8220;hack jobs&#8221; where outdoor wood boilers have been lashed up to existing forced air or new radiant systems.  I asked one homeowner who was having some problems with his new radiant system to show me the heat loss and heat flow calculations for the job.  The ensuing blank stare told me this was not going to be a fun visit.  With all the computer programs out there these days that simply plug and chug and give you numbers close enough to work with, there&#8217;s no excuse for not doing things properly.  But I digress, we are supposed to be talking about heat transfer!</p>
<p>Heat transfer calculations in hydronic systems are dead easy, so there&#8217;s no excuse for not running the numbers.  In the USA we still use BTU for our units for heat.  Recall that 1 BTU is equal to the amount of heat that causes a temperature rise of 1<sup>o</sup>F of 1 pound of water.  Let&#8217;s say we have something like a geothermal system that uses a ground loop.  A fluid, usually water or water mixed with glycol to prevent freezing, is circulated through the ground loop outside and a heat exchanger inside, either transferring heat from the refrigerant circuit (summer cooling) or transferring heat from the ground to the refrigerant circuit (winter heating).</p>
<ol>
<li>A geothermal system is operating at steady state in cooling mode.  If the flow rate in the ground loop is equal to 10 gallons per minute, the temperature of the water entering the loop from the heat exchanger is 110<sup>o</sup>F and the water returning from the ground loop is 90<sup>o</sup>F, what is the amount of heat, in BTU per hour, that is being conducted into the ground?</li>
</ol>
<p>Answer:</p>
<blockquote><p>heat transfer(BTU) = ΔT * Flow rate(gpm) * 8.3 * 60, where ΔT is the temperature drop around the ground loop in degrees F from input to output.</p></blockquote>
<p>We simply multiply ΔT times the flow rate times weight of 1 gallon of water times 60 minutes.  We have to multiply by 60 to rationalize our units since flow is in gpm but we want to know the number of BTU&#8217;s per hour.  Since 8.3 * 60 = 498 it&#8217;s common to write the heat transfer equation simply as ΔT times flow times 500, to make it easier to do &#8216;rule of thumb&#8217; calculations in one&#8217;s head.  So the answer to our question is then:</p>
<blockquote><p>20 * 10 * 500 = 100,000 BTU per hour.</p></blockquote>
<p>So remember, it&#8217;s simply delta T times flow times 500.  Not so hard, is it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2009/01/02/determining-rate-of-heat-transfer-in-hydronic-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Energy Savings- New Heating System</title>
		<link>http://www.fairwayacademy.org/2008/12/14/energy-savings-new-heating-system/</link>
		<comments>http://www.fairwayacademy.org/2008/12/14/energy-savings-new-heating-system/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 01:25:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hydronic Heating]]></category>

		<guid isPermaLink="false">http://www.fairwayacademy.org/?p=38</guid>
		<description><![CDATA[I just got the December electric bill in the email this evening.  This should be the first bill where the new wood gasification boiler system has been completely operational.  The November billing period was from October 15 to November 14.  Initial system startup was the first week of November.  The bill for that period was [...]]]></description>
			<content:encoded><![CDATA[<p>I just got the December electric bill in the email this evening.  This should be the first bill where the new wood gasification boiler system has been completely operational.  The November billing period was from October 15 to November 14.  Initial system startup was the first week of November.  The bill for that period was $149.60, but the pro-rated savings are uncertain since the previous month&#8217;s bill was unusually high (about $182) because it was estimated.  For the billing period November 15 to December 12, the first full month of operation, the electric bill came in at $89.16.  Since there were no other changes to our usage patterns the little over $60 savings appears to be pretty much due to the DHW tank no longer being electrically heated.  Most likely the savings are even more since the $149.60 figure is probably lower than it would have been had we not started firing the boiler when we did.  That sounds about right, because from past experiences when we&#8217;ve been away for extended periods I estimated the DHW tank consumed about $60 per month.  Now if I can find some vacuum tube solar collectors cheap I have some numbers to use for cost justification analysis&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fairwayacademy.org/2008/12/14/energy-savings-new-heating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

