<?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>Stomping in Clown Shoes &#187; Mad Scientist &#8211; Boo</title>
	<atom:link href="http://pyroflatulence.tv/?feed=rss2&#038;cat=7" rel="self" type="application/rss+xml" />
	<link>http://pyroflatulence.tv</link>
	<description>where demons fear to tread</description>
	<lastBuildDate>Fri, 06 Aug 2010 19:41:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tips for water cooling home computers</title>
		<link>http://pyroflatulence.tv/?p=286</link>
		<comments>http://pyroflatulence.tv/?p=286#comments</comments>
		<pubDate>Mon, 05 Jul 2010 01:36:16 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=286</guid>
		<description><![CDATA[* The basic parts are water blocks, reservoir, pump, tubing, radiator, and the coolant itself. * Don&#8217;t buy kits.  Just like building your own system, you can get the best equipment if you get the parts individually.  When you buy a kit, the manufacturer invariably must include something they&#8217;ve done on the cheap, through materials, [...]]]></description>
			<content:encoded><![CDATA[<p>* The basic parts are water blocks, reservoir, pump, tubing, radiator, and the coolant itself.<br />
* Don&#8217;t buy kits.  Just like building your own system, you can get the best equipment if you get the parts individually.  When you buy a kit, the manufacturer invariably must include something they&#8217;ve done on the cheap, through materials, manufacturing, or engineering.  Example: the Zalman Reserator 1 (blue) I have is terrific and includes a first class Eheim aquarium pump internally, but the acrylic &#8216;flow indicator&#8217; that came with it started leaking a few weeks after it was installed.  A second one did exactly the same thing (acrylic is <strong>NOT </strong>good with glycol).<br />
* Don&#8217;t bother with the extra expense of silver over copper, the difference isn&#8217;t that much.  Be aware that different metals in your system can have a slow electrochemical effect.  Stick with copper and aluminum.  Don&#8217;t use anything acrylic, it will slowly crack during exposure to the glycol.  Polyethylene, polypropylene, and Lucite work great.  The only time I&#8217;ve ever had a problem with a leak (*up till now) was due to use of acrylic plastic.<br />
* A high flow rate is not important.  Sure, some flow is necessary, but high pressure pumps will only encourage your system to leak.  You don&#8217;t see people putting massively high flow rate antifreeze pumps on their cars because it&#8217;s not necessary.  Don&#8217;t pay extra for larger jets on the blocks or radiators.  Water cooling is much more efficient than air cooling, no need to waste money on hype.<br />
* Rig your water blocks in parallel, not in series.  This way all the parts get fresh coolant rather than daisy chaining the heat from one component to the next.  This also reduces flow rate, but flow rate is not important!<br />
* Rig the pump to <em>pull coolant from the blocks and push it into the reservoir</em>.  The pressure difference between the coolant and the outside should be a vacuum where it&#8217;s most dangerous to leak.  In this way, if there&#8217;s a break in the tubing, the pump will pull air into the system at the break rather than spray mildly toxic coolant all over your live hot running computer, carpet, walls, ceiling, face, and pets.<br />
* Use of a rheostat to adjust the fan in front of the radiator will help reduce noise.<br />
* Assemble and test (with water) the whole system before trying to install it.<br />
* Mix:</p>
<ul>
<li>
<h3>16 ounces of premium automotive grade ethylene glycol antifreeze</h3>
</li>
<li>
<h3>6 ounces of Redline&#8217;s &#8220;Water Wetter&#8221; (half a bottle)</h3>
</li>
</ul>
<p>and top off with</p>
<ul>
<li>
<h3>a gallon of distilled water (about 3 quarts/liters needed)</h3>
</li>
</ul>
<p>A plastic windshield washer gallon jug works well.  You will need to replace the coolant every couple of years or you might get algae.  I&#8217;m currently using &#8220;Zerex&#8221;, but if your system is in an area with poor ventilation or in a house with children, you might consider using propylene glycol based &#8220;green&#8221; (green as in environment, not the color) antifreeze instead, it&#8217;s less toxic.</p>
<p>My own system is about 4 1/2 years old now, and has been used on two different motherboards/CPU sets:</p>
<ul>
<li><a href="http://www.zalman.com/eng/main.asp" target="_blank">Zalman</a> Reserator 1 (blue) with integrated <a href="http://www.eheim.com/" target="_blank">Eheim</a> 300 pump, comes with very nice blue silicone tubing, but I didn&#8217;t use the Zalman water block</li>
<li> 2 <a href="http://www.dangerden.com/store/maze4-water-block/" target="_blank">Danger Den &#8220;Maze 4&#8243; copper water blocks</a> with Lucite tops and 3/8&#8243; outlets, custom mounted to two Slot &#8216;F&#8217; AMD Opterons with strips of brass sheet metal</li>
<li><a href="http://www.thermaltakeusa.com/" target="_blank">ThermalTake</a> &#8220;Aquarius&#8221; A1983 VGA water block, nickel plated with 1/4&#8243; side outlets, this is very thin and fits between PCI cards</li>
<li><a href="http://www.dangerden.com/store/x-flow-black-ice-xtreme-ii.html" target="_blank">Black Ice Xtreme II radiator</a> with 3/8&#8243; outlets (the Zalman Reserator passive cooling isn&#8217;t enough for two CPUs and a GPU)</li>
<li> 2 ball-bearing fans for the radiator (120mm), and additional chassis fans for motherboard passive components (definitely needed for a Tyan S2927)</li>
<li> A 4-circuit fan speed controller.  This is an unintelligent device, merely a set of 12 volt active transistor rheostats.</li>
<li> A &#8220;<a href="http://www.overclockersclub.com/reviews/digitaldoc5/" target="_blank">Digital Doc 5</a>&#8221; fan speed controller and temperature sensor, this needs no interface to the computer (translation: works with Linux)</li>
<li> A few polypropylene T&#8217;s and L&#8217;s in the tubing.</li>
<li> &#8220;<a href="http://www.arcticsilver.com/as5.htm" target="_blank">Arctic Silver 5</a>&#8221; heat compound</li>
</ul>
<p>Needless to say, my system is less than easily portable.  I consider this an &#8220;anti-theft&#8221; feature.</p>
<p>The two separate fan speed controllers require a bit of explanation.  I made a custom cable for the radiator fans, with two separate voltage feeds and diodes to keep the two units from parasitically vampiring power from each other.  The rheostat lets me set a minimum fan speed, which is basically enough to keep the fans running at a minimum of noise.  However the &#8220;Digital Doc 5&#8243; unit monitors the temperature of various parts of the system, including the double radiator.  If that temperature goes over 96 degrees Fahrenheit, it kicks in it&#8217;s voltage, boosting the fan to full speed.  The system runs pretty quietly, but if it gets a little warm, the fans automatically spin up to higher speed.  I run the <a href="http://boinc.berkeley.edu/" target="_blank">BOINC</a> application, and so 4 cores of 2 Opteron 2218&#8242;s are going 100% all the time, and I&#8217;ve never had a *<strong>problem</strong>.</p>
<p>*<em> News Flash!</em> <strong>Problem!</strong></p>
<p>04-JUL-2010 There was an &#8220;oh, shoot!&#8221; moment when a very small leak suddenly went gusher.  A small but noticeable amount of coolant had leaked from the bottom of the Zalman Reserator, and on investigation, the plastic hose fitting out of the bottom of the aluminum tank body snapped right off.  I believe it was clearly the source of the leak, as the inside of the fracture was stained.  The inlet also showed fracture evidence.  They lasted about 5 years?  Or was it 6?</p>
<p>Anyway&#8230; on the 4th of July 2010 (a big patriotic holiday here in the United States of America) and a Sunday, the Loew&#8217;s superstore is open and had brass 1/4 &#8221; pipe to 3/8 &#8221; hose barbs.  I discussed a sarcastic tone of sympathy with a gentleman who was helpful in the plumbing aisle, he would have rather been home playing World of Warcraft and appreciated that I needed this plumbing to fix my computer.</p>
<p>The coolant is wiped up, the table is wiped down, the brass fittings went into the tank threads with teflon plumber&#8217;s tape, and it&#8217;s working fine.  O&#8217;Reilly&#8217;s automotive store had more Water Wetter.  I&#8217;m slightly curious to know if I&#8217;ll see any electrochemical weirdness with the brass screwed into aluminium in glycol, but that wouldn&#8217;t seem to be as dramatic as a cleanly severed line pouring coolant onto the desk.  As I was actually placing an old cake pan under the tank when trying to figure out the source of the leak, it could have been much, much worse than it was.</p>
<blockquote><p><em><strong>I suggest replacing the plastic fittings on the bottom of Zalman Reserator cooling pumps with brass fittings if the unit is used more than a few years.</strong></em></p></blockquote>
<p>This leak began without much provocation, the unit hadn&#8217;t been moved in months.  The strain on the plastic fittings was never really that much, but it seems apparent that the constant vibration of the pump was enough to cause stress fractures over a long period of time.  I can&#8217;t blame Zalman for this, but an upscale model might replace these fittings with something a little stronger.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=286</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cute little pig pies</title>
		<link>http://pyroflatulence.tv/?p=592</link>
		<comments>http://pyroflatulence.tv/?p=592#comments</comments>
		<pubDate>Sun, 30 May 2010 14:42:06 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Cooking and Liquor]]></category>
		<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=592</guid>
		<description><![CDATA[And now&#8230; continuing our &#8220;Caveman&#8217;s Guide to Pie&#8221; series, here is a recipe for a big pile of cute little pig pies. That is, pies that contain ground pig. Or cow. Or buffalo, chicken, goat, sheep, fish, or shrimp. Or wild boar, rattlesnake, bear, pheasant, quail, or eels. I don&#8217;t recommend this recipe for ground [...]]]></description>
			<content:encoded><![CDATA[<p>And now&#8230; continuing our &#8220;Caveman&#8217;s Guide to Pie&#8221; series, here is a recipe for a big pile of cute little pig pies.  That is, pies that contain ground pig.  Or cow.  Or buffalo, chicken, goat, sheep, fish, or shrimp.  Or wild boar, rattlesnake, bear, pheasant, quail, or eels.  I don&#8217;t recommend this recipe for ground turtle meat.  I can&#8217;t tell you why, it involves a personally traumatic childhood experience with a BB gun and Mr. Snappy.  But I&#8217;m over it now.  Really.</p>
<p>I salute to <a href="http://www.liu-family.org/potsticker/" target="_blank">James&#8217;s Hand-Made Potsticker Recipe</a>, the recipe here is pretty much my implementation of the Liu Family recipe.  It&#8217;s an excellent web page and obviously has deep wonderful family roots, something I value greatly here at Caveman Recipes Inc.  I&#8217;ve also taken a few tips from <a href="http://allrecipes.com/recipe/wonton-wrappers/detail.aspx" target="_blank">allrecipes.com</a> who had a egg noodle dough which was typical of other sites.</p>
<p><span id="more-592"></span></p>
<p><strong>Shopping list:</strong><br />
2 lbs ground pork *<br />
1 large napa cabbage *<br />
small bunch ( 6 &#8211; 8 ) green onions *<br />
large handful of cilantro *<br />
large eggs ( need 3 &#8211; 4 )<br />
several large cloves of garlic **<br />
palm-sized chunk of ginger root **<br />
all-purpose flour ( 6 cups )<br />
brown Chinese oyster sauce **<br />
sesame oil **<br />
soy<br />
salt<br />
black pepper<br />
cayenne pepper</p>
<p>* near substitute okay<br />
** important, do not omit</p>
<p><strong>Ready, Go:<br />
</strong></p>
<ul>
<li>Into the second largest mixing bowl, chop the napa cabbage, salt heavily, add some water, stir, and let sit at least 15 minutes (to let it give up it&#8217;s water).</li>
<li>Chop the onions, cilantro, garlic, ginger, and add with the pork into the largest mixing bowl.</li>
<li>Squeeze as much water as possible from the chopped napa with your hands (tight little fist sized cabbage balls) and add to the mix.</li>
<li>Punch a crater in the center of the &#8216;pemmican&#8217; and add:
<ul>
<li>2 Tablespoons oyster sauce</li>
<li>1 Tablespoon sesame oil</li>
<li>2 teaspoons salt</li>
<li>1 teaspoon black pepper</li>
<li>1/4 teaspoon cayenne pepper</li>
</ul>
</li>
<li>Mix well and refrigerate.</li>
<li>Wash the salty cabbage juice out of the second largest bowl and dry with towel.  Take a break here.  Check again to make sure you put the meat in the refrigerator.</li>
</ul>
<p><strong>Break.</strong> Do not drink too much coffee when working with dough.</p>
<ul>
<li>Sift 6 cups of flour with 1 1/2 teaspoons salt into the dry bowl (you didn&#8217;t dry it, did you, lazy bum)</li>
<li>Beat three eggs with a cup of warm water and add to the flour.</li>
<li>Mix, add water one teaspoon at a time until a workable dough is formed.</li>
<li>Knead for 5 minutes.</li>
</ul>
<p><strong>Break time.</strong></p>
<ul>
<li>The dough should be very stiff but workable and elastic.  You can use a pin, but it&#8217;s tough work.  Roll out the dough as thinly as possible.    Alternately use <a href="http://www.williams-sonoma.com/products/imperia-pasta-machine/" target="_blank">a pasta sheet machine</a>.</li>
<li>Add a spoonful (or two) of filling.  I&#8217;m using a <a href="http://www.pamperedchef.com/ordering/prod_details.tpc?prodId=33" target="_blank">big cookie cutter with a crimper insert</a>, so I lay another sheet of dough over the top, but you can cut the dough and fold it over.</li>
<li>Cut the dough and crimp the edges.</li>
<li>Stack them on a plate and freeze.  Turn them over a few times while freezing so they don&#8217;t stick to the plate or each other.</li>
</ul>
<p><strong>Cooking</strong></p>
<p>These are full of raw pork, so cooking is important.  They can be steamed, baked, boiled, fried, and probably a few other ways I haven&#8217;t thought of.  See <a href="http://www.liu-family.org/potsticker/" target="_blank">James&#8217;s recipe</a> for the <em>best</em> way.</p>
<p><strong>Dipping Sauce</strong></p>
<ul>
<li>Sesame oil</li>
<li>rice vinegar</li>
<li>minced ginger</li>
<li>cilantro or green onion</li>
<li>Soy</li>
</ul>
<p>Still experimenting with the sauce, but these are the common ingredients.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=592</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feline head-mounted energy weapons</title>
		<link>http://pyroflatulence.tv/?p=563</link>
		<comments>http://pyroflatulence.tv/?p=563#comments</comments>
		<pubDate>Mon, 15 Mar 2010 19:18:02 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=563</guid>
		<description><![CDATA[Hmmm&#8230;]]></description>
			<content:encoded><![CDATA[<p>Hmmm&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=563</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bright Light</title>
		<link>http://pyroflatulence.tv/?p=466</link>
		<comments>http://pyroflatulence.tv/?p=466#comments</comments>
		<pubDate>Thu, 18 Feb 2010 23:13:24 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Linux Development]]></category>
		<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=466</guid>
		<description><![CDATA[Here is a design for an overhead light fixture (see the Creative Commons license notice below). I&#8217;m not really sure I&#8217;m going to save any money with this.  I&#8217;m spending a lot for a very nice lamp, but economically, I&#8217;m not sure the energy and light bulb savings will be worth it.  But then again, [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a design for an overhead light fixture (see the Creative Commons license notice below).</p>
<p>I&#8217;m not really sure I&#8217;m going to save any money with this.  I&#8217;m spending a lot for a very nice lamp, but economically, I&#8217;m not sure the energy and light bulb savings will be worth it.  But then again, that&#8217;s not the only reason to do anything.</p>
<p>This lamp will replace the aging standard fixture in the ceiling of my study in a house built in 1965.  This existing fixture is made for two Edison base light bulbs, and switched at the wall near the entry door.  Bo-rrring.</p>
<p>The idea is to stop the 120V wiring at the switch.  There I&#8217;ll put in a small DC power supply and a circuit inside the wall box with a special wall plate for the switches mounted on the PC board.  A three wire cable (ground, 24 volts DC, and a 0 &#8211; 5 volt square wave) will connect to the overhead fixture.  The lamp will be made of 6 pentagonal printed circuit boards connected together on the edges like the lower half of a <a href="http://en.wikipedia.org/wiki/File:Dodecahedron.gif" target="_blank">dodecahedron</a> (12 sided solid).  Each board will have 5 <a href="http://www.cree.com/products/xlamp_mx6.asp" target="_blank">Cree XLamp MX-6 high-brightness LEDs</a>, 6500 Kelvin (cool white color), for a total of 30 LEDs.</p>
<p><span id="more-466"></span></p>
<p>I selected the Cree XLamp MX-6&#8242;s for a couple of reasons&#8230; they have similar or better light output at 300mA as other LEDs that use a lot more amperage.   They are touted by Cree to have a nice long life with good reliability, retaining 70% of their luminosity after high-temperature age testing, which Cree seems to be taking very seriously even if there aren&#8217;t any international standards for it yet.  And&#8230; they are generally a dollar cheaper per LED.  That&#8217;s obviously not my biggest concern, but it&#8217;s a factor.  In reality, this board should support almost any LED with a minor change to the SMD pads.  I tried to limit costs where possible, but I didn&#8217;t skimp on the quality.</p>
<p>Here is the schematic for the dimmer board.  It features a triangle wave generator for the PWM signal, and uses a<a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2783" target="_blank"> &#8220;Dallastat&#8221; digital potentiometer</a> for 64-step up/down dimming.  There&#8217;s an adjustable hysteresis so that &#8220;all the way down&#8221; is really 0% and &#8220;all the way up&#8221; is really 100%.  A MAX6816 debouncer chip and a &#8216;D&#8217; flip-flop are used to create an on/off signal, and these are  &#8216;and&#8217;ed with the PWM and buffered with an op-amp for the lamp on/off control output.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_3.png" target="_blank"><img class="alignnone size-thumbnail wp-image-581" title="HouseLEDs02_dimmer_3" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_3-150x80.png" alt="" width="150" height="80" /></a></p>
<p>I used <a href="http://www.falstad.com/circuit/" target="_blank">Paul Falstad&#8217;s circuit simulator</a> to work out the component values for the triangle wave generator.  Here is the data to &#8216;import&#8217; (in extremely small text so as not to bore everyone else) if you&#8217;re interested:</p>
<div style="border: 1px solid blue; width: 400px; font-size: 1px; line-height: 1px;">$ 1 2.0E-6 7.619785657297057 64 3.3 50<br />
R 112 144 112 96 0 0 40.0 5.0 0.0 0.0 0.5<br />
r 112 144 112 208 0 6800.0<br />
r 112 208 112 272 0 6800.0<br />
g 112 272 112 304 0<br />
a 144 192 224 192 1 5.0 0.0 1000000.0<br />
w 112 208 144 208 0<br />
r 224 192 288 192 0 6800.0<br />
r 224 192 224 128 0 6800.0<br />
a 320 176 400 176 1 5.0 0.0 1000000.0<br />
a 480 224 560 224 1 5.0 0.0 1000000.0<br />
R 448 128 448 96 0 0 40.0 5.0 0.0 0.0 0.5<br />
w 400 128 400 176 0<br />
c 384 240 352 240 0 1.0E-7 0.5849248563899665<br />
w 320 192 304 192 0<br />
w 304 192 288 192 0<br />
w 400 176 400 240 0<br />
w 400 240 384 240 0<br />
g 448 320 448 336 0<br />
174 448 208 480 272 0 22000.0 0.2921 Duty<br />
w 480 208 480 176 0<br />
w 480 176 400 176 0<br />
w 448 272 448 320 0<br />
w 224 128 144 128 0<br />
w 144 128 144 176 0<br />
w 560 224 560 256 0<br />
w 448 208 448 128 0<br />
x 328 64 489 68 0 16 PWM Signal Generator<br />
r 224 128 288 128 0 5900.0<br />
w 288 128 336 128 0<br />
w 368 96 400 96 0<br />
w 400 96 400 128 0<br />
174 336 128 400 112 0 1000.0 0.797 Hysteresis<br />
w 368 96 368 112 0<br />
w 352 240 320 240 0<br />
w 320 240 320 192 0<br />
w 320 160 304 160 0<br />
w 304 160 304 240 0<br />
w 304 240 144 240 0<br />
w 144 240 144 208 0<br />
x 259 381 420 384 1 12 http://pyroflatulence.tv/?p=466<br />
w 400 240 400 288 0<br />
w 400 288 192 336 0<br />
w 192 336 144 400 0<br />
w 560 256 480 400 0<br />
o 41 64 0 43 5.0 9.765625E-5 0 -1<br />
o 43 64 0 35 10.0 9.765625E-5 1 -1</div>
<p>The dimmer printed circuit board is 1.25 x 2.5 inches, small enough to fit inside the single-gang electrical wall switch box.  The pushbutton on/off switch and the up/down dimmer rocker switch mount on the board, but the pushbutton switch is a whole centimeter shorter, and so it rides on a short riser board held up with standoffs.  The four square ground pads at the corners will use 2 cm standoffs to mount to a specially cut wall plate.  There&#8217;s also an interface for digital control of up/down/on/off through a home automation mechanism.  Here is a gerber-generated drawing of the dimmer board:</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_1.png" target="_blank"><img class="alignnone size-thumbnail wp-image-578" title="HouseLEDs02_dimmer_1" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_1-e1269216909845-150x62.png" alt="" width="150" height="62" /></a> <a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_2.png" target="_blank"><img class="alignnone size-thumbnail wp-image-579" title="HouseLEDs02_dimmer_2" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_dimmer_2-e1269216982360-150x63.png" alt="" width="150" height="63" /></a></p>
<p>Anybody who&#8217;s spent a few days in Michigan in February knows I&#8217;ll be popping big static sparks off this switch, so there&#8217;s plenty of ESD diodes and varistors.</p>
<p>The uncredited protagonist of the lamp printed circuit board is a constant current driver called the <a href="http://www.onsemi.com/PowerSolutions/product.do?id=CAT4101" target="_blank">CAT4101</a>.  It&#8217;s very easy to use, takes the higher voltage needed to drive a string of LEDs, and features a PWM/Enable input.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_3.png" target="_blank"><img class="alignnone size-thumbnail wp-image-577" title="HouseLEDs02_lamp_3" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_3-150x98.png" alt="" width="150" height="98" /></a></p>
<p>This sucker is gonna generate some heat.  As many of the parts as I could get are operational up to 125 degrees centigrade&#8230; however all of the fun components start to derate over 70 degrees.  The back side of the board has been cleared for room for a TO-3 transistor style heat sink, with mounting holes.  I specifically selected a heat sink with prongs on it that I could bend, as all the heat sinks pointing into the center of a polyhedron might poke each other&#8230; and I admit that I didn&#8217;t want to actually do the solid modeling or math involved in worrying about that.  The CAT4101 LED driver will need to handle about 5 watts, so it has it&#8217;s own tin-plated surface mount &#8216;D2PAK&#8217; heat sink, which I really hope will be enough.  The lamp boards can be daisy-chained together by two connectors on the back of each, up to the amperage of the power supply.  The PWM signal from the dimmer board is buffered again by a receiver op-amp, and this need only be on the first board of a chain, the others can shunt the op-amp with a solder jumper.  Another solder jumper permits the board to be used &#8216;always on&#8217; without the dimmer.   There&#8217;s a big honking mounting hole in the center of the board, and again, there&#8217;s lots of ESD protection.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_1.png" target="_blank"><img class="alignnone size-thumbnail wp-image-575" title="HouseLEDs02_lamp_1" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_1-150x124.png" alt="" width="150" height="124" /></a> <a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_2.png" target="_blank"><img class="alignnone size-thumbnail wp-image-576" title="HouseLEDs02_lamp_2" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_lamp_2-150x124.png" alt="" width="150" height="124" /></a></p>
<p>The 6500K white LEDs generate 100 lumens at 300 milliamps, the suggested and my projected load (Cree MX-6&#8242;s are available in warmer colors, but with less light output).  This should be 3000 lumens total, which is pretty much enough for surgery.   But&#8230; the digital potentiometer and the response of the LED driver should be near flat-line linear at 400 Hz, so I don&#8217;t have to run it full blast all the time.  It will be nice to be able to turn the lights UP when I really need them (like during teach-yourself brain surgery).</p>
<p><strong><em>February 15th, 2010:</em></strong> I worked all weekend and a holiday, and I&#8217;m convinced that any further soliloquizins&#8217; will just screw me up, so I pushed the buttons.  Everything is ordered.  The Gerber files went into <a href="http://www.protoexpress.com/content/noTouch.jsp" target="_blank">Sierra ProtoExpress&#8217;s &#8220;No Touch&#8221;</a> automatic verification system on the first try.  That&#8217;s scary.  I have no idea if this is even going to work, but it a be a good circuit board dere bubba.  I doubled up the dimmer board and ordered 2, so I&#8217;ll get 4 of them for about $100.  The lamp boards were 6 for $200.  The parts were $300.</p>
<p><strong><em>February 18th, 2010:</em></strong> Most of the parts arrived, and they look pretty good.  <a href="http://www.digikey.com/" target="_blank">Digi-Key</a> did a terrific job again. The power supply is really pretty, and I can adjust it down to 22 volts.  The 5 Cree MX-6&#8242;s on each board are projected to drop 3.3V at 300mA, and the CAT4101 drivers can&#8217;t take more than 25V, so between 17 and 24 volts should be okay.  From the data sheets, the 24V ESD devices will work just fine with less than &#8216;typical&#8217; voltage.  The heat sinks look like they&#8217;ll do the job, putting on the surface mount D2PAK heat sinks looks daunting, I believe I may invest in an electric griddle and try my hand at pancake-style reflow soldering.</p>
<p><em><strong>February 19th, 2010:</strong></em> I have ordered a Reflow Soldering Controller kit from <a href="http://www.sparkfun.com" target="_blank">SparkFun Electronics</a>.  This kit will help me use an infrared toaster oven as a reflow oven.  The LEDs and the D2PAK drivers and heat sinks will just never work out right without this, and I&#8217;ll be needing it in the future for the much finer components I&#8217;ll likely need to use for the wireless home automation.  I&#8217;ll be heading over to Target for the toaster oven.  I wonder how the wife will react to me baking semi-toxic fumes.  I guess I better clean the garage while I&#8217;m waiting for the Fedex and UPS deliveries.</p>
<p><em><strong>February 28th, 2010: </strong></em>The dimmer works perfectly.  All the dimensions are good, all the parts fit.  The voltage regulator isn&#8217;t even getting warm.  I can adjust the hysteresis potentiometer so that one click up from the bottom starts the PWM square wave.  One click from the top, it&#8217;s almost completely on, and then at the top it&#8217;s fully on.  The switch risers and the standoffs measure up well, the LED in the pushbutton switch works.  If I hold the dimmer one way or the other, the Dallastat digital potentiometer clicks one notch, pauses, and then starts ticking along.   When power is lost and restored, it always comes up with the lamp off, and the Dallastat remembers it&#8217;s last setting.  I didn&#8217;t do any breadboarding to test any of this, so I&#8217;m pretty impressed with it.<br />
<a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_dimmer_scope.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-529" title="Oscilloscope on dimmer circuit" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_dimmer_scope-150x121.jpg" alt="" width="150" height="121" /></a> Here is a scope picture of the PWM output, 1 volt / division vertical (center mark is zero), 1 millisecond / division horizontal.  It puts out a very clean 5V square wave at ~330 Hz.  This is 32 clicks (of 63 top to bottom) from the top of the Dallastat, so right around a 50% duty cycle.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_dimmer_built.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-528" title="Dimmer circuit connected to power supply" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_dimmer_built-150x92.jpg" alt="" width="150" height="92" /></a> Here is the built dimmer circuit attached to the power supply.  The pushbutton is lit (it has it&#8217;s own white LED inside), the black thing is the up/down rocker dimmer switch.  The four stand-offs at the corners will connect to the back of the wall switch plate.</p>
<p>The Reflow Toaster controller is not working out very well.  To write any kind of meaningful control program, I had to buy a compiler.  It also won&#8217;t work well with the goofy boot loader that&#8217;s on the chip, so I have to get a programmer.  This is not what I expected, and very disappointing.</p>
<p>So instead, I&#8217;m going to try hand-baking one of the boards.  The Cree lamps are what I&#8217;m worried about the most, but the tin heat sink for the driver transistor would be very difficult to solder by hand, and I&#8217;d likely destroy the transistor in the process.  Here&#8217;s my manual stopwatch profile:</p>
<p>1. cook at 175-200F for 5 minutes (pre-pre-heat)<br />
2. bump to 275F, cook for 2 minutes (pre-heat)<br />
3. bump to 410F.  As soon as it melts, count to 10, turn off heat and crack open the door.<br />
4. Open the door a little wider after a minute.  Cool down shouldn&#8217;t happen faster than 2 &#8211; 3 minutes, so walk away and have a smoke.</p>
<p>I worry too much.  It all worked out great, and I&#8217;ve cooked up one pentagon.  And the result&#8230;</p>
<p>It works.  It would work better if I remembered that LEDs are polarized.  I got too excited and got two of them backwards on the first pentagon.  However, I soldered the bypasses on the two and calibrated the amperage to 300mA, so the working three are fully loaded.</p>
<p>It&#8217;s using a lot more wattage than I suspected.  The three working LEDs are using 7 watts according to my Kill-A-Watt meter, which measures at the plug.  It&#8217;s bright, but it&#8217;s also getting hot.  I&#8217;ll have to risk it and let it cook for a while and see if it cuts out.  The driver transistor has a thermal shut-off if it gets too warm, and I suspect it will.  I may only be able to use two or three LEDs per pentagon with this design.</p>
<p>On the second pentagon, I discovered a <em><strong>design flaw</strong></em>.  I&#8217;ve made the driver pins too close to the ground plane, and pins other than 5V shorted through the solder mask.  I fried the driver transistor.  When investigating this on the first pentagon, I found a solder ball behind the pins, which shorted the LED return to ground putting <em>full amperage to the LEDs</em>, and fried one of the LEDs.  Hard lesson learned.  The first now has two working LEDs (at least I didn&#8217;t fry the driver on that one) and the second is toast.  It&#8217;ll be difficult to rework them.  I repaired all the boards with a dremel.</p>
<p>I made a third pentagon, and that one is working great.  With 5 LEDs, it&#8217;s drawing only 6 watts at full amperage and full on PWM, which is much closer to what I was expecting.  It&#8217;s hot, both the back heat sink and the driver surface mount heatsink are hot, but not so hot that I can&#8217;t hold them and keep my fingers on them.  This suggests that they are working within acceptable limits, and I can turn down the amperage a little and be pretty comfortable that this circuit will last a long time.  I&#8217;ll get a temperature sensor soon and find out for sure exactly how hot they&#8217;re getting.  The amperage adjustment trimmer starts at 0.20A fully clockwise, and turned up to 0.25A is plenty bright and allows some comfortable lee way, Cree MX-6 nominal amperage is 0.30A, absolute maximum is 0.35A.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_built.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-540" title="built lamp pentagon" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_built-150x134.jpg" alt="" width="150" height="134" /></a> Here&#8217;s the third pentagon working</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_desk.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-536" title="My work desk" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs02_desk-150x99.jpg" alt="" width="150" height="99" /></a> Here&#8217;s a shot of my desk</p>
<p><em><strong>March 7th, 2010: </strong></em>I&#8217;ve been doing some thermal testing.  The programmer for the PIC chip came, and the toaster controller works.  SparkFun also sent the wrong PIC chips I ordered, big surprise&#8230; they got something else wrong.  I&#8217;m not sure I want to pursue it.  But the controller has a working thermocouple on it, and taped to the bottom of one LED, I ran the light at full blast under a porcelain food bowl.  I ran it long enough to stabilize the temperature, and it does get hot.  At full amperage, 300mA, it goes up to 78C.  At 250mA, it goes to 71C.  This is just over the limit, at 70C most of the active and critical parts start to derate rapidly.  With the bowl removed, it stabilizes at around 57C.  This is pretty good.  I can&#8217;t truly seal the thing inside a glass fixture, but given any amount of air flow, it should be just fine at nominal 300mA amperage.</p>
<p>Cree does <a href="http://www.cree.com/products/pdf/XLampMX-6_Reliability.pdf" target="_blank">&#8220;High Temperature Output Life&#8221;</a> testing on their stock, they cook LEDs at 85C for 1008 hours and ensure that light output is not diminished by more than 15%.  Running at less than 60C, I&#8217;m guessing that I&#8217;ll have plenty of light from these for a long time.  My goal is about 250K hours, or 25 years.</p>
<p>I&#8217;ve cooked up the remaining boards.  I&#8217;ve also successfully repaired my hot air pencil, and removed the parts I messed up from the first two boards.  Replacements are on the way, I just hope I can successfully reflow them again.  A tip o&#8217; the hat to my friend John who pointed me to <a href="http://custompcb.com/" target="_blank">Silver Circuits ( http://custompcb.com/ )</a> who I&#8217;ll be trying next time.</p>
<p>It&#8217;s continuing to use more wattage than I expected.  The third board with 5 LEDs at full dwell reports 12 watts on my Kill-A-Watt.  The first pentagon was doing 7 watts with three working LEDs, so this makes sense.  I&#8217;ve ordered the next size power supply.   Sometime I can make another lamp with only 3 or 4 pentagons and use the other one.  I measured this one at 6 watts before?  It&#8217;s possible that this one is goofy, I&#8217;ll have to finish the last 3 pentagons and see what they do.</p>
<p><em><strong>Wednesday, March 10th, 2010: </strong></em>I am a knucklehead.  I didn&#8217;t need the new power supply (which is here and very pretty) it&#8217;s only using 7-8 watts per pentagon.  I had the Kill-A-Watt set to volt-amps (VA), instead of watts.  It&#8217;s pulling 12-13 VA, and 7-8 watts.  I don&#8217;t even know what a volt-amp is.  Well, I&#8217;ve got a big honking power supply for the next project and this sucker is working per specs I was expecting, woo hoo!  Replacement parts have arrived, and the Fluke 62 Mini infrared temperature sensor gun is here, it confirms the temperatures I was seeing with the thermocouple.  Nothing in the way of final assembly now, just need the time and energy.  The weather has really warmed up, so I may even get a chance to &#8216;splore the attic a bit and see what&#8217;s going to have to happen there for the installation.</p>
<p><em><strong>Monday, March 15th, 2010:</strong></em> Driver transistors are dropping like flies.  I&#8217;m not completely sure what I&#8217;m doing to them, but when everything else looks like it&#8217;s working perfectly but there&#8217;s just no current, I&#8217;m replacing the transistor.  I&#8217;m pretty sure it has to do with me testing the 5V supplies without the filter capacitor in place.  I&#8217;m actually getting pretty good at using the hot air rework to remove the transistor and the surface-mount heat sink, I just wish they weren&#8217;t electrically so <em>fragile</em>.  I&#8217;ll be adding more protection in the final version of this circuit.</p>
<p>I&#8217;ve wired the reflow toaster with the controller, it works.  It will need some calibration, it heats up 1 degree Celcius per second, but doesn&#8217;t really cool off very fast.  I don&#8217;t have a serial port on any of my working portables, so I&#8217;m waiting on a USB-to-serial cable so I can capture and graph the temperatures.</p>
<p>More spare parts, more hurry up and wait.  This is what I get for going straight to prototype without component level testing.  But hey, the dimmer worked right the first time, so it could be worse.</p>
<p><em><strong>Thursday, March 18th, 2010</strong></em>: More transistors are here, and USB to serial port is here.  I plugged it into the old laptop and it recognized and started the serial port driver instantly, I love Kubuntu Karmic Koala.</p>
<p>I&#8217;ve also purchased an <a href="http://www.atmel.com/dyn/products/tools_card_mcu.asp?tool_id=4175" target="_blank">Atmel EVK1101 AT32UC30256 evaluation / demonstration circuit board</a>, and an <a href="http://www.atmel.com/dyn/products/tools_card_mcu.asp?tool_id=3891" target="_blank">Atmel &#8220;Dragon&#8221; programmer/debugger</a>.  These are for experimentation with using the <a href="http://www.one-net.info/" target="_blank">One-Net</a> protocol for wireless home automation&#8230; but this is for another posting.</p>
<p>So once again&#8230; barring any more <a href="http://en.wikipedia.org/wiki/Idiot" target="_blank">stupid errors on my part</a>, I <em><strong>may</strong></em> be able to do the final assembly this weekend.  Big maybe, baby, I&#8217;ve got the next project all lined up and ready, but there&#8217;s <a href="http://dragonage.bioware.com/awakening/" target="_blank">one other problem</a>.  I&#8217;m thinking I can resist it long enough to get some work done.</p>
<p><em><strong>Sunday, March 21st, 2010: </strong></em>It works pretty well.  I abandoned the power connectors, they were just too much trouble.  Copper foil tape also didn&#8217;t work well connecting the pentagons, I used a piece of wire in between the boards and just leaded the hell out of them.  It&#8217;s messy, but it&#8217;s pretty solid.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box2.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-586" title="HouseLEDs_02_lamp_in_box2" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box2-150x141.jpg" alt="" width="150" height="141" /></a> The lamp, all 6 pentagons assembled</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box4.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-584" title="HouseLEDs_02_lamp_in_box4" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box4-150x146.jpg" alt="" width="150" height="146" /></a> This is the lamp with the LEDs at full brightness, and using a camera flash.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box1.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-587" title="HouseLEDs_02_lamp_in_box1" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box1-150x106.jpg" alt="" width="150" height="106" /></a> Here&#8217;s the whole setup: power supply, dimmer, lamp and tape measure for scale<a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box1.jpg" target="_blank"><br />
</a></p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box3.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-585" title="HouseLEDs_02_lamp_in_box3" src="http://pyroflatulence.tv/wp-content/uploads/2010/02/HouseLEDs_02_lamp_in_box3-150x102.jpg" alt="" width="150" height="102" /></a> Here&#8217;s a shot in the box with no camera flash and the lamp turned down to one click above off&#8230; 1/64th, or ~ 1.5% of maximum brightness.</p>
<p><em><strong>Saturday, April 3rd, 2010:</strong></em> I had to turn down the amperage.  At nominal 0.3 amps and full brightness (100% PWM dwell), it gets too hot.  A few places were creeping above 75 degrees C, and I really have to draw the line there.  Turned down to 0.25A (individually controllable per pentagon), I haven&#8217;t seen any scanned spot go over 65 degrees C.  Turning down the amperage will cost 15% of light output, but that&#8217;s why it was over engineered in the first place.</p>
<p>I&#8217;ve been thinking about another design using a snap-together linear railed model rather than this polyhedral design, but again, that will need it&#8217;s own post someday, and if I ever build it.</p>
<p>It&#8217;s time for me to get practical on this, I have to buy a hard box to put the power supply in, and mount the sucker in the ceiling.  The weather in improving rapidly, I think I may have to get on this for this Easter weekend.</p>
<hr />Here is the bill of materials that I used:</p>
<table border="1">
<tbody>
<tr>
<th>Digi-Key Part Number</th>
<th>Manufacturer</th>
<th>Manufacturer Part Number</th>
<th>Quantity</th>
<th>Description</th>
<th>Notes</th>
</tr>
<tr>
<td>
<h5>MAX6816EUS+TCT-ND</h5>
</td>
<td>
<h5>MAXIM INTEGRATED PRODUCTS (VA)</h5>
</td>
<td>
<h5>MAX6816EUS+T</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC DEBOUNCER SWITCH SGL SOT143-4</h5>
</td>
<td>
<h5>debounce IC for on/off pushbutton switch on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>DS1809Z-010+-ND</h5>
</td>
<td>
<h5>MAXIM INTEGRATED PRODUCTS</h5>
</td>
<td>
<h5>DS1809Z-010+</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC DALLASTAT 10K 8-SOIC</h5>
</td>
<td>
<h5>64-step non-volatile dimmer digital potentiometer, configured to save value to EEPROM when power fails</h5>
</td>
</tr>
<tr>
<td>
<h5>MMBT3904FSCT-ND</h5>
</td>
<td>
<h5>FAIRCHILD SEMICONDUCTOR (VA)</h5>
</td>
<td>
<h5>MMBT3904</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>TRANSISTOR GP NPN AMP SOT-23</h5>
</td>
<td>
<h5>drives the LED on the on/off switch on the dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>445-1604-1-ND</h5>
</td>
<td>
<h5>TDK CORPORATION (VA)</h5>
</td>
<td>
<h5>C1608X7R1C105K</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>CAP CER 1.0UF 16V X7R 10% 0603</h5>
</td>
<td>
<h5>used on the dimmer board  to delay the &#8216;reset&#8217; logic pull-up on the &#8216;D&#8217; flip flop&#8230; optional, but if used may ensure that the lamp always is OFF when power is applied</h5>
</td>
</tr>
<tr>
<td>
<h5>EG4661-ND</h5>
</td>
<td>
<h5>E-SWITCH</h5>
</td>
<td>
<h5>LP4OA1PBBTW</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>SWITCH PB ILL DPDT MOM WHI LED</h5>
</td>
<td>
<h5>momentary pushbutton switch with white 20mA LED, for dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>CG0603MLC-05LECT-ND</h5>
</td>
<td>
<h5>BOURNS INC (VA)</h5>
</td>
<td>
<h5>CG0603MLC-05LE</h5>
</td>
<td align="RIGHT">
<h5>20</h5>
</td>
<td>
<h5>SUPPRESSOR ESD 5VDC 0603 SMD</h5>
</td>
<td>
<h5>5V varistors for ESD protection, used on all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>641-1086-1-ND</h5>
</td>
<td>
<h5>COMCHIP TECHNOLOGY (VA)</h5>
</td>
<td>
<h5>CEBS065V0-G</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>TVS ESD BIDIRECT 5V SOT23-6</h5>
</td>
<td>
<h5>5V zener gang, 4 bidirectional ESD protection circuits, used on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>ST32ETB102CT-ND</h5>
</td>
<td>
<h5>COPAL ELECTRONICS INC (VA)</h5>
</td>
<td>
<h5>ST32ETB102</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>POT 1.0K OHM 3MM CERM SQ TOP SMD</h5>
</td>
<td>
<h5>PWM hysteresis adjustment trimmer potentiometer on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>CAT4101TV-T75CT-ND</h5>
</td>
<td>
<h5>ON SEMICONDUCTOR (VA)</h5>
</td>
<td>
<h5>CAT4101TV-T75</h5>
</td>
<td align="RIGHT">
<h5>6</h5>
</td>
<td>
<h5>IC LED DRVR HP CONST CURR D2PAK</h5>
</td>
<td>
<h5>LED drivers with PWM input, for lamp boards</h5>
</td>
</tr>
<tr>
<td>
<h5>RR08P6.8KDCT-ND</h5>
</td>
<td>
<h5>SUSUMU CO LTD (VA)</h5>
</td>
<td>
<h5>RR0816P-682-D</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RES 6.8K OHM 1/16W .5% 0603 SMD</h5>
</td>
<td>
<h5>precision resistors for the triangle wave generator on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>RR08P5.9KDCT-ND</h5>
</td>
<td>
<h5>SUSUMU CO LTD (VA)</h5>
</td>
<td>
<h5>RR0816P-5901-D-75H</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RES 5.9K OHM 1/16W .5% 0603 SMD</h5>
</td>
<td>
<h5>precision resistor for the triangle wave generator on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>RMCF1/1610KFRCT-ND</h5>
</td>
<td>
<h5>STACKPOLE ELECTRONICS INC (VA)</h5>
</td>
<td>
<h5>RMCF 1/16 10K 1% R</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RES 10K OHM 1/10W 1% 0603 SMD</h5>
</td>
<td>
<h5>5V pull-ups for logic high on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>338-1821-1-ND</h5>
</td>
<td>
<h5>CORNELL DUBILIER ELECTRONICS (CDE) (VA)</h5>
</td>
<td>
<h5>AVRF108M06F24T-F</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>CAP ALUM 1000UF 6.3V ELECT SMD</h5>
</td>
<td>
<h5>5V voltage tanks, buffers 5V power circuits, for all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>568-4053-1-ND</h5>
</td>
<td>
<h5>NXP SEMICONDUCTORS (VA)</h5>
</td>
<td>
<h5>PESD5V0S1BA,115</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>DIODE BIDIR ESD PROTECT SOD323</h5>
</td>
<td>
<h5>5V bidirectional zener diodes for ESD protection</h5>
</td>
</tr>
<tr>
<td>
<h5>360-2263-ND</h5>
</td>
<td>
<h5>NKK SWITCHES OF AMERICA INC</h5>
</td>
<td>
<h5>M2018TZW13-JA-RO</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>SW ROCKER SPDT BK SILV .250&#8243; PC</h5>
</td>
<td>
<h5>dimmer rocker switch, SPDT momentary with center off</h5>
</td>
</tr>
<tr>
<td>
<h5>338-1841-1-ND</h5>
</td>
<td>
<h5>CORNELL DUBILIER ELECTRONICS (CDE) (VA)</h5>
</td>
<td>
<h5>AVEK107M35G24T-F</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>CAP ALUM 100UF 35V ELECT SMD</h5>
</td>
<td>
<h5>LED voltage tanks, helps buffer the voltage going into the LED drivers on the lamp boards</h5>
</td>
</tr>
<tr>
<td>
<h5>ST32ETB202CT-ND</h5>
</td>
<td>
<h5>COPAL ELECTRONICS INC (VA)</h5>
</td>
<td>
<h5>ST32ETB202</h5>
</td>
<td align="RIGHT">
<h5>6</h5>
</td>
<td>
<h5>POT 2.0K OHM 3MM CERM SQ TOP SMD</h5>
</td>
<td>
<h5>LED amperage adjustment trimmer potentiometer on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>MX6AWT-A1-R250-000C51CT-ND</h5>
</td>
<td>
<h5>CREE INC (VA)</h5>
</td>
<td>
<h5>MX6AWT-A1-R250-000C51</h5>
</td>
<td align="RIGHT">
<h5>30</h5>
</td>
<td>
<h5>LED XLAMP COOL WHITE 6500K SMD</h5>
</td>
<td>
<h5>Payload!</h5>
</td>
</tr>
<tr>
<td>
<h5>A31297-ND</h5>
</td>
<td>
<h5>TYCO ELECTRONICS AMP</h5>
</td>
<td>
<h5>3-640426-3</h5>
</td>
<td align="RIGHT">
<h5>25</h5>
</td>
<td>
<h5>CONN RECEPT 3POS 18AWG MTA156</h5>
</td>
<td>
<h5>power plugs, used on all ground/24V/PWM connections</h5>
</td>
</tr>
<tr>
<td>
<h5>HS406-ND</h5>
</td>
<td>
<h5>AAVID THERMALLOY</h5>
</td>
<td>
<h5>7109DG</h5>
</td>
<td align="RIGHT">
<h5>6</h5>
</td>
<td>
<h5>BOARD LEVEL HEATSINK .45&#8243; D-PAK</h5>
</td>
<td>
<h5>LED driver surface mount heat sinks for lamp board</h5>
</td>
</tr>
<tr>
<td>
<h5>LM2931AD-5.0R2GOSCT-ND</h5>
</td>
<td>
<h5>ON SEMICONDUCTOR (VA)</h5>
</td>
<td>
<h5>LM2931AD-5.0R2G</h5>
</td>
<td align="RIGHT">
<h5>7</h5>
</td>
<td>
<h5>IC REG LDO 100MA 5V 8SOIC</h5>
</td>
<td>
<h5>5V regulators, one on each dimmer and lamp board</h5>
</td>
</tr>
<tr>
<td>
<h5>A26230-ND</h5>
</td>
<td>
<h5>TYCO ELECTRONICS AMP</h5>
</td>
<td>
<h5>382811-9</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>SHUNT, ECON, PHBR 15AU, RED</h5>
</td>
<td>
<h5>amperage test jumper on dimmer board, this can be removed when testing the amperage to the LEDs during adjustment</h5>
</td>
</tr>
<tr>
<td>
<h5>WM8108-ND</h5>
</td>
<td>
<h5>MOLEX CONNECTOR CORPORATION</h5>
</td>
<td>
<h5>90121-0762</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>CONN HEADER 2POS .100&#8243; R/A GOLD</h5>
</td>
<td>
<h5>amperage test 2-pin header on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>HS264-ND</h5>
</td>
<td>
<h5>AAVID THERMALLOY</h5>
</td>
<td>
<h5>500403B00000G</h5>
</td>
<td align="RIGHT">
<h5>6</h5>
</td>
<td>
<h5>HEATSINK TO-3 12W H=1.25&#8243; BLK</h5>
</td>
<td>
<h5>aluminum TO-3 heat sinks for the back of the lamp boards</h5>
</td>
</tr>
<tr>
<td>
<h5>495-2285-1-ND</h5>
</td>
<td>
<h5>KEMET (VA)</h5>
</td>
<td>
<h5>B45196H6106M309</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>CAP TANTALUM 10UF 35V 20% SMD</h5>
</td>
<td>
<h5>dimmer capacitors, power buffering and digital potentiometer non-volatile EEPROM support</h5>
</td>
</tr>
<tr>
<td>
<h5>490-1519-1-ND</h5>
</td>
<td>
<h5>MURATA ELECTRONICS (VA)</h5>
</td>
<td>
<h5>GRM188R71H104KA93D</h5>
</td>
<td align="RIGHT">
<h5>20</h5>
</td>
<td>
<h5>CAP CER .1UF 50V 10% X7R 0603</h5>
</td>
<td>
<h5>ripple rejection power supply capacitors, used on all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>568-4034-1-ND</h5>
</td>
<td>
<h5>NXP SEMICONDUCTORS (VA)</h5>
</td>
<td>
<h5>PESD24VL1BA,115</h5>
</td>
<td align="RIGHT">
<h5>7</h5>
</td>
<td>
<h5>DIODE ESD PROTECTION SOD323</h5>
</td>
<td>
<h5>24V bidirectional zener diodes for ESD protection, used on all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>CG0603MLU-24ECT-ND</h5>
</td>
<td>
<h5>BOURNS INC (VA)</h5>
</td>
<td>
<h5>CG0603MLU-24E</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>SUPPRESSOR ESD 24VDC 0603 SMD</h5>
</td>
<td>
<h5>24V varistors for ESD protection, used on all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>24393K-ND</h5>
</td>
<td>
<h5>KEYSTONE ELECTRONICS</h5>
</td>
<td align="RIGHT">
<h5>24393</h5>
</td>
<td align="RIGHT">
<h5>4</h5>
</td>
<td>
<h5>STANDOFF METRIC HEX M3 THD 10MM</h5>
</td>
<td>
<h5>brass standoffs for pushbutton switch riser on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>641-1282-1-ND</h5>
</td>
<td>
<h5>COMCHIP TECHNOLOGY (VA)</h5>
</td>
<td>
<h5>CDBU0130L</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>DIODE SCHOTTKY 100MA 30V 0603</h5>
</td>
<td>
<h5>schottky diode for dimmer digital potentiometer non-volatile EEPROM support</h5>
</td>
</tr>
<tr>
<td>
<h5>S2A-FDICT-ND</h5>
</td>
<td>
<h5>DIODES INC (VA)</h5>
</td>
<td>
<h5>S2A-13-F</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RECTIFIER GPP 50V 1.5A SMB</h5>
</td>
<td>
<h5>safety diodes, prevent reverse voltage damage, used on all boards</h5>
</td>
</tr>
<tr>
<td>
<h5>MF-SM075CT-ND</h5>
</td>
<td>
<h5>BOURNS INC (VA)</h5>
</td>
<td>
<h5>MF-SM075-2</h5>
</td>
<td align="RIGHT">
<h5>6</h5>
</td>
<td>
<h5>FUSE RESETTABLE .75A 30V SMD</h5>
</td>
<td>
<h5>LED PTCs, high enough value to offset their low thermal derating, but still some safety in case of runaway current on lamp boards</h5>
</td>
</tr>
<tr>
<td>
<h5>M74VHC1GT125DT1GOSCT-ND</h5>
</td>
<td>
<h5>ON SEMICONDUCTOR (VA)</h5>
</td>
<td>
<h5>M74VHC1GT125DT1G</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC BUFF CMOS LVL/SFTR N-I SOT235</h5>
</td>
<td>
<h5>PWM receiver buffer for lamp circuit (not needed on each lamp board)</h5>
</td>
</tr>
<tr>
<td>
<h5>MCP6L94T-E/SLCT-ND</h5>
</td>
<td>
<h5>MICROCHIP TECHNOLOGY</h5>
</td>
<td>
<h5>MCP6L94T-E/SL</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC OPAMP 10MHZ 2.4V 14-SOIC</h5>
</td>
<td>
<h5>PWM sender quad op-amp for dimmer board triangle wave generator</h5>
</td>
</tr>
<tr>
<td>
<h5>MC74VHC1G08DTT1GOSCT-ND</h5>
</td>
<td>
<h5>ON SEMICONDUCTOR (VA)</h5>
</td>
<td>
<h5>MC74VHC1G08DTT1G</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC GATE AND SGL CMOS 2IN SOT23-5</h5>
</td>
<td>
<h5>AND gate, combines PWM and on/off signal on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>568-4494-1-ND</h5>
</td>
<td>
<h5>NXP SEMICONDUCTORS (VA)</h5>
</td>
<td>
<h5>74LVC1G74DC,125</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>IC SNGL D FF POS-EDG TRIG 8VSSOP</h5>
</td>
<td>
<h5>D flip-flop with set/reset, used for single pushbutton on/off signal on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>A24165-ND</h5>
</td>
<td>
<h5>TYCO ELECTRONICS AMP</h5>
</td>
<td>
<h5>644752-3</h5>
</td>
<td align="RIGHT">
<h5>25</h5>
</td>
<td>
<h5>CONN HEADER VERT 3POS .156 TIN</h5>
</td>
<td>
<h5>male pin power jacks, used on all boards for Ground/24V/PWM connections</h5>
</td>
</tr>
<tr>
<td>
<h5>102-1937-ND</h5>
</td>
<td>
<h5>CUI INC</h5>
</td>
<td>
<h5>VGS-50-24</h5>
</td>
<td align="RIGHT">
<h5>1</h5>
</td>
<td>
<h5>POWER SUPPLY 52.8W 24V 2.2A METAL</h5>
</td>
<td>
<h5>power supply, 100-240VAC input, 24VDC 50 watt output</h5>
</td>
</tr>
<tr>
<td>
<h5>RMCF1/16300FRCT-ND</h5>
</td>
<td>
<h5>STACKPOLE ELECTRONICS INC (VA)</h5>
</td>
<td>
<h5>RMCF 1/16 300 1% R</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RES 300 OHM 1/10W 1% 0603 SMD</h5>
</td>
<td>
<h5>resistor for LED in the on/off switch on dimmer board</h5>
</td>
</tr>
<tr>
<td>
<h5>311-680DCT-ND</h5>
</td>
<td>
<h5>YAGEO (VA)</h5>
</td>
<td>
<h5>RT0603DRD07680RL</h5>
</td>
<td align="RIGHT">
<h5>10</h5>
</td>
<td>
<h5>RES 680 OHM 1/10W .5% 0603 SMD</h5>
</td>
<td>
<h5>LED amperage adjustment constant, ensures LED driver shouldn&#8217;t be adjusted for more than 800 mA, used on lamp boards</h5>
</td>
</tr>
<tr>
<td>
<h5>24437K-ND</h5>
</td>
<td>
<h5>KEYSTONE ELECTRONICS</h5>
</td>
<td>
<h5>24437</h5>
</td>
<td align="RIGHT">
<h5>4</h5>
</td>
<td>
<h5>STANDOFF HEX M3 THR ALUM 20MM</h5>
</td>
<td>
<h5>standoffs for dimmer mounting to wall plate</h5>
</td>
</tr>
</tbody>
</table>
<p>What I&#8217;ve missed so far:</p>
<ul>
<li>explore option to bypass the 5V regulator on daisy-chained successor lamp boards,  100mA should be enough for 6 boards or more</li>
<li>move the pushbutton switch ESD components to the riser (maybe not)</li>
<li>add lots more ground plane vias around the LEDs</li>
<li><span style="text-decoration: line-through;">reverse the dimmer rocker switch!  The pushbutton switch should be above the rocker when mounted, and then the rocker should have &#8216;up&#8217; make the lights brighter.  The switch is currently (electrically) upside down</span> I must have gotten this backwards twice, because it&#8217;s working correctly.</li>
</ul>
<hr /><a class="alignleft" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="alignleft" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" border="0" alt="Creative Commons License" /> </a></p>
<p>Copyright (c) 2010, Roger Cody Venable (MDVE.NET).   Some rights reserved.</p>
<p>This design is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=466</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>House lights</title>
		<link>http://pyroflatulence.tv/?p=394</link>
		<comments>http://pyroflatulence.tv/?p=394#comments</comments>
		<pubDate>Sun, 31 Jan 2010 00:00:05 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=394</guid>
		<description><![CDATA[WARNING ALL STANDARD DISCLAIMERS APPLY.  THIS DESIGN WILL NOT WORK FOR YOU, DON&#8217;T BUILD THIS.  THIS IS NOT FOR BEGINNERS. YOU OR OTHERS CAN BE HURT OR KILLED.  I AM NOT RESPONSIBLE FOR ANYTHING.  EAT YOUR VEGETABLES.  DON&#8217;T BELIEVE EVERYTHING YOU READ ON THE INTERNET. TURN OFF THIS COMPUTER NOW. Problem I am beginning to [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">WARNING</span></strong><span style="color: #ff0000;"><br />
ALL <a href="http://pyroflatulence.tv/?page_id=444" target="_blank">STANDARD DISCLAIMERS</a> APPLY.  THIS DESIGN WILL NOT WORK FOR YOU, DON&#8217;T BUILD THIS.  <a href="http://www.youtube.com/watch?v=Bryauv2pRy0" target="_blank">THIS IS NOT FOR BEGINNERS.</a> YOU OR OTHERS CAN BE <a href="http://images.google.com/images?q=electrocuted" target="_blank">HURT OR KILLED</a>.  I AM NOT RESPONSIBLE FOR ANYTHING.  EAT YOUR VEGETABLES.  DON&#8217;T BELIEVE EVERYTHING YOU READ ON THE INTERNET.</span> <strong><span style="color: #ff0000;">TURN OFF THIS COMPUTER NOW.</span></strong></p>
<p><strong>Problem</strong><br />
I am beginning to have need of additional lighting in my house.  A few years ago, my eyes started to show age, and this is not a trend I expect to reverse itself.  It&#8217;s the 21st century, I&#8217;m bored with snapping on and off light switches as I move from room to room, so I&#8217;m building a few lamps I can use.  These will be especially helpful in stairwells, but also in my basement.</p>
<p><strong>Goals</strong></p>
<ul>
<li>Motion activated &#8211; this is pretty easy, if nothing in the area is moving, it probably doesn&#8217;t need to be illuminated.  This also implies adjustments for sensitivity (will it trigger for me, a cat, or a mosquito) and delay (how long does it stay on after triggering).</li>
<li>Ambient light sensor &#8211; no point turning on a lamp when there&#8217;s already enough light</li>
<li>Energy efficiency &#8211; uses pennies worth of juice each year.  Ideally, this works during a grid power outage, and/or is completely self sustaining through auxiliary power generation devices like solar panels, a micro-windmill, or a windbelt humdinger.  It should be bright enough to keep me from tripping over laundry, not for reading.</li>
<li> Solid state &#8211; no maintenance required other than occasional dusting.  Zero recurrent costs.</li>
</ul>
<p><strong>Vision</strong><br />
Create a device which triggers one or more high-brightness white light LEDs.  Device will use low voltage DC power supply, centrally located to supply multiple devices throughout a house.  Device will be installable using a circular hole saw through existing drywall, power supplied through in-wall wiring.</p>
<p><span id="more-394"></span></p>
<p><strong>Design</strong></p>
<p><strong> <a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs_schematic.png" target="_blank"><img class="size-medium wp-image-405 alignnone" title="HouseLEDs_schematic" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs_schematic-320x210.png" alt="" width="200" height="131" /></a></strong></p>
<p>The schematic accommodates  a dual output (+3.3V, 3 &#8211; 4 V adjustable, max 1 amp each side) power supply chip, an ambient light sensor phototransistor, the Zilog ePIR (infrared) motion detector module, three trimmers for the module control (detector sensitivity, triggered &#8216;on&#8217; time, and ambient light level), a0.1 Farad aerogel power filter capacitor, the Cree XLampXP-E LED, a normally-closed optically isolated MOSFET, an N-channel power MOSFET, a PTC (thermally active resettable fuse), a power diode, and a handful of passive support components.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/gerb1.png" target="_blank"><img class="size-thumbnail wp-image-397 alignleft" title="Circuit board top side" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/gerb1-150x150.png" alt="" width="150" height="150" /></a> This is a circuit board designed with <a href="http://www.cadsoftusa.com/" target="_blank">CadSoft Eagle</a> .  The motion detector is a <a href="http://www.zilog.com/docs/devtools/PS0284.pdf " target="_blank">Zilog ePIR module</a>, which is quite cheap (for what it does) and very simple to use.  After a bit of reading online, I&#8217;ll be using <a href="http://www.cree.com/products/pdf/XLampXP-E.pdf" target="_blank">Cree XLampXP-E</a> (group Q5) LEDs.  There will be a fairly good power supply on board, so the circuit will need about 5.5 &#8211; 7 relatively clean DC volts at half an ampere.  Also included is an ambient light detector (the light doesn&#8217;t need to be turned on unless it&#8217;s dark), and opto-isolation between the trigger logic and the relatively high-power LED.  The LED voltage can be adjusted between 3 &#8211; 4 volts, and there is a PTC device which may help protect the LED from overload.  The Cree LED is rated for 700mA, but I&#8217;ll be running it at 400mA.</p>
<p>According to a very brief internet research performed by me while mildly intoxicated, a 60 watt standard Edison light bulb puts out about 900 lumens.  I&#8217;ll be using 1.3 watts to drive a 107 lumen LED at around 110%, so about 1/8th the output of conventional lighting at 1/40th the power.  Since I&#8217;m driving the LED at 4/7ths of it&#8217;s rated maximum, so it should last a long, long time:  &#8220;Based on  internal  long-term  reliability  testing, Cree projects  royal blue, blue, green and white XLamp XP-E LEDs to maintain an average of 70% lumen maintenance after 50,000 hours, provided the LED junction temperature is maintained at or below 135°C and the LED is operated with a constant current of up to 700 mA&#8221;.   Heat is a big factor, the luminosity ratings drop precipitously with heat, especially with the white ones.  For this, I have designed for a heat sink on the back of the board.</p>
<p>So I&#8217;m prepping to make 6 units.  I&#8217;ve ordered the parts from <a href="http://www.digikey.com/" target="_blank">Digi-Key</a> , $195.86 + shipping.  Circuit board manufacture: 7 boards from <a href="http://www.protoexpress.com/" target="_blank">Sierra Proto Express</a> with 10 day turn-around, $189 (provided I don&#8217;t screw it up totally and the boards can actually be used).  I can also expand this circuit to use multiple LEDs in a grid, I just have to increase the amperage and the thermal handling.  I can definitely see making 8 or 12 LED units if I like the way this works out, something that mounts on or in an existing drop-ceiling acoustic tile would be neat.  I can add in a battery charging and backup circuit, a small 6-volt motorbike battery should power a few LEDs for hours.</p>
<p>At ~ $70 each, I hope these live up to their &#8216;mean time between failure&#8217; specifications.</p>
<p>Here are the gerber files I submitted for manufacture: <strong><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs-01d.zip">HouseLEDs-01d.zip</a></strong>.  See license below.<strong><br />
</strong></p>
<p><em>January 13th, 2010</em> &#8211; sweet savior on a pogo stick but Digi-Key and the United States Postal Service are fast.  The parts are here.  I swear those 0603 capacitors are the size of a mosquito&#8217;s nose, but I have faith that I have the tools that can do it.  Or&#8230; make a big honking expensive mess trying .  The Zilog modules are cool, the LEDs were humidity packed, and the aerogel caps are scary small for their rated power.<a href="http://www.protoexpress.com/" target="_blank"><br />
Sierra Proto Express</a> gave me a call, very kind of them.  Aparently they have a service where they&#8217;ll put on the more complicated parts, which makes fairly complex single-board computers a distinct possibility for me, since some of those high density quad flat packages use very very fine wires.</p>
<div id="attachment_411" class="wp-caption alignnone" style="width: 210px"><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs-01.png" target="_blank"><img class="size-medium wp-image-411" title="HouseLEDs-01" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs-01-320x261.png" alt="" width="200" height="163" /></a><p class="wp-caption-text">POV-Ray generated with Eagle 3D</p></div>
<p><em>Wednesday, January 27th, 2010</em>:  <a href="http://www.protoexpress.com/" target="_blank">Sierra Proto Express</a> says the boards have been shipped, and they&#8217;ll be here in time for me to work this weekend, so I should know soon if this design has any merit to it.  I&#8217;ve made this board pretty much just on math, I didn&#8217;t do any testing&#8230; so I&#8217;m interested in finding out just how close to reality are my limited electrical engineering skills.</p>
<p><em>Thursday, January 28th, 2010</em>: YAY for <a href="http://fedex.com/" target="_blank">Fedex</a> who got the PCBs here a day early.  I&#8217;ve built one of them and <strong>it works&#8230; <em>except&#8230;</em></strong></p>
<p>There is one error.  The MOSFET leaks a small but significant amount of current.  The MOSFET gate switches from 0.01 to 3.29 volts pretty cleanly when the detector is triggered, but there&#8217;s just enough leakage through the MOSFET that the LED doesn&#8217;t go completely off&#8230; so it lights up with just a slight glow even when there&#8217;s no motion detected.  It&#8217;s such a small amount that I&#8217;m not sure I&#8217;m worried about it, but I&#8217;ll measure how much current it&#8217;s leaking when I build the second one.  I&#8217;m guessing it&#8217;s only a few milliamps.</p>
<p><em>Saturday, January 30th, 2010</em>: I made the other 5 lamps.  It was difficult, my hot air pencil is not heating properly, and two of the LEDs cracked the lens as I was heating them.  The little clear drop of plastic on these Cree LEDs is not actually solid, but kinda like a very stiff silicon gel, and when heated unevenly, it will shatter off a shard.  They still work, so I live and learn, but at $5.61 each, I was slightly disappointed.  Nobody is at fault, these are not designed for hand assembly, and I am making a modern high-efficiency silicon crystal lamp using stone knives and bear skins.</p>
<p>At least they&#8217;re all wired and assembled, all components are showing correct function, at least as designed.  Not the kind of work I can do a lot of, my eyes are pretty sore.  The error is more severe than I had hoped, and it doesn&#8217;t quite make sense to me.  The optoisolator pulls the MOSFET gate below the 1V minimum gate threshold voltage (I&#8217;m measuring 0.003V), and the Zero gate voltage drain current (per the data sheet) is 100 uA.  This sucka seems pretty darned bright already to be running at 0.1 milliamps, so I must be missing something.  An LED capable of generating 107 lumens at 350mA still glows fairly bright when a MOSFET leaks current of 0.1mA?  I don&#8217;t &#8216;get&#8217; it.  &#8216;On&#8217; the MOSET voltage source/drain drop is 0.58V, &#8216;off&#8217; it&#8217;s 0.09V (with a lamp voltage of 3.16V).</p>
<p>At any rate, here are the updated final assembly notes:</p>
<ul>
<li>Assemble the left side of the schematic (the power supply), including the power diode (D1), the voltage regulator LX8116 (Q1), and the voltage adjustment (R3), but skip the big power cap (C1) for now.</li>
<li> Apply power.  Ensure voltage across C1 is VDC minus the forward voltage drop of the power diode (D1).  I&#8217;m using 6.00 volts, the cap voltage measured 5.35 volts, for a diode forward drop of 0.65V.</li>
<li> Adjust R3 (LED voltage adjustment) fully clockwise, measure the LED voltage, rotate fully counter-clockwise and measure again.  Full clockwise is low, I got 2.74 volts; full counter-clockwise is high, I got 4.10 volts.  Leave it fully clockwise at the lowest voltage.</li>
<li>Check the voltage at pin 5 of the voltage regulator to be 3.3V.</li>
<li>Disconnect the power.  Attach/solder all components except for the PTC.  Watch the polarity on the light sensor (Q3) and the optoisolator (OPTOMOS1).  The LED has a tiny little + on the side that goes towards the voltage regulator.  The longer pin of Q3 goes to ground, and the marking dot on the optoisolator goes towards the center of the PCB.</li>
<li>Apply power and ensure that pin 3 of the Zilog e-PIR can be adjusted from 0 to 1.6 volts with the delay trimmer (R7), at top-right.</li>
<li>Apply power and ensure that pin 4 of the Zilog e-PIR can be adjusted from 0 to 1.6 volts with the sensitivity trimmer (R5), at top-center.</li>
<li>Disconnect power.  Turn all 3 motion detector trimmers fully clockwise, this turns sensitivity to full, delay to several minutes, and negates the effect of the ambient light sensor.</li>
<li>Attach a heat sink to the back of the PC board.  Be sure not to short or come too close to one of the through-hole pads.</li>
<li>Configure an ampmeter (1A scale) across the SMD pads for the PTC. <em><strong>Don&#8217;t look at the LED, </strong></em>in fact, you might want to put a piece of tape over it during adjustments.<em><strong> </strong></em> Apply power, and employ a comedy troup of dancing clowns to trigger the motion detector.  Slowly rotate the voltage adjustment trimmer (R3) counter-clockwise until the LED is drawing 400mA (0.4A).  The power supply will go higher than 700mA, but you&#8217;ll eventually burn out the LED, so <em>DON&#8217;T DO THAT</em> and turn the trimmer very SLOWLY.  You can adjust this upwards to 500mA, but that&#8217;s the holding voltage for the PTC, so if you wish to use a load between 0.5A and 700mA, replace the PTC with a higher value, or a piece of wire.</li>
<li>Remove the ampmeter.  Measure the LED voltage from the voltage regulator at the PTC SMD pad.  This is the maximum voltage you should use on this LED.  Make a mark on R3 so you don&#8217;t go over this voltage.</li>
<li>Turn off power and install the PTC (or wire shunt).  Turn all 3 motion detector trimmers fully counter-clockwise, we don&#8217;t want the motion detector to trigger at this time.  Apply power, and the LED will still show some light.  Adjust the LED voltage trimmer (R3) clockwise until the &#8216;off&#8217; state amount of light from the LED is tolerable.  The &#8216;on&#8217; state will still be plenty bright.  You can also force the MOSFET off by shorting pins 3 &amp; 4 on the outside of the optoisolator.</li>
</ul>
<p>I found the LED to be very bright (almost painful) at 400mA, and given this load it should last a long, long time.  Using less amperage should make it run even cooler and last longer.  The heat sink I used became <span style="text-decoration: line-through;">slightly warm</span> pretty hot when the lamp was running for <span style="text-decoration: line-through;">few minutes</span> an hour, so I think the heat dissipation is adequate at this load.  All bets are off when running above 70 degrees Celcius, that&#8217;s the super critical overload evacuate all personnel meltdown imminent temperature.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_pcb.jpg" target="_blank"><img class="size-medium wp-image-427" title="HouseLEDs01_pcb" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_pcb-316x320.jpg" alt="Actual PC board" width="148" height="150" /></a><br />
This is the actual manufactured PC board, for comparison to the &#8216;drawing&#8217; above.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_frontback.jpg" target="_blank"><img class="size-medium wp-image-426" title="HouseLEDs01_frontback" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_frontback-320x165.jpg" alt="Heatsink on the back" width="291" height="150" /></a><br />
Here is detail on the heat sink on the back, and yes, it&#8217;s supposed to be a little off-square so the voltage regulator gets a little better coverage, but none of the through-hole pads is covered.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_the6.jpg" target="_blank"><img class="size-medium wp-image-428" title="HouseLEDs01_the6" src="http://pyroflatulence.tv/wp-content/uploads/2010/01/HouseLEDs01_the6-320x170.jpg" alt="The 6" width="286" height="150" /></a><br />
The &#8217;6&#8242;</p>
<p><strong>Build summary</strong><br />
I could have probably used cheaper LEDs and just powered them through the optoisolator if I&#8217;d known the &#8216;off&#8217; state was going to be a problem.  In the future, I should use a <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=CAT4101TV-T75CT-ND" target="_blank">real LED driver</a> with a &#8216;PWM/Enable&#8217; pin instead of a switched MOSFET.  This was fun to make and it works, but I learned a few things making mistakes.  I&#8217;ll make another post in the future when I get to installing them in the house.</p>
<hr /><a class="alignleft" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="alignleft" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" border="0" alt="Creative Commons License" /> </a></p>
<p>Copyright (c) 2010 MDVE.NET.  Some rights reserved.<br />
This design is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=394</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Slick 50</title>
		<link>http://pyroflatulence.tv/?p=263</link>
		<comments>http://pyroflatulence.tv/?p=263#comments</comments>
		<pubDate>Sat, 15 Aug 2009 18:25:04 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Automotive]]></category>
		<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=263</guid>
		<description><![CDATA[I put another quart of Slick 50 in my car&#8217;s engine.  It&#8217;s a brand of motor oil that is saturated with polytetrafluoroethylene.  I did it when I got the car at 10K miles, and here I&#8217;ve done it again at 67K miles, which is about right.  I&#8217;ve always reapplied it at 50K mile intervals, and [...]]]></description>
			<content:encoded><![CDATA[<p>I put another quart of Slick 50 in my car&#8217;s engine.  It&#8217;s a brand of motor oil that is saturated with polytetrafluoroethylene.  I did it when I got the car at 10K miles, and here I&#8217;ve done it again at 67K miles, which is about right.  I&#8217;ve always reapplied it at 50K mile intervals, and I think that&#8217;s what is recommended.  I drive a vanilla 2001 Volvo S60, no turbo.  It is blue.  No, it didn&#8217;t come with an &#8220;Abba&#8221; CD.</p>
<p>Basically, you change your oil&#8230; drain the old oil, replace the filter cartridge, and put in the right amount of new oil minus one quart.  Then with the engine running, you pour in the quart of Slick 50 oil, put on the oil cap, close the hood, hop in, and drive for about 30 minutes.  This shears the Teflon and the rest of the oil together, and the Teflon gets burnished into the metal of the inside of the engine.  I&#8217;ll let it ride for a regular oil change interval (which in my case is like 6K miles), then replace the filter and oil again.</p>
<p>I&#8217;ve been using the stuff for 30 years.  I&#8217;ve never not been impressed.  Back when I had a pretty old car (in the 80&#8242;s I had a 1968 Ford Mustang with a 289 cid V8), the effect was just shy of miraculous, and I&#8217;ve got friends who also have seen pretty amazing results.  The internet is full of claims and counterclaims on Teflon motor oil, I&#8217;ve always only used the original Slick 50.  I also looked up the quoted magazine article by &#8216;Consumers Digest&#8217;, using a microfilm reader as this was before the invention of the World Wide Web.</p>
<p>I did the research, I gave it a try, and it&#8217;s terrific.</p>
<p>I do believe in the engine additive self-fulfilling prophecy&#8230; when you put some snake oil product into your car, you unconsciously alter your driving habits in tiny ways which make the claims of the product come true.  Get some macho guy pouring a pint of DDT Carburetor Ointment in your gas tank and hell&#8230; it&#8217;ll even make your girlfriend&#8217;s tits seem bigger.  I don&#8217;t use a lot of that junk, all I&#8217;ve ever seen any of it do is glop up my spark plugs, and I don&#8217;t need a pseudo-sexy sports car to get happy.  (Wait, maybe I do.  I saw a &#8217;68 Jaguar on the road recently.)</p>
<p>Okay, so it seems to me that on my 30 mile 75MPH drive I didn&#8217;t have to push down the gas pedal quite as far as I previously had to push it to go the same speed.  Nothing definite, nothing scientifically provable, no&#8230; I didn&#8217;t measure the amount of travel with a micrometer&#8230; it just didn&#8217;t seem like it needed as much gas to go.  Improved gas mileage has been the most noticeable effect for me, the Mustang got 21 MPG before and more like 25 MPG after I used it (yes, back in the early 80&#8242;s I got better mileage than I do now).</p>
<p>I&#8217;m not selling the stuff.  I don&#8217;t care if there are tons of articles on the &#8216;net that say it can&#8217;t possibly work.  I&#8217;ve used it, I know it does, so there, neener neener nyeah.  I&#8217;m saving my gas receipts and writing down the mileage, so I&#8217;ll have some hard data on the gas mileage.  There won&#8217;t be any way to prove that the oil is what caused it, but <em><strong>*I*</strong></em> will know.  I&#8217;ll post the results here when I do the math.</p>
<p>Drawbacks?  I sometimes wonder if my engine will ever wear out so I have an excuse to buy a new car.</p>
<p>To <a href="http://www.slick50.com" target="_blank">the makers</a>&#8230; Gentlemen, thank you for this wonderful product, once again, it&#8217;s paying for itself.  For me.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=263</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WFC PLL &#8211; the Oscillation Overthruster</title>
		<link>http://pyroflatulence.tv/?p=45</link>
		<comments>http://pyroflatulence.tv/?p=45#comments</comments>
		<pubDate>Sun, 26 Oct 2008 21:30:32 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=45</guid>
		<description><![CDATA[Notes on phase-lock-loop circuitry of a Meyer resonant water fuel cell Here&#8217;s the schematics.  They are improving daily.  Note: all POV-Ray images on this site are just for laughs and are inherently inaccurate. Files: THESE ARE NOT DONE!  DRAFT!  THIS DOES NOT WORK! oscillation_overthruster.zip &#8220;ZeroFossilFuel&#8221; has a fabulous idea in this video: http://www.youtube.com/watch?v=vKjUzsNj8NM (also see [...]]]></description>
			<content:encoded><![CDATA[<p>Notes on phase-lock-loop circuitry of a Meyer resonant water fuel cell</p>
<p>Here&#8217;s the schematics.  They are improving daily.  Note: all POV-Ray images on this site are just for laughs and are inherently inaccurate.</p>
<p>Files: THESE ARE NOT DONE!  DRAFT!  THIS DOES NOT WORK!</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster.zip">oscillation_overthruster.zip</a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/oscillation_overthruster_schematic1.png" target="_blank"><br />
</a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/oscillation_overthruster_schematic1.png" target="_blank"><br />
</a></p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster_schematic.png" target="_blank"><img class="alignnone size-medium wp-image-155" title="oscillation_overthruster_schematic" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster_schematic.png" alt="" width="302" height="200" /> </a> <a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster1_gerbview.png" target="_blank"><img class="alignnone size-medium wp-image-154" title="oscillation_overthruster1_gerbview" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster1_gerbview.png" alt="" width="237" height="200" /> </a><br />
<a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster1_3d.png" target="_blank"><img class="alignnone size-medium wp-image-152" title="oscillation_overthruster1_3d" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/oscillation_overthruster1_3d.png" alt="" width="250" height="200" /> </a> &#8220;ZeroFossilFuel&#8221; has a fabulous idea in <a href="http://www.youtube.com/watch?v=vKjUzsNj8NM" target="_blank">this video: http://www.youtube.com/watch?v=vKjUzsNj8NM</a> (also see <a href="http://youtube.com/watch?v=Ru8YQ6HUwbU" target="_blank">http://youtube.com/watch?v=Ru8YQ6HUwbU</a> ).  I have not tried this yet, but the more I look at it, the more I like it.</p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/07/img_1128_bad_desk.jpg" target="_blank"><img class="size-medium wp-image-51 alignright" style="float: right;" title="img_1128_bad_desk" src="http://pyroflatulence.tv/wp-content/uploads/2008/07/img_1128_bad_desk.jpg" alt="" width="186" height="140" /> </a></p>
<p>Picture Right: Lawton style gated pulse circuit, 4&#8243; toroid, 3/8&#8243; ferrite rod, E-core ferrite, new meter</p>
<hr />Referring to WO 92/07861 ( <a href="http://www.rexresearch.com/meyerhy/wo92.htm" target="_blank">http://www.rexresearch.com/meyerhy/wo92.htm</a> ) , the &#8216;A27&#8242; chip in Figure 7 is equivalent to a 4046 PLL chip.  The write up on Figure 8 is particularly interesting.  Note that &#8216;A31&#8242; chip looks like a 555, there are many of these throughout the drawings.  <em><strong>&#8220;The scanning circuit o Figure 8 scans frequency from high to low to high repeating until a signal lock is determined.&#8221;</strong> </em> : it runs a siren!  I had thought about this as a way to initially discover the resonant frequency on start up.  The next statement is incredibly enlightening: <em><strong>&#8220;The ferromagnetic core of the voltage intensifier circuit transformer suppresses electron surge in an out-of-resonance condition of the fuel cell.&#8221;</strong> </em> The pulse monitor tap on the VIC circuit toroid in Figure 1 gets cleaned up like in Figure 9 and feeds the PLL control.</p>
<table style="height: 133px;" border="0" width="676">
<tbody>
<tr>
<td><a href="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-1.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-53" title="wo92-1" src="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-1.jpg" alt="Figure 1" width="163" height="94" /> </a> <a href="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-7.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-54" title="wo92-7" src="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-7.jpg" alt="Figure 7" width="147" height="92" /> </a> <a href="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-8.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-55" title="wo92-8" src="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-8.jpg" alt="Figure 8" width="137" height="93" /> </a> <a href="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-9.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-56" title="wo92-9" src="http://pyroflatulence.tv/wp-content/uploads/2008/07/wo92-9.jpg" alt="Figure 9" width="136" height="91" /> </a></td>
</tr>
</tbody>
</table>
<p>I was having trouble figuring out how to pickup and feed back the &#8216;resonance&#8217;, this is helping a lot.  The original Puharich design also addresses this.</p>
<p>09-AUG-2008 The preliminary circuit design is nearing completion.  I need to get breadboarding!</p>
<p>12-AUG-2008 I&#8217;m getting some help on the forums at <a href="http://waterfuelcell.org/phpBB2/index.php" target="_blank">WaterFuelCell.org</a> .  Files and schematic picture updated.</p>
<p>17-AUG-2008 I had to split the schematic into two parts, the frequency counter is now on it&#8217;s own board.  The free version of Eagle wouldn&#8217;t handle one big board, not that I could handle it either.</p>
<p>25-AUG-2008 Files updated.  There are new driver transistors on the MOSFET, and the board layout is pretty close.  Currently breadboarding the Frequency Counter.  This is still DRAFT.</p>
<p>1-SEP-2008 Files updated.  The Frequency Counter is complete, PC boards are ordered and should be here in a week.  Now breadboarding the PLL circuit.  The Resonance Scanner is working, but sensitive.  VCO-IN is responsive to 1 volt &#8211; 4.9 volts, but can go to VCC.  The top quarter volt is VERY reactive.</p>
<p>15-SEP-2008 With the frequency counters built, and me ramping up my metalworking capability, I&#8217;m concentrating on the PLL now.  The best values for the PLL chip itself seem to be 0.22uF and 10K, with a 1uF lock detect cap.  I might make a &#8216;scan speed&#8217; select on the resonance scanner, it&#8217;s a lot easier to adjust the scale and shift of the output when it goes fast, but I&#8217;m worried that the equipment won&#8217;t be able to handle too quick a scan speed.  I&#8217;ve got the dwell side of the 556 making a standard astable square wave, and feeding it into the PLL SIG-IN line.  When power is applied, it scans once, finds it, and locks.  It&#8217;s working well, I can &#8216;adjust&#8217; the frequency to simulate skewing and it keeps track.  I&#8217;ve also worked out the driver circuit after a few different tries.  I&#8217;ve settled on a push-pull totem pole design which I&#8217;ve tested up to 100KHz with the &#8220;ST8NKy&#8221; MOSFET, this is working very well.  <strong>Schematic updated.</strong> I&#8217;d like to add a lot of goofy cool blinky lights, but I&#8217;m running out of real estate.  I&#8217;m considering a &#8216;hybrid&#8217; design which uses surface mount components for lots of little indicator LEDs, they aren&#8217;t required for circuit operation but look nice.</p>
<p>16-SEP-2008 I&#8217;ve decided to split the safety circuits off to a daughter board, like the frequency counter.   As sad as I am to admit it, some people&#8217;s kids just aren&#8217;t going to use the safety circuits, and removing them from the main board will give me lots more room for blinky LEDs.</p>
<p>18-SEP-2008 Schematic updated.  PLL capacitor 0.22uF is good for 20Hz &#8211; 35KHz locking.  0.1uF is working for ~200Hz to 120KHz, but I need to do more testing on this range.  Sometimes it won&#8217;t re-lock after losing it at high frequency, but will initialize and lock if power is cycled.</p>
<p>21-SEP-2008 Lots and lots of blinky LEDs!  I&#8217;ve added 5 different color LEDs to the board now: red = fault, blue = pulse, green = lock, yellow = dwell, and white = gate.  I&#8217;m also adding in an LM3914N chip to drive a bar array of LEDs to the scanner voltage.  Thatt should be interesting.  It will do a sawtooth back-and-forth of the LEDs, this will allow limited adjustments to be made without an oscilloscope.  Lots of lights!  I&#8217;ve ordered 10K millicandela (so like, 10 candle) LEDs from SparkFun.com , so a big Hello to them and the <a href="http://www.100led.com/" target="_blank">China Young Sun LED Technology Co., Ltd.</a></p>
<p>24-SEP-2008 On the breadboard&#8230; I have the resonance scanner circuit working, the dwell disable signal is working, the PLL is interfaced to the scanner and dwell with logic gates, the MOSFET driver works, the pulse pickup circuit kinda works.  I&#8217;ve got a store-bought dual coil choke on the pulse circuit and the MOSFET driving a resistor + LED + capacitor + the other side of the choke.<br />
Given this primitive testing setup, I&#8217;m feeding the MOSFET output back into the pulse pickup circuit.</p>
<p>The &#8216;scanner&#8217; display looks pretty cool, and will allow fine tuning of the scanner without a scope.  That could be critical to operation in some iffy combinations.</p>
<p>Power on: it starts up and locks.  Sometimes it scans a couple of times, other times the lock is instantaneous.  Changing the value of the feedback capacitor makes it unstable (smaller caps are more stable too)&#8230; for a while&#8230;  then it seems to mellow out.  Freq rises slowly while doing this, which I think is some type of slow magnetization of the choke core, not significant.</p>
<p>I have a magnet I took out of a hard drive, pretty powerful and polarized right across the flat center on one side.  I hold this magnet near the D-core of the choke and the frequency goes <strong>up</strong> .  I tend to pull the choke coil out of the breadboard about this time, but if I hold it down, I can hold the magnet very close to the top&#8230; and it goes <em>fast</em> .  When the magnet gets too close or I click it onto the coil core, it loses lock and won&#8217;t regain until I hold the choke and pull the magnet off.  I&#8217;m guessing the magnet blocks the transfer of the pulse in the coil, so the lock is lost and the scanner switches into circuit.  When I pull the magnet away, it scans a couple of times and locks.  I&#8217;ll bet I&#8217;m demagnetizing my magnet too.</p>
<p>Bottom line&#8230; I can modify the environment, this changes the frequency of the pulse, and the PLL keeps lock.  It&#8217;s doing what it&#8217;s supposed to do.  The frequency counter is a big help with this <img src='http://pyroflatulence.tv/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   As<br />
far as I&#8217;m concerned, I&#8217;ve got a circuit that mostly works.  I need to work out the final design of the pulse pickup amp, and it&#8217;s ready for the proto shop.</p>
<p>I don&#8217;t have all the LEDs hooked up (just gate and lock for now), but I&#8217;ve tested the transistor driver<br />
for them and they&#8217;ll work.  I&#8217;ll put the whole thing in a blue translucent NEMA box and it will <em>glow</em> .</p>
<p>I&#8217;ve discovered McMaster-Carr.  I have good stuff on the way, delrin, nylon, stainless steel, pressure switches.  I need to get outside and get to working on the test tube, I just can&#8217;t seem to get motivated to get off the breadboard now that I&#8217;m having some luck with it.  I got a really nice 12VDC brass water valve from <a href="http://www.omega.com/index.html" target="_blank">Omega.com</a> .  I&#8217;m about to send the safety circuit design off for prototyping.</p>
<p>24-SEP-2008 (Later) Schematic and POV-Ray updated.  I cut some tubes with the new saw, it&#8217;s&#8230; scary.</p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/img_1186_breadboard_testcell.jpg" target="_blank"><img class="alignnone size-medium wp-image-145" title="img_1186_breadboard_testcell" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/img_1186_breadboard_testcell.jpg" alt="" width="300" height="200" /> </a> <a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/img_1186_breadboard_testcell.jpg" target="_blank"><br />
</a></p>
<p>27-SEP-2008 Made test cell. Tired.</p>
<p>28-SEP-2008 Delrin sucks, no way to glue it, but it will be useful one day with mechanical sealing.  Remade holder out of some of the 2&#8243; clear PVC.  It looks great!  Schematics, files, pics updated.  I added a nice trick with one of the spare 4066 gates, now the scanner display gets brighter when the PLL is not locked, and dimmed when it locks.  I ordered more from Digikey, some very nice switches and knobbies for the front panel, a bunch of forgotten resistor values, and the relays for the safety board.  When I can test the optoisolator circuits with the relay, I can send the safety board design off for prototyping.</p>
<p>03-OCT-2008 Files and images updated.  It&#8217;s very close.</p>
<p>06-OCT-2008 Okay, so the circuit is close, but everything else is still far away.  It&#8217;s not delivering the voltage through the power transformer, and I&#8217;m confused.  I&#8217;m trying distilled water in the test cell and getting almost nothing.  Yes, I actually see tiny bubbles, but with the amount of juice I&#8217;m giving it, I should be melting wires.  Very very low current, and I can&#8217;t raise it even with the dwell gate defeated.  I blew an oscilloscope probe, I think I overvolted it, but I&#8217;m not sure how.  This is confusing.  I need a proper VIC transformer, that&#8217;s for sure.  I have a small heat sink on the output MOSFET, and it doesn&#8217;t even get warm.  Maybe I already cooked it, but I don&#8217;t think so.  I have to look at this another way and go back and reread the old tomes.</p>
<p>I tried using the Triad power transformer as the step-up, it just doesn&#8217;t seem to be drawing much from the MOSFET.  I probably need to (minimally) heat sink the MOSFET properly, but the current draw is very small, I can&#8217;t get it to draw more than 200mA, and the regular breadboarded PLL circuit draws 100mA or so of that.  The other side of the transformer shows like 20mV (MILLI volts), maybe that transformer is just a lot screwier than I thought.</p>
<p>I&#8217;m using a 7.5 inch ferrite rod bifilar (two wires) choke with another few turns (third winding) as the pulse pickup, that much seems to work, but the polarity of the pulse pickup seems to be the big factor on that part of the circuit.   This choke measured like 1.75mH a side when I measured it before with the cheap meter (now with blown fuses and mostly burned out).  With the pickup coil loosely wrapped over the ferrite one way, it works great, the other way, the response is very awkward in that a signal only appears when the dwell is off.  That&#8217;s strange, I have to play with that some more, at least it seems to be working.  With the diodes across the +/- inputs to the pulse op-amp, anything bigger than about 1.5 &#8211; 1.75 volts (forward bias of the MUR800E diodes) should be clipped.  Output from that op-amp is between VCC and GND.  I can see that output pulse on the scope, it works with the dwell and a little bit more after the dwell cuts.  I&#8217;ve noticed that it&#8217;s rather stable oscillation (unless the pickup coil is reversed), for all I know, it&#8217;s working perfectly and picking up too much garbage electrical interference from computers, oscilloscopes, video monitors&#8230; the other electronics in the room.  I&#8217;ve already noticed that with no pulse coil (open leads), it readily locks onto a 60Hz line signal out of the air.</p>
<p>At any rate, I&#8217;m becoming convinced that the circuit is doing what it&#8217;s supposed to do, and not much will need to change even if I get the right inductor(s).  If I determine that there won&#8217;t be anything I could add to the circuit to make up for any deficiency, I may send the PLL PCB off to get made anyway.  I&#8217;ll probably add in the manual override again, but that&#8217;s about all I can think to do.</p>
<p>I&#8217;ll take some pictures soon, maybe that will help.</p>
<p>07-OCT-2008</p>
<p>Pictures of Oscillation Overthruster output measured with a Tektronix 475 oscilloscope.</p>
<p><a class="aligncenter" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1189_oo_scope.jpg" target="_blank"><img class="alignnone size-thumbnail wp-image-158" title="img_1189_oo_scope" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1189_oo_scope.jpg" alt="" width="158" height="125" /> </a> 1189.  Top trace is dwell, about 25% at 878Hz (active low) taken at TP3 in the schematic (2V,0.5ms). Bottom trace is MOSFET gate (2V,0.5ms). MOSFET is driven by 9 volt supply, dwell is from one side of a 556 dual timer running on 5 volts.</p>
<p><a class="aligncenter" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1188_oo_scope.jpg" target="_blank"><img class="alignnone size-medium wp-image-159" title="img_1188_oo_scope" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1188_oo_scope.jpg" alt="" width="159" height="125" /> </a> 1188. Top trace is dwell, same as above.  Bottom trace is the pulse output and PLL pin 14 SIGIN (2V,0.5ms).  Notice that pulses are detected after the dwell has shut off.</p>
<p><a class="aligncenter" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1190_oo_scope.jpg" target="_blank"><img class="alignnone size-medium wp-image-157" title="img_1190_oo_scope" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1190_oo_scope.jpg" alt="" width="160" height="125" /> </a> 1190.  Close up of one dwell cycle with PLL VCO output.  Top trace is dwell (2V,50μs).  Bottom trace is PLL VCO OUT at TP6 (2V,50μs).  Here you can see the VCO is following the pulses.  Frequency counter at the VCO OUT says about 30K, it varies from 31K cold to 29K warm.  About 33 pulses in this picture per 878Hz dwell cycle is 28974, that&#8217;s about right.</p>
<p><a class="aligncenter" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1191_oo_scope.jpg" target="_blank"><img class="alignnone size-medium wp-image-160" title="img_1191_oo_scope" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1191_oo_scope.jpg" alt="" width="171" height="125" /> </a> 1191.  Measurement at the test cell using 1.75mH dual choke, blocking diode, but no VIC transformer (1V,50uS, GND at center)  Input DC Amperage is 90 &#8211; 120 mA, sorry my cheap meter won&#8217;t do better than that right now.  The circuit normally uses that much juice, I don&#8217;t know why it&#8217;s not pulling more power.</p>
<p>Obviously, there&#8217;s no bubbles.  No hydrogen here, move along.</p>
<p>Note: I just saw something strange.  I noticed that after I turned the power off, the test cell had some voltage still on it.  I thought the scope was just decalibrated, but on GND it was at center.  Flipped back to DC, it was still showing 1.75 volts DC offset, same as in the picture above (the line at center of the waveform).  Huh?  I disconnected one of the cell wires, and the voltage is still there.  As much as I can figure, the cell is pulling some DC from the scope, and when it gets to the forward bias of the blocking diode, it stops.  So I short the cell, and it bounces back to about 0.6 volts.  I turned the circuit on, and voltage rose slowly to around 1.8 volts DC offset.  I turned the power off again, and it stays around 1.7V.  It looks like it&#8217;s sinking, very very slowly.  It&#8217;s a little weird.  It&#8217;s actually acting like&#8230; a capacitor?  Naw, that couldn&#8217;t happen.  Okay, I disconnected the scope, shorted the cell, reconnected the scope (0 volts), and then unshorted the cell.  The voltage started rising.  It&#8217;s acting like a capacitor and charging from the oscilloscope probe leakage.  Very cool, that&#8217;s a nice clue.  If I&#8217;m right.  It&#8217;s been a long day, I might be hallucinating.</p>
<p>This might explain a few things, there&#8217;s not even enough impurities for the water to conduct at all, so I can&#8217;t pump any current through it.  Maybe tomorrow I&#8217;ll try tap water.  Here&#8217;s a picture of my desk, don&#8217;t make me regret this: <a class="aligncenter" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1192_messy_desk.jpg" target="_blank"><img class="alignnone size-medium wp-image-161" title="img_1192_messy_desk" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1192_messy_desk.jpg" alt="" width="226" height="150" /> </a> <span class="aligncenter"><br />
Left to right: roll of solder, oil can of &#8216;Tap Magic&#8217; cutting fluid, one-tube-set test water fuel cell (4 inch tubes), connection box with rod inductor choke, Tektronix 475 oscilloscope, yellow cased ampmeter behind banana connectors and wires, breadboard with 7046 PLL circuit, roll of Scotch 92 kapton tape, frequency counter (30579 Hz), stereo boom microscope<br />
</span></p>
<p>16-OCT-2008 I&#8217;ve done some rewiring.  The MOSFET and regulator diode are heat sinked, the test cell is hooked up.  It&#8217;s taking amperage, not a huge amount amount, but I&#8217;m still using distilled water.  It locks too easily, I&#8217;m thinking I might add the divider chip.  For some reason, the scanner circuit is invading the locked signal and knocking it out of lock.  I&#8217;m under the impression that once locked, it should really stay that way.  It falls out of lock regularly with the scanner, usually at the top when the frequency is highest.  I need it to stop scanning when locked, maybe I can tie the lock signal into the reset on that side of the 556.</p>
<p>26-OCT-2008 Okay, that&#8217;s doing something.  Now the scanner stops when the PLL locks, and this has a big effect.  The Triad still isn&#8217;t putting out the voltage that it should, but I&#8217;m getting a few tiny bubbles, what I might call an hour-old Alka-Seltzer.  I hooked up the cell directly (no VIC transformer) but with chokes, and I saw some hot spot frequencies.  There was one around 44KHz, but that spot was not very stable and usually jumped to 22Khz or 11KHz fairly quickly.  Sometimes the scanning would rest at 22KHz, but more often between 10 and 11 KHz.  This is interesting in that these are (reasonable) harmonics of each other and so this would tend to indicate something good.  Sometimes the circuit would jump to these points on it&#8217;s own, but more often I would cycle the power and these occured on first scan.</p>
<p>I&#8217;m trying the full circuit now, with reversed chokes.  If I run it with the dwell disabled, it soaks 1.82 DC Amps total circuit.  The control circuitry uses about 100 DC milliAmps.  The secondary of the Triad power transformer I&#8217;m trying as a VIC transformer is 0.92 Henries inductance according to my half burned out VC9808+ &#8220;Sinometer&#8221;.  Both sides of the choke measure 1.8 milliHenries.  The dwell at 150Hz and &#8220;ON&#8221; about %40 draws about 0.9 DC Amps (1.20 AC Amps).</p>
<p>When running this way there are some spikes in the +5VDC power supply, they occur on the MOSFET on times, as would be expected.  There are thick pulses during the gating times 50 millivolts high, and thin spikes at 0.1 volt.  This is ugly, it probably deprecates performance of the PLL.  I may experiment with powering the control circuitry completely separately.  This would involve cutting a fat trace on the safety board, but nothing a dremel won&#8217;t handle.</p>
<p>I&#8217;m also using the divider (CD4040) chip.  The chip divides the PLL Comparator input from the VCO output by 2^(the number of the pin), so Q1 = 1/2, Q2 = 1/4, Q3 = 1/8, et cetera.  This is providing a manner to adjust something&#8230; but I&#8217;m not sure what.  The frequencies change, things move around, but not really sure if it&#8217;s helping.  It will probably be a nice option to have a switch on the front of the box for it even if it&#8217;s a LOT of wires, so I&#8217;m thinking it might be permanent.  Note that Meyer&#8217;s circuit used 4017 decade counters, and so he could divide by 10, 100, or 1000.  Not sure if I want to try that.</p>
<p>I just tried using the JW Miller / Bourns choke instead of the 1/2 rod choke.  It seems to be working well, the circuit does everything the same but the frequency is much lower.</p>
<hr /><a class="alignleft" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="alignleft" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" border="0" alt="Creative Commons License" /> </a></p>
<p>Copyright (c) 2008 MDVE.NET.  Some rights reserved.<br />
This Oscillation Overthruster design is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a> .</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=45</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>VIC and inductors</title>
		<link>http://pyroflatulence.tv/?p=162</link>
		<comments>http://pyroflatulence.tv/?p=162#comments</comments>
		<pubDate>Mon, 13 Oct 2008 01:11:16 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=162</guid>
		<description><![CDATA[The Voltage Intensifier Circuit (VIC) is the term Meyer used for the final components of his water fuel cell.  These particular parts have caused a lot of consternation in the water fuel cell research community, as the physical design and electrical values of the components vary greatly, and can be manufactured and used in many [...]]]></description>
			<content:encoded><![CDATA[<p>The Voltage Intensifier Circuit (VIC) is the term Meyer used for the final components of his water fuel cell.  These particular parts have caused a lot of consternation in the water fuel cell research community, as the physical design and electrical values of the components vary greatly, and can be manufactured and used in many ways.  Here I&#8217;ll discuss my thoughts and efforts in this area.  <strong>Please comment on this!</strong></p>
<p>Here is a set of simplified and unfinished circuits showing different ways to connect a water fuel cell (click to enlarge)<br />
<a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/vic_samples_schematic.png" target="_blank"><img class="alignnone size-medium wp-image-163" title="vic_samples_schematic" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/vic_samples_schematic.png" alt="" width="188" height="250" /></a></p>
<p>The first drawing is the minimalist example of the MOSFET drain-source circuit (driver circuits for MOSFET gating will not be discussed here, those can be very convoluted and the one I&#8217;m using for the Oscillation Overthruster is working just fine).  In this circuit, a MOSFET gates a positive potential to ground.  Nothing else is really needed.  However, this leaves a lot of room for stray voltages from various sources, some will damage the MOSFET if left unchecked.  A more &#8220;complete&#8221; version is shown in the augmented MOSFET output circuit, which includes<br />
* a regulator diode, which ensures that total potential is never reversed<br />
* a clipping diode, which &#8220;shorts out&#8221; reverse currents across the VIC primary due to magnetic feedback<br />
* a &#8220;PTC&#8221; device, this is a &#8220;resettable fuse&#8221; which protects the MOSFET from over current at the price of a small amount of resistance<br />
* a zener diode, this &#8220;shorts out&#8221; reverse voltages across the MOSFET drain/source.  Some MOSFETs (like the STP8NK100Z) have internal zeners which perform this function.</p>
<p>Many would argue that some of these components would not be very beneficial, and would even hurt the purpose of the circuit, I do not dispute this.  In particular, some experimenters would not use the clipping diode as clipping the buck feedback from the VIC primary will definitely affect performance.  I&#8217;ve added the PTC myself, as the cost of these devices is far cheaper than MOSFETs, and turning the dwell up just a little too high is very easy.  It&#8217;s all perspective, if you have a warehouse full of 20-year-old junk 10GB SCSI hard drive controller PCBs with BUZ11 MOSFETs all over them, then by all means&#8230; burn out as many MOSFETs as you want.  If you&#8217;re paying $5 apiece for them, a 40 cent protection diode starts to look pretty good.  Diodes, zeners, and PTCs that handle the wattages and voltages used here are not expensive.  Some experimenters are using MOSFETs that I cannot find for under $25.</p>
<p>On the Oscillation Overthruster design, I&#8217;ve allowed a lot of freedom.  Some components are not required, others can be shunted with bare wire, and I&#8217;ve allowed two sizes of PTC for mounting on the PCB.  All of the heavy transistors are TO-220 types and can be socketed and (MUST be) heat sinked.</p>
<p>Next on the schematic, I show the quintessential Meyer VIC circuit.  The bottom choke is adjustable, either through a wiper arm in contact with the wires along the side of the coil, or through multiple taps along the choke which can be switched manually.</p>
<p>The other drawings on this schematic show various ways to actually connect the water fuel cell to the MOSFET.  You can use a VIC transformer, or not.  You can use chokes, or not.  The blocking diode is recommended, but is probably also optional (try and find out!).  If you use a single choke device with two windings on it, I think it&#8217;s called a &#8220;bifilar&#8221; choke (I think it&#8217;s a term Tesla used?) and you can hook that up two ways.</p>
<p>Okay, lots more pictures now&#8230;</p>
<table border="1">
<tbody>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1199_small_inductors.jpg" target="_blank"><img class="alignnone size-medium wp-image-164" title="img_1199_small_inductors" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1199_small_inductors.jpg" alt="" width="266" height="150" /></a></td>
<td>Smaller inductors</p>
<p>Left to right: roll of 1/2&#8243; wide Scotch 92 kapton tape, small &#8216;E&#8217; core with plastic bobbin, Epcos D-core 47mH 1.3A choke (Digikey 495-2790-ND), cheap measuring scale, JW Miller / Bourns 8116-RC 50mH 2.3A choke (Digikey M8911-ND), 3/8 x 4 inch ferrite rods</td>
</tr>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1204_c_cores.jpg" target="_blank"><img class="alignnone size-medium wp-image-169" title="img_1204_c_cores" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1204_c_cores.jpg" alt="" width="186" height="150" /></a></td>
<td>POWERLITE C-cores with scale, label from Elna Magnetics.</p>
<p>Left to right: wrapped AMCC-100, two parts of AMCC-320 sitting on oiled anti-corrosion &#8220;gun&#8221; paper (note light rust on end), AMCC-100 set (this set is varnished with Corona Super Dope)</p>
<p>These are very strange things.  They are made of nanocrystalline amorphous metal in the form of extremely thin ribbons of iron alloy wrapped to make the oval, then cut through the center.  By extremely thin, I mean on the order of 25 micrometers.  These are by <a href="http://www.metglas.com/" target="_blank">Metglas</a> and I got them through <a href="http://www.elnamagnetics.com/" target="_blank">Elna Magnetics</a>.</td>
</tr>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1201_amcc-100_closeup.jpg" target="_blank"><img class="alignnone size-medium wp-image-166" title="img_1201_amcc-100_closeup" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1201_amcc-100_closeup.jpg" alt="" width="227" height="150" /></a></td>
<td>POWERLITE C-cores &#8211; AMCC-100 closeup in sun.  Notice the edges of the thin iron ribbons are somewhat visible on the edge.  This is painted with Corona Super Dope.</td>
</tr>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1206_ferrite_rods.jpg" target="_blank"><img class="alignnone size-medium wp-image-171" title="img_1206_ferrite_rods" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1206_ferrite_rods.jpg" alt="" width="168" height="150" /></a></td>
<td>Ferrite rods in the sun, see the shiny sparklies? Not really, it didn&#8217;t come out in the picture, but they do sparkle.<br />
Two are 3/8 inch by 4 inches, the one on the right is 1/2 inch by 7 1/2 inches.</td>
</tr>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1207_toroids.jpg" target="_blank"><img class="alignnone size-medium wp-image-172" title="img_1207_toroids" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1207_toroids.jpg" alt="" width="204" height="150" /></a></td>
<td>Toroids: large yellow T400-26D (4 inch diameter) wrapped with Scotch 92 dielectric tape and a few turns of 20 AWG enameled copper wire, and Amidon &#8216;pulse&#8217; toroid, pretty much the largest one they sold. The Amidon toroid is smooth and hard, makes a nice ring when struck lightly.</p>
<p>Honestly, I&#8217;m not sure if I can ever use these, they&#8217;re just too hard to wrap.  I can make a jig I suppose, but my attempts at locating a reasonably priced toroid winding machine were futile.</td>
</tr>
<tr>
<td><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1208_copper_wire.jpg" target="_blank"><img class="alignnone size-medium wp-image-173" title="img_1208_copper_wire" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1208_copper_wire.jpg" alt="" width="95" height="150" /></a><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1209_buz11_farming.jpg" target="_blank"><img class="alignnone size-medium wp-image-174" title="img_1209_buz11_farming" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1209_buz11_farming.jpg" alt="" width="151" height="151" /></a></td>
<td>Left: various colors and gauges of copper magnet wire.<br />
Right: 3 BUZ11 N-channel MOSFETs in the middle of a power supply PC board from a 10GB 50-pin SCSI hard disk drive, circa 1994.  These will be harvested and reused.  You thought I was joking, didn&#8217;t you?  I just have this one, not a warehouse full <img src='http://pyroflatulence.tv/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </td>
</tr>
<tr>
<td><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1210_triad_vps10-8000_front.jpg" target="_blank"><img class="alignnone size-medium wp-image-175" title="img_1210_triad_vps10-8000_front" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1210_triad_vps10-8000_front.jpg" alt="" width="91" height="150" /></a> <a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1211_triad_vps10-8000_back.jpg" target="_blank"><img class="alignnone size-medium wp-image-176" title="img_1211_triad_vps10-8000_back" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1211_triad_vps10-8000_back.jpg" alt="" width="103" height="150" /></a></td>
<td>TRIAD VPS10-8000 power transformer, front and back.</p>
<p>This is a 115VAC/230VAC to 5VAC/10VAC 80 watt power transformer.  The &#8216;primary&#8217; is made to take wall voltage 115/230 volts, and step that down to 5 or 10 volts.  As shown, both sides are hooked in series, so it&#8217;s wired to take 230VAC and put out 10VAC.  I use it backwards, so my input is 12V pulsing and output is&#8230; well, messy&#8230; but usually a few hundred volts with some very high spikes.  Pulses go off the scope at 50 volts/division with 8 divisions.</p>
<p>Off topic: get a load of the cat hair stuck in the solder flux on the bottom right tab on the back.</td>
</tr>
<tr>
<td><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1212_ferrite_rod_choke.jpg" target="_blank"><img class="alignnone size-medium wp-image-177" title="img_1212_ferrite_rod_choke" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/img_1212_ferrite_rod_choke.jpg" alt="" width="233" height="150" /></a></td>
<td>Ferrite rods, one raw, one wrapped with dielectric tape and then 2 windings (and again covered with dielectric tape) plus one small &#8216;pulse pickup&#8217; winding with a relatively large gauge</p>
<p>I&#8217;m suspicious that this is too large, it measures 1.75 milliHenries a side.  When I wrapped one of the 3/8&#8243; rods, it measured 130μH a side, which seems more likely to be closer to a good value.</td>
</tr>
</tbody>
</table>
<p>Not pictured: two sheets of 12&#8243;x12&#8243; teflon, one 1/8&#8243; thick and one 1/16&#8243; thick.  These are for use as insulators on the ferrites or the C-cores.  They are white and square and boring, so I didn&#8217;t take a photo of them.</p>
<p>So I&#8217;m trying to get the TRIAD transformer to work.  It&#8217;s not cooperating.  I was hoping to use relatively simple off-the-shelf parts to get this working, that&#8217;s why I&#8217;m considering it at all.  I don&#8217;t think this stuff is so hard that you can ONLY do it the SAME WAY, but I might be mistaken.  Lots to try before giving up on that.</p>
<p>When I hook it up, the voltage just goes to naught.  With the circuit off, I can verify very low resistance conductivity through the coils, I can verify the diode conducts only one way, everything seems to be just fine&#8230; but the actual voltage present on the water capacitor is a few millivolts.  I&#8217;ll hook this up again and take another picture.</p>
<p>Quick edit: the rewiring is working, not sure what to make of it yet.  Basically I&#8217;ve temporarily eliminated the hookup box I&#8217;ve been using so I can just plug wires into the breadboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=162</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WFC Safety circuit daughterboard</title>
		<link>http://pyroflatulence.tv/?p=124</link>
		<comments>http://pyroflatulence.tv/?p=124#comments</comments>
		<pubDate>Thu, 02 Oct 2008 01:07:55 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=124</guid>
		<description><![CDATA[Not everyone is going to be interested in the safety circuit.  I have mixed feelings about that, but there isn&#8217;t a way to force the issue.  Table saw manufacturers can&#8217;t keep people from removing the safety guard on the saw, this isn&#8217;t any different.  I&#8217;ve removed the circuit from the main PLL board and put [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/wfc_safety_schematic.png" target="_blank"><img class="alignnone size-medium wp-image-151" title="wfc_safety_schematic" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/wfc_safety_schematic.png" alt="" width="269" height="200" /></a><a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/wfc_safety_gerbview.png" target="_blank"><img class="alignnone size-medium wp-image-150" title="wfc_safety_gerbview" src="http://pyroflatulence.tv/wp-content/uploads/2008/10/wfc_safety_gerbview.png" alt="" width="269" height="200" /></a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/wfc_safety.png" target="_blank"><img class="alignnone size-medium wp-image-140" title="wfc_safety" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/wfc_safety.png" alt="" width="508" height="200" /></a>Not everyone is going to be interested in the safety circuit.  I have mixed feelings about that, but there isn&#8217;t a way to force the issue.  Table saw manufacturers can&#8217;t keep people from removing the safety guard on the saw, this isn&#8217;t any different.  I&#8217;ve removed the circuit from the main PLL board and put it on it&#8217;s own board.  This also allows a lot more real estate on the main board, but I must stress the safety&#8230; splitting water is a hazardous business.</p>
<p>Files: <a href="http://pyroflatulence.tv/wp-content/uploads/2008/10/wfc_safety.zip">wfc_safety.zip</a></p>
<p>I&#8217;ve worked out the design and the board, I&#8217;m working through the logic to make sure that it&#8217;s viable.  It&#8217;s an &#8216;active live&#8217; design, any failure causes a &#8216;fault&#8217;.  A fault should occur if:</p>
<p>* wires are broken<br />
* the optoisolators get burned out</p>
<p>And the more normal faults:</p>
<p>* low or high water level<br />
* low or high pressure</p>
<p>Low water causes a fault, and also switches a relay for a pump or valve solenoid.  Very low <em><strong>or</strong></em> high water, wow, that shouldn&#8217;t happen, especially high water.  High pressure, yeah, definitely turn it off for a while.  Low pressure: normal when the system is first starting, but what happens when there&#8217;s a blowout?  You wouldn&#8217;t want this to just keep on running with a hole in the plumbing, so low pressure causes a fault.  To get the system running, there&#8217;s a &#8220;pilot&#8221; momentary switch which defeats the low pressure fault, this is just like the pilot switch on a gas appliance, you hold it down for a minute while the system starts, then you can let it go as soon as there&#8217;s enough pressure to keep it running.</p>
<p><strong>Parts list</strong></p>
<table border="1">
<tbody>
<tr>
<td><strong>Qty</strong></td>
<td><strong>Value</strong></td>
<td><strong>Device</strong></td>
<td><strong>Comment/Digikey</strong></td>
<td><strong>Parts</strong></td>
</tr>
<tr>
<td>1</td>
<td>0.1uF</td>
<td>poly capacitor, 5mm lead-in</td>
<td>voltage regulation</td>
<td>C2</td>
</tr>
<tr>
<td>1</td>
<td>1K</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td></td>
<td>R3</td>
</tr>
<tr>
<td>1</td>
<td>1N4003</td>
<td>regulator diode</td>
<td>or 1N400X<br />
relay coil clipper</td>
<td>D2</td>
</tr>
<tr>
<td>1</td>
<td>1N4148</td>
<td>small signal glass diode</td>
<td>or 1N914</td>
<td>D1</td>
</tr>
<tr>
<td>1</td>
<td>2N2222A</td>
<td>NPN transistor<br />
TO-92 ( or TO-18 )</td>
<td>relay driver</td>
<td>Q2</td>
</tr>
<tr>
<td>1</td>
<td>2N2907A</td>
<td>PNP transistor<br />
TO-92 ( or TO-18 )</td>
<td>relay driver</td>
<td>Q1</td>
</tr>
<tr>
<td>5</td>
<td>4.7K</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td>5V pull-up resistors</td>
<td>R1, R4, R5, R7, R10</td>
</tr>
<tr>
<td>1</td>
<td>74AC02</td>
<td>IC: Quad 2-input NOR 14-DIP</td>
<td>74AC02PC-ND</td>
<td>IC1</td>
</tr>
<tr>
<td>1</td>
<td>100uF</td>
<td>electrolytic capacitor<br />
8mm with 3.5mm radial leads</td>
<td>voltage regulation</td>
<td>C1</td>
</tr>
<tr>
<td>4</td>
<td>330</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td>LED current limiters</td>
<td>R2, R6, R8, R9</td>
</tr>
<tr>
<td>1</td>
<td>G5V-1</td>
<td>Omron G5V-1 RELAY SPDT<br />
5V 167 OHM COIL</td>
<td>water pump switch<br />
Z773-ND</td>
<td>RELAY1</td>
</tr>
<tr>
<td>1</td>
<td>LTV-847</td>
<td>Quad Optoisolator 16-DIP</td>
<td>160-1370-5-ND</td>
<td>OPTO1</td>
</tr>
<tr>
<td>1</td>
<td>SPST</td>
<td>Normally open SPST<br />
momentary contact switch</td>
<td>for &#8220;pilot&#8221;</td>
<td>S1</td>
</tr>
<tr>
<td>4</td>
<td>Fuse clips</td>
<td>for ATO fuses</td>
<td>F067-ND</td>
<td>F1, F2</td>
</tr>
<tr>
<td>1</td>
<td>1A ATO Fuse</td>
<td>for logic circuit</td>
<td></td>
<td>F1</td>
</tr>
<tr>
<td>1</td>
<td>10A ATO Fuse</td>
<td>for cell circuit</td>
<td></td>
<td>F2</td>
</tr>
<tr>
<td>1</td>
<td>MF-R040</td>
<td>PTC Resettable Fuse<br />
400mA hold, 800mA trip</td>
<td>logic circuit protection<br />
MF-R040-ND</td>
<td>PTC1</td>
</tr>
</tbody>
</table>
<p>28-SEP-2008 Added fuses and PTC.  Board will fit 90mm spaced holes.  Schematic, files and pictures updated.</p>
<p>01-OCT-2008 I got the relays, tested that part of the circuit, and it&#8217;s good.  The ATO fuse clips look really good, I&#8217;m happy with the way that turned out.  Files and schematic updated, this is the version I&#8217;m submitting for manufacture to <a href="http://www.protoexpress.com" target="_blank">Sierra Proto Express</a> .  It&#8217;s been accepted and is &#8220;in progress&#8221;.  6 boards should be here 09-OCT-2008.</p>
<hr /><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="alignleft" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" border="0" alt="Creative Commons License" /></a></p>
<p>Copyright (c) 2008 MDVE.NET.  Some rights reserved.<br />
This design is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=124</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frequency Counter</title>
		<link>http://pyroflatulence.tv/?p=103</link>
		<comments>http://pyroflatulence.tv/?p=103#comments</comments>
		<pubDate>Sun, 14 Sep 2008 14:55:45 +0000</pubDate>
		<dc:creator>Visual Echo</dc:creator>
				<category><![CDATA[Mad Scientist - Boo]]></category>

		<guid isPermaLink="false">http://pyroflatulence.tv/?p=103</guid>
		<description><![CDATA[The frequency counter is a complex side circuit to the Oscillation Overthruster, so I&#8217;m putting it in a new post. This is the final design.  There were a few mistakes in the prototype, the 1st and 3rd LED digit strobes were switched, a few capacitors that didn&#8217;t have the right lead spacing, and the logo [...]]]></description>
			<content:encoded><![CDATA[<p>The frequency counter is a complex side circuit to the Oscillation Overthruster, so I&#8217;m putting it in a new post.</p>
<p>This is the final design.  There were a few mistakes in the prototype, the 1st and 3rd LED digit strobes were switched, a few capacitors that didn&#8217;t have the right lead spacing, and the logo was bad&#8230; ProtoExpress didn&#8217;t silk screen over the hole in the solder mask.  The parts are renumbered and mistakes have been corrected.</p>
<p>Files:<a href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter.zip">frequency_counter.zip</a> (1 MB)<a href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter.zip"> </a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_schematic1.png" target="_blank"><br />
</a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_schematic1.png" target="_blank"><br />
</a><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_schematic1.png" target="_blank"><img class="alignleft size-thumbnail wp-image-122" title="frequency_counter_schematic1" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_schematic1.png" alt="" width="268" height="200" /></a></p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_gerbview.png" target="_blank"><img class="alignnone size-medium wp-image-121" title="frequency_counter_gerbview" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_gerbview.png" alt="" width="239" height="200" /></a></p>
<p><a class="alignleft" href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter.png" target="_blank"><img class="alignnone size-thumbnail" style="border: 0pt none; float: none;" title="frequency_counter" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter.png" alt="Eagle 3D POV-Ray of Frequency Counter board" width="247" height="200" /></a></p>
<p><a href="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_proto1.png" target="_blank"><img class="alignnone size-thumbnail" style="border: 0pt none; float: none;" title="frequency_counter_proto1" src="http://pyroflatulence.tv/wp-content/uploads/2008/09/frequency_counter_proto1.png" alt="" width="237" height="200" /></a><br />
The POV-Ray image has some inaccuracies and missing parts, I&#8217;m just learning how to use Eagle 3D.</p>
<p>This circuit takes a square wave signal (0 &#8211; Supply Volts) and displays the frequency on six 7-segment LEDs, for a range of 0 &#8211; 1MHz.  It counts the pulses occurring in one second, and displays the count over the next second.  It needs a 5-15 volt regulated power source, which will be supplied by the Oscillation Overthruster.  The zip file includes the Eagle PCB CAD files, Gerber files, the bill of materials, a few PNGs of the board and schematic, and where to get the full Creative Commons license.</p>
<p>I tested the circuit using a 5 volt supply, but all the ICs are rated for over 15V, so a regulated 12V supply and square wave input should work just fine.</p>
<p>This was designed using Eagle Light version v5.20 for Linux.</p>
<p><strong>Partlist exported from frequency_counter.sch<br />
</strong></p>
<table style="height: 356px;" border="1" width="589">
<tbody>
<tr>
<td><strong>Qty</strong></td>
<td><strong>Value</strong></td>
<td><strong>Device</strong></td>
<td><strong>Comment/Digikey</strong></td>
<td><strong>Parts</strong></td>
</tr>
<tr>
<td>5</td>
<td>1K</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td></td>
<td>R2, R3, R4, R5, R7</td>
</tr>
<tr>
<td>1</td>
<td>1M</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td>OK anywhere from<br />
910K to 3.3M</td>
<td>R6</td>
</tr>
<tr>
<td>1</td>
<td>1nF</td>
<td>poly capacitor, 5mm lead-in</td>
<td>for LED driver strobe</td>
<td>C1</td>
</tr>
<tr>
<td>3</td>
<td>2N2907</td>
<td>PNP transistor<br />
TO-92 ( or TO-18 )</td>
<td>for LED digit select</td>
<td>Q2, Q3, Q4</td>
</tr>
<tr>
<td>2</td>
<td>4.7nF</td>
<td>poly capacitor, 5mm lead-in</td>
<td>for pulse shaping</td>
<td>C5, C6</td>
</tr>
<tr>
<td>1</td>
<td>4.194304MHz</td>
<td>crystal, 5mm lead-in (49UA)</td>
<td>X007-ND</td>
<td>Q1</td>
</tr>
<tr>
<td>1</td>
<td>10K</td>
<td>1/4 watt resistor, 10mm lead-in</td>
<td>for pulse shaping</td>
<td>R8</td>
</tr>
<tr>
<td>1</td>
<td>22pF</td>
<td>capacitor, 2.5mm lead-in</td>
<td>optional, if needed</td>
<td>C4</td>
</tr>
<tr>
<td>1</td>
<td>82pF</td>
<td>capacitor, 2.5mm lead-in</td>
<td>optional, if needed</td>
<td>C3</td>
</tr>
<tr>
<td>3</td>
<td>100nF</td>
<td>poly capacitor, 5mm lead-in</td>
<td>for VCC to GND filtering</td>
<td>C2, C7, C9</td>
</tr>
<tr>
<td>1</td>
<td>100uF</td>
<td>electrolytic capacitor<br />
8mm with 3.5mm radial leads</td>
<td>for VCC to GND filtering</td>
<td>C8</td>
</tr>
<tr>
<td>1</td>
<td>4093</td>
<td>IC:  Quad 2-input NAND<br />
Schmitt Trigger 14-DIP</td>
<td>296-2068-5-ND</td>
<td>IC3</td>
</tr>
<tr>
<td>1</td>
<td>4521</td>
<td>IC: 24 stage Frequency Divider<br />
16-DIP</td>
<td>296-14158-5-ND</td>
<td>IC4</td>
</tr>
<tr>
<td>2</td>
<td>14543</td>
<td>IC: BCD to 7-Segment<br />
Latch/Decoder/Driver 16-DIP</td>
<td>MC14543BCPGOS-ND</td>
<td>IC1, IC5</td>
</tr>
<tr>
<td>2</td>
<td>14553</td>
<td>IC: 3 Digit BCD Counter<br />
CMOS 16-DIP</td>
<td>MC14553BCPGOS-ND</td>
<td>IC2, IC6</td>
</tr>
<tr>
<td>2</td>
<td>LTC-4724JR</td>
<td>LITE-ON Common Cathode<br />
triple 7-segment LED</td>
<td>160-1545-5-ND</td>
<td>LED1, LED2</td>
</tr>
<tr>
<td>2</td>
<td>220 (x7)</td>
<td>7 (or 8 ) 14 or 16-DIP isolated<br />
resistor</td>
<td>LED current limiter,<br />
can use 7<br />
1/4 watt resistors</td>
<td>R1, R9</td>
</tr>
</tbody>
</table>
<p>I recommend <a href="http://www.protoexpress.com" target="_blank">http://www.protoexpress.com</a> for manufacturing.</p>
<p>Accuracy: assuming the crystal passes it&#8217;s +/-30ppm rating, that would be:<br />
100% * ( 2^22Hz +/- (2^22Hz * (30 parts/1 MHz)) ) / 2^22Hz , right?<br />
100 * ( 2^22 + ((2^22) * (30/1e6)) ) / 2^22 = 100.003<br />
So that&#8217;s +/- 0.003 % maximum error.  Sounds pretty good to me.  I&#8217;m not really sure that the ( +/- 30 parts / 1MHz ) constant is the correct way to represent the error factor.  The counter chip also latches on falling edge, but the master reset on level (from what I can tell on the data sheet) so there may be some loss due to the length of the master reset pulse formed by R7 and C5.</p>
<p><a class="alignleft" rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank"><img class="alignleft" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png" border="0" alt="Creative Commons License" /></a></p>
<p>Copyright (c) 2008 MDVE.NET.  Some rights reserved.<br />
This design is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" target="_blank">Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyroflatulence.tv/?feed=rss2&amp;p=103</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
