<?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>Keith&#039;s Electronics Blog &#187; Products</title>
	<atom:link href="http://www.neufeld.newton.ks.us/electronics/?cat=25&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.neufeld.newton.ks.us/electronics</link>
	<description></description>
	<lastBuildDate>Fri, 18 Apr 2025 00:10:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>BatchPCB</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1505</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1505#comments</comments>
		<pubDate>Mon, 18 Jun 2012 03:36:56 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Circuits]]></category>
		<category><![CDATA[EAGLE]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1505</guid>
		<description><![CDATA[My academic background is in mathematics and computer science and I&#8217;ve picked up electronics as a hobby along the way, primarily self-taught through excellent books by Forrest Mims, the easy crossovers from math and CS to digital logic and digital design (still my strongest area of electronics), a stubborn willingness to read datasheets, and a [...]]]></description>
			<content:encoded><![CDATA[<p>My academic background is in mathematics and computer science and I&#8217;ve picked up electronics as a hobby along the way, primarily self-taught through excellent books by Forrest Mims, the easy crossovers from math and CS to digital logic and digital design (still my strongest area of electronics), a stubborn willingness to read datasheets, and a constant desire to learn.</p>
<p>For the last two years, I&#8217;ve been supplementing that with a formal background from my university&#8217;s EE department, taking first one and recently two classes per semester.  The education is interesting and enlightening, but it does take its toll &#8212; at least forty hours a week of work, six hours of classes, and (say) twenty hours of study and homework, plus some volunteer work unrelated to those, doesn&#8217;t leave me with a lot of free time; and you can see it by the decline in my hobby activity.</p>
<p>I don&#8217;t want to lose sight of what I love, though; and I hope to make a small business of electronics and make a few products available for sale.  So this summer I&#8217;m devoting every spare moment to get some projects off the ground.  And my ally in that plan is <a href="http://batchpcb.com/index.php/AboutUs">BatchPCB</a>.</p>
<h3>Why Have Boards Manufactured?</h3>
<p>In the past, I&#8217;ve done a lot of circuit prototyping on breadboards.  For some types of circuits, though, the needed prototyping has more to do with physical form factor and less to do with circuit validation.  (I hope to show some examples in the coming weeks.)  I&#8217;ve etched my own circuit boards; I&#8217;ve imposed on friends to mill prototype boards for me; and I&#8217;ve hoped to build my own milling machine to prototype my own boards at home.</p>
<p>The drawback of all of these methods is the lack of plated through-holes.  I&#8217;ve heard of DIY hole-plating methods, but I found them to require a prohibitive setup for chemical processing.  I&#8217;ve asked everyone I know whether they can think of any source for 1.5-ish mm (60 mil) OD copper or silver tubing, thinking of making a small riveting press to flare tubing onto the PCB surface both top and bottom &#8212; and even found very small silver crimp tubes used in beadwork and jewely-making, but none as small as 1.5 mm OD, nor in a consistently appropriate length.</p>
<p>I&#8217;ve worked around the lack of plated through holes by laying out boards that don&#8217;t require them, always carrying a signal from top to bottom using a component lead that can be soldered on both sides.  But this means no vias (soldering pins top and bottom just to change layers is a pain) and only crossing layers at resistors and diodes.  It means always routing connections to electrolytic capacitors on the bottom, &#8217;cause you can&#8217;t get to the top side of the board to solder unless you stand the capacitors way up on their leads.  It means routing traces to headers only on the bottom, or sliding the plastic guide up on the pins to solder the top side and then sliding it back down.  It means a dozen little design compromises <em>for a prototype board</em> that don&#8217;t need to be made for a board I&#8217;m going to have commercially manufactured later.  It means not only extra effort to accommodate my prototyping methods but also extra effort to undo that work before going to manufacturing.</p>
<p>SparkFun Electronics created BatchPCB as an offshoot of their own PCB prototyping contract.  They aggregate orders from multiple users, tile them together onto standard-sized panels, upload the panels to Gold Phoenix, get the boards manufactured, receive the shipment from Gold Phoenix, sort out the boards, and send them back.  They charge $2.50 per square inch, which is higher than you&#8217;d pay if you were ordering 100 square inches &#8212; but far less than you can pay anywhere else if you only want a few square inches of prototype.  And they charge a flat $10 handling fee <em>per order</em>, regardless of how many designs you include in your order.</p>
<p>They suggest it&#8217;ll take about three weeks to get your order.  My experience has been two weeks.  It sounds like a long wait, but as they say:</p>
<blockquote><p>As we develop projects, we always get at least one PCB design onto the week&#8217;s batch panel. While one design is being fabbed, we have new PCBs for another design already arriving from a previous batch &#8211; we always have new PCBs to play with!</p></blockquote>
<h3>My Summer with BatchPCB</h3>
<p>I&#8217;m trying to place an order every two weeks and to order boards for multiple projects each time.  I&#8217;ve received two batches so far and I submitted a third this weekend.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2012/06/17/DSCN8886.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2012/06/17/DSCN8886_mid.jpg" alt="Circuit boards from BatchPCB" /></a></p>
<p>I&#8217;ll say more about these designs as I work on the projects, but starting at the top and progressing in reading order:</p>
<ul>
<li>Logic gate boards to help bridge the huge gap between what happens in the digital design lecture and lab.  My classmates with no prior experience did not gain much academic value from poking opaque ICs into breadboards.</li>
<li>A Freeduino-derived board for my personal use, manufactured as a proof-of-concept that I have the right components and schematic to embed an Arduino-compatible core into projects of my own.  (I will of course publish all source files for designs that I distribute to anyone other than myself.)</li>
<li>The first half of a pair of boards to breakout a headphone cable and jack for breadboarding, to plug an iPod&#8217;s headphone output into op-amp filter circuits and listen to the results.</li>
<li>A board for testing component lead fit against through-hole sizes.  To date, I&#8217;ve used calipers for measuring lead sizes for PCB design.  I&#8217;m curious whether testing against a physical board gives me any different expenditure of time or quality of results.</li>
</ul>
<p>The logic gate boards were my first batch.  I ordered four each of two variants of the boards, assembled a few, and discovered that I don&#8217;t like soldering 0603 SMT as much as I thought I did; so if I make more, I&#8217;ll be changing the boards to use 0805 components.</p>
<p><strong>Lesson learned:  Order only one of your first prototype, regardless of how sure you <em>think</em> you are that you&#8217;ve finalized the design.</strong></p>
<p>So why so many of the other boards?  I <em>did</em> order only one of each &hellip; but SparkFun, bless their hearts, appears to fill wasted space in each panel with small customer boards that they give back to their customers as a bonus; and I happened to have small designs in this batch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1505</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Transistor-Based Variable Current Drive for LED Calculator</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1145</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1145#comments</comments>
		<pubDate>Mon, 06 Sep 2010 22:20:53 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Circuits]]></category>
		<category><![CDATA[LEDs]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1145</guid>
		<description><![CDATA[I&#8217;ve put off working on my LED calculator project for far too long, at first trying to find the right handheld case to put it in and then later hoping to be able to manufacture a case myself. I&#8217;m not having any luck with that right now and if I keep waiting I&#8217;ll wait forever; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve put off working on my <a href="?p=248">LED calculator project</a> for far too long, at first trying to find the right handheld case to put it in and then later hoping to be able to manufacture a case myself.  I&#8217;m not having any luck with that right now and if I keep waiting I&#8217;ll wait forever; so I&#8217;m resurrecting the project with the intention of selling it as a kit sans case.</p>
<p>The idea is to expand on a simple LED tester by allowing the user to plug in an LED, dial in the LED brightness, and then read information on an LCD showing the LED voltage drop, the current current, and the value of current-limiting resistor to use in a target circuit.</p>
<p>A microcontroller determines this information by <a href="?p=218">measuring the voltage drop across a series current-sense resistor</a> to calculate the current and <a href="?p=218">measuring the voltage drop across the LED</a> to calculate how much voltage will drop across the current-limiting resistor in the target circuit and what that resistor value should be.</p>
<h3>Variable Resistor Drive</h3>
<p><a href="http://www2.neufeld.newton.ks.us/files/electronics/led-calculator/breadboard-noduino.png"><img src="http://www2.neufeld.newton.ks.us/files/electronics/led-calculator/breadboard-noduino.png" alt="LED calculator drive circuit" /></a></p>
<p>Until now, all of my prototyping has used a variable resistor in series with the LED to set the current.  After subtracting the LED&#8217;s forward voltage drop from the supply voltage, the variable resistor dominates the resistance of the remaining series chain (which includes the current-sense resistor), thereby setting the series current.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/05/DSCN7407.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/05/DSCN7407_mid.jpg" alt="LED calculator prototype with direct potentiometer drive" /></a></p>
<p>This does give control over the LED current and brightness, but the problems with this method are:</p>
<ul>
<li>A small-valued potentiometer doesn&#8217;t provide enough resistance to dial down to low enough LED currents.  For example, a 1K pot with the circuit running on 9V won&#8217;t deliver less than 6mA, depending on the LED color (and voltage drop); and modern, high-efficiency LEDs are surprisingly bright at 6mA.</li>
<li>A large-valued potentiometer has an extremely non-linear current response, with all the &#8220;action&#8221; at the very end of its rotation.</li>
</ul>
<p>Here&#8217;s the response of two different LEDs with a 10K potentiometer:</p>
<table align=center border=1 cellspacing=0 cellpadding=5>
<tr>
<th>Position</th>
<th>Green LED Current</th>
<th>Blue LED Current</th>
</tr>
<tr>
<td>0</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>1</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>2</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>3</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>4</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>5</td>
<td>2mA</td>
<td>2mA</td>
</tr>
<tr>
<td>6</td>
<td>3mA</td>
<td>2mA</td>
</tr>
<tr>
<td>7</td>
<td>4mA</td>
<td>3mA</td>
</tr>
<tr>
<td>8</td>
<td>5mA</td>
<td>6mA</td>
</tr>
<tr>
<td>9</td>
<td>34mA</td>
<td>21mA</td>
</tr>
<tr>
<td>10</td>
<td>100mA</td>
<td>89mA</td>
</tr>
</table>
<p>Very slow response until near the end of the potentiometer&#8217;s rotation, at which point the response is so rapid that it&#8217;s very difficult to control<br />
And of course this makes sense, as it&#8217;s the hyperbolic curve of I = V/R.</p>
<h3>Transistor Drive</h3>
<p>Last week I started looking at improving the range and linearity of the LED current.  I&#8217;m <em>not</em> looking for a perfectly flat response curve nor for a true constant-current drive; I just want a somewhat better response.  What came to mind was this simple PNP transistor circuit &#8212; actually an even simpler version without R1 and R3, but I&#8217;ll explain their purposes in a bit.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/06/drive-circuit.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/06/drive-circuit.png" alt="Transistor LED current control circuit" /></a></p>
<p>The theory is that R2 (or R1 + R2 + R3) acts as a voltage divider across the power supply, linearly setting a drive voltage.  R4 (nearly) linearly turns this voltage into a current sink across the PNP transistor&#8217;s emitter-base junction; and because R4 >> R2, R2 presents a &#8220;stiff&#8221; voltage source to R4, meaning we can largely ignore R4&#8242;s effects on the voltage division.</p>
<p>Thus R2 provides (nearly) linear control of the emitter-base current.  In the common-emitter configuration, the PNP transistor amplifies the current by the transistor&#8217;s &beta; (about 150-200 for a small, general-purpose PNP like the 3906) for a correspondingly higher emitter-collector current</p>
<blockquote><p>
I<sub>EC</sub> = &beta; I<sub>EB</sub>
</p></blockquote>
<p>which goes through the LED and the sense resistor, providing (nearly) linear control of the LED brightness by turning R2.</p>
<p>Well, that&#8217;s the theory, anyway.  This weekend I dug out the prototype and built up the transistor control to test it in practice.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/05/DSCN7412.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/09/05/DSCN7412_mid.jpg" alt="LED calculator prototype with transistor current drive" /></a></p>
<p>(70s decor courtesy Radio Shack.)</p>
<p>The first thing I noticed was a section at the CCW end of R2&#8242;s travel in which nothing happened, because R2 wasn&#8217;t providing more than the transistor&#8217;s cut-in voltage &#8212; that is, although V<sub>B</sub> was less than V<sub>E</sub>, it wasn&#8217;t enough less to overcome to emitter-base forward voltage drop and bias the transistor down into the active region.</p>
<p>I tried installing a small-signal diode &#8220;above&#8221; the potentiometer so that V<sub>B</sub> would always be at least .6V below V<sub>E</sub> and eliminate R2&#8242;s dead region, but the diode&#8217;s forward voltage drop was a little too high (it did <em>too</em> good a job) and the resulting minimum LED current was a little higher than I liked.  I settled on adding R3 in that position, selecting 68&Omega; as a value that worked well with both traditional and high-power / high-efficiency LEDs and with both 9V and 7.2V supplies.</p>
<p>With a 9V supply and R3 = 68&Omega;, I tried three different values of the base resistor R4.</p>
<table align=center border=1 cellspacing=0 cellpadding=5>
<tr>
<th rowspan=2>R2 Position</th>
<th colspan=2>R4 = 10k&Omega;</th>
<th colspan=2>R4 = 22k&Omega;</th>
<th colspan=2>R4 = 47k&Omega;</th>
</tr>
<tr>
<th>Green</th>
<th>Blue</th>
<th>Green</th>
<th>Blue</th>
<th>Green</th>
<th>Blue</th>
</tr>
<tr>
<td>7:00</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
</tr>
<tr>
<td>8:00</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
<td>0mA</td>
</tr>
<tr>
<td>9:00</td>
<td>8mA</td>
<td>7mA</td>
<td>3mA</td>
<td>2mA</td>
<td>1mA</td>
<td>1mA</td>
</tr>
<tr>
<td>10:00</td>
<td>30mA</td>
<td>30mA</td>
<td>15mA</td>
<td>13mA</td>
<td>7mA</td>
<td>6mA</td>
</tr>
<tr>
<td>11:00</td>
<td>46mA</td>
<td>42mA</td>
<td>24mA</td>
<td>22mA</td>
<td>13mA</td>
<td>11mA</td>
</tr>
<tr>
<td>12:00</td>
<td>56mA</td>
<td>47mA</td>
<td>34mA</td>
<td>32mA</td>
<td>17mA</td>
<td>17mA</td>
</tr>
<tr>
<td>1:00</td>
<td>60mA</td>
<td>48mA</td>
<td>42mA</td>
<td>40mA</td>
<td>24mA</td>
<td>22mA</td>
</tr>
<tr>
<td>2:00</td>
<td>62mA</td>
<td>49mA</td>
<td>49mA</td>
<td>44mA</td>
<td>29mA</td>
<td>26mA</td>
</tr>
<tr>
<td>3:00</td>
<td>62mA</td>
<td>49mA</td>
<td>53mA</td>
<td>46mA</td>
<td>32mA</td>
<td>30mA</td>
</tr>
<tr>
<td>4:00</td>
<td>63mA</td>
<td>49mA</td>
<td>55mA</td>
<td>47mA</td>
<td>34mA</td>
<td>31mA</td>
</tr>
<tr>
<td>5:00</td>
<td>63mA</td>
<td>49mA</td>
<td>55mA</td>
<td>47mA</td>
<td>34mA</td>
<td>32mA</td>
</tr>
</table>
<p>The table shows a similar effect at the other end of R2&#8242;s travel in which the LED current was pretty well maxed out and not increasing any further.  I think I was hitting the knee between the transistor&#8217;s linear region and saturation, meaning increasing I<sub>EB</sub> was no longer increasing I<sub>EC</sub>.  Experimentation gave me R1 of 200&Omega; keeps the transistor pretty well out of saturation and gives a satisfyingly more-linear response than what I measured here.</p>
<p>The 0mA readings at the beginning of the table, by the way, are a bit deceptive &#8212; some of my test LEDs are actually lit in that region.  I&#8217;ve updated the Arduino code to show tenths of a milliamp when the reading is below 10mA, and I can see LEDs glowing with as little as .1mA.  Probably not a value of interest for most people, but it could be effective for making flickering gas lamps for model railroads.</p>
<h3>Choosing Values</h3>
<p>R4 = 22k&Omega; looks like a pretty good compromise between providing a near-linear response and covering the range of LED currents I expect most people would be interested in testing, so I&#8217;ve tentatively settled on it.</p>
<p>I&#8217;m still fiddling with values to give good performance at both 9V (alkaline battery) and 7.2V (NiMH), because I use rechargeables almost exclusively and want to make this work well on rechargeables to encourage other people to do the same.  The problem is,</p>
<blockquote><p>V<sub>supply</sub> = 7.2V<br />
V<sub>EC</sub> &asymp; .8V<br />
V<sub>blue LED</sub> &asymp; 3.5V</p>
<p>V<sub>R5</sub> = V<sub>supply</sub> &#8211; V<sub>EC</sub> &#8211; V<sub>LED</sub> = 7.2V &#8211; .8V &#8211; 3.5V = 2.9V</p>
<p>I<sub>LED</sub> = I<sub>R5</sub> = V<sub>R5</sub> / R5 = 2.9V / 100&Omega; = 29mA</p></blockquote>
<p>In other words, running on a 7.2V battery, with the transistor saturated, a blue LED with a 3.5V forward drop maxes out at 29mA; and it gets worse with a battery that&#8217;s not straight out of the charger and some white LEDs with a higher forward voltage drop.  I&#8217;d like to enable people to test up to 50mA, to cover high-brightness LEDs, so I&#8217;d like to push this maximum current a little higher.</p>
<p>R5 = 68&Omega; gives I<sub>LED</sub> up to about 42mA, which isn&#8217;t as high as I like; but the tradeoff is that a smaller R5 gives me a smaller voltage range to sample in the A/D converter, hence lower resolution for the display.  68&Omega; seems like a good compromise.  And I&#8217;m already thinking about a DPDT switch to change the resistor and alert the microcontroller about battery chemistry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1145</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>EasyBright on Stage</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1047</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1047#comments</comments>
		<pubDate>Tue, 25 May 2010 23:54:12 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[LEDs]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1047</guid>
		<description><![CDATA[Saturday night the EasyBright already got its public debut! I played a pair of classic rock concerts Friday and Saturday nights, and Friday had trouble seeing my music (occasionally folded out to four pages) with the clip-on stand light I was using. Saturday after assembling the EasyBright, I built an LED &#8220;wand&#8221; music stand light [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6951.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6951_mid.jpg" alt="Music stand wand light with lens flare" /></a></p>
<p>Saturday night the EasyBright already got its public debut!  I played a pair of classic rock concerts Friday and Saturday nights, and Friday had trouble seeing my music (occasionally folded out to four pages) with the clip-on stand light I was using.  Saturday after assembling the EasyBright, I built an LED &#8220;wand&#8221; music stand light that worked marvelously.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7027.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7027_mid.jpg" alt="End of LED wand music stand light" /></a></p>
<p>I didn&#8217;t have a lot of time for construction, so I cut a 1/2&#8243; dowel to 3&#8242; length and drilled eighteen 1/8&#8243; holes through it (axially, not longitudinally) every 2&#8243;.  Paint wouldn&#8217;t dry before the show, so I sanded the dowel and then colored it with a permanent marker.  I then installed bright flat-top LEDs with a good viewing angle into the holes and bent the leads out in opposite directions.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7022.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7022_mid.jpg" alt="Wiring on LED wand music stand light" /></a></p>
<p>I lap-soldered teflon-insulated (heat-resistant) wire from LED to LED with heat-shrink tubing preinstalled &#8212; but didn&#8217;t shrink the tubing until after I had tested the LEDs, in case I needed to repair any solder joints.  I skipped LEDs to make an A-B-C-A-B-C pattern so if a chain failed, I&#8217;d lose light evenly along the whole wand instead of all in one section.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6991.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6991_mid.jpg" alt="Connectors at end of LED wand music stand light" /></a></p>
<p>I crimped connectors onto the wires, connected everything to the EasyBright, put an appropriate connector on a 24VDC wall wart, and fired it up perfectly on the first try.  (Such luck!)  I disconnected the wand, reseated and shrank the heat-shrink, zip-tied the wires in place, and then powered up the wand to burn in for an hour before leaving home for the concert.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6947.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6947_mid.jpg" alt="LED wand music stand light" /></a></p>
<p>On stage, it delivered a very even wash of illumination across my music, giving me a great view all through the show.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6954.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6954_mid.jpg" alt="EasyBright circuit board driving LED wand music stand light" /></a></p>
<p>The circuit board is so lightweight, it was comfortably suspended in mid-air between the keyboard rack and my music stand by the power and LED wires.  For the long term, I&#8217;m trying to decide whether how it should be mounted to the wand &#8212; perhaps attached near the end inside a sleeve of giant heat-shrink.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1047</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Assembling the first EasyBright</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1049</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1049#comments</comments>
		<pubDate>Tue, 25 May 2010 10:57:09 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[LEDs]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1049</guid>
		<description><![CDATA[Last week while watching Mannequin (a very young and fresh Kim Cattrall, a goofy plot, and music by Starship &#8212; what could be better? okay, if it had John Cusack and were set in Shermer, Illinois, yes, that would be better) I split all the EasyBright components into a parts bin for easy access and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7032.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN7032_mid.jpg" alt="EasyBright components" /></a></p>
<p>Last week while watching <a href="http://www.imdb.com/title/tt0093493/">Mannequin</a> (a very young and fresh Kim Cattrall, a goofy plot, and music by Starship &#8212; what could be better? okay, if it had John Cusack and were set in Shermer, Illinois, yes, that would be better) I split all the EasyBright components into a parts bin for easy access and portability.</p>
<p>Saturday afternoon I put together the first sample.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6926.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6926_mid.jpg" alt="EasyBright-3L constant-current LED string driver PCB with solder paste" /></a></p>
<p>This is waaaaaay too much solder paste for 0603 parts and 1/40&#8243; IC pin spacing.  I had to remove several solder bridges from the IC, and the passives had solder mounds instead of fillets.  I took the picture specifically to record how much paste I used so I could adjust on the second attempt.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6962.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6962_mid.jpg" alt="EasyBright-3L constant-current LED string driver, front" /></a></p>
<p>Here&#8217;s the cleaned-up board, front side.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6976.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/24/DSCN6976_mid.jpg" alt="EasyBright-3L constant-current LED string driver, back" /></a></p>
<p>Back side, with hand-written labels for the current rating and the serial number (S00).  The &#8220;permanent&#8221; marker comes off easily with rubbing alcohol &#8212; I need to get some clear nail polish to seal it in.</p>
<h3>Changes</h3>
<p>Even before assembly, I had made notes about (and started implementing) things to fix whenever I print the next boards:</p>
<ul>
<li>Change the IC&#8217;s ground connection from a via outside the IC footprint to a trace going straight in to the heatsink pad.  I had routed that connection before I confirmed with Maxim that the pad is okay to connect to ground &#8212; it&#8217;s just not okay to be the <em>only</em> ground &#8212; and then forgot to go back and change it.  Removing that via gives me a little more room to route the bottom-side LED power traces cleanly, and also:</li>
<li>Increase the pad size on the optional through-hole current-sense resistors.  This, believe it or not, is EAGLE&#8217;s default pad size, and I think it&#8217;d be challenging to solder without a good, narrow-tipped iron.</li>
<li>Increase the trace isolation on the solder-side ground pour.  There&#8217;s no reason to have it that close to the pads.</li>
<li>More subtle, I spaced the 2-pin connector pads an extra .02&#8243; apart to see whether I could get the connectors to friction-fit for ease while soldering.  They don&#8217;t quite.  Either change the library footprint to space the pads a little further apart or just get used to pinching the leads together before stuffing the parts and soldering, which works better than I had expected.</li>
</ul>
<p>I&#8217;m still delighted!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=1049</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Gold Phoenix for EasyBright PCB Manufacturing</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=620</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=620#comments</comments>
		<pubDate>Tue, 25 May 2010 01:17:02 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Circuits]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=620</guid>
		<description><![CDATA[Two and a half weeks ago, I finished up the CAM files for my first set of EasyBright LED driver PC boards and sent them off to have boards made. While shopping around for board houses, I had narrowed my choices to two. Here&#8217;s how I made the final selection of Gold Phoenix &#8212; not, [...]]]></description>
			<content:encoded><![CDATA[<p>Two and a half weeks ago, I <a href="?p=983">finished up the CAM files</a> for my first set of EasyBright LED driver PC boards and sent them off to have boards made.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6925.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6925_mid.jpg" alt="PC board order from Gold Phoenix" /></a></p>
<p>While shopping around for board houses, I had narrowed my choices to two.  Here&#8217;s how I made the final selection of Gold Phoenix &#8212; not, as it turns out, whom I thought at first I was going to pick.</p>
<p><span id="more-620"></span></p>
<h3>PCB Express</h3>
<p><a href="http://www.pcbexpress.com/">PCB Express</a> was initially my strongest contender.  They offer a range of options, including copper only (no solder mask or silkscreen), two-layer with silkscreen, and four- and six-layer boards.  They also partner with <a href="http://www.screamingcircuits.com/">Screaming Circuits</a> (read their blog for amazingly insightful, real-world ruminations on how to [and not to] design boards for manufacturability) for PCB assembly &#8212; something I don&#8217;t need now but might want in the future.</p>
<p>PCB Express&#8217;s pricing is <a href="http://www.pcbexpress.com/products/prices.php">a matrix of board size and quantity</a>, with pretty appealing prices for moderate quantities of largish boards.  They <a href="http://www.pcbexpress.com/technical/faq.php#fab">don&#8217;t mind if you panelize</a> (tile a plane with multiple copies of your board &#8212; some board houses refuse to accept panelized orders) and will even route perforated lines to break apart your smaller boards, but won&#8217;t route complete cuts to separate your boards for you.</p>
<p>The EasyBright came out to be 1.75&#8243; x .8&#8243;, and I wanted either about twenty (test/samples) or about a hundred (first production run) of them.  My <a href="http://www.pcbexpress.com/products/prices.php#2pricing">&#8220;E2&#8243; order</a> would have cost $166 to get two boards without panelization and with double-sided silkscreening ($83 per board) or the same $166 to get 12 panelized boards that I&#8217;d have to break apart ($13.83 per board).  $478 would get me 90 panelized boards, again with double-sided silk &#8212; about $5.31 per board.</p>
<h3>Gold Phoenix</h3>
<p><a href="http://www.goldphoenixpcb.biz/">Gold Phoenix</a> was my underdog, in part because I hadn&#8217;t studied their pricing and capabilities closely enough.  They have a <a href="http://www.goldphoenixpcb.biz/quote2.php">prototype offer</a> of 100 square inches for $100 or 155 square inches for $110 &#8212; each for two-sided boards with solder mask and top silkscreening.  This rate includes shipping.</p>
<p>It also includes free &#8220;step and repeat&#8221; &#8212; that is to say, they will automatically panelize your design for you; and although this took me a while to figure out for sure, they cut them apart for you, too.  Bottom-side silkscreen is an additional $20, as is electrical testing to discard boards with manufacturing defects impacting the copper connections.</p>
<p>So for $130, I could get 155 square inches worth of boards, plus $20 for electrical testing so I didn&#8217;t have to worry about clinkers.  I guesstimated a kerf of .1&#8243; to cut apart the boards, so the 10&#8243; x 14.5&#8243; panel they mention should give me 11 x 7 = 77 or 5 x 16 = 80 boards &#8212; in the neighborhood of $1.88 per board.  That sounded fantastic!</p>
<h3>Ordering from Gold Phoenix</h3>
<p>To <a href="http://www.goldphoenixpcb.biz/placeorder.php">place my order</a>, I ran an EAGLE CAM export and zipped up the files along with an index listing what layer each file represented.  I then emailed the zip file to goldphoenixtech@yahoo.ca, indicating that I wanted 155 square inches of panelized boards with standard PCB material and copper weight, green solder mask, and double-sided silkscreen.</p>
<p>I got back a prompt quote for 110 boards instructing me to PayPal them, which I did, and my order was underway.  110 boards &#8212; obviously they cut the boards apart with a smaller kerf than I had envisioned.</p>
<p>And then after my order was placed, <a href="?p=983&#038;cpage=1#comment-25036">Asmodeus noticed that I had dropped a trace on one of the current-sense resistors</a> while I was playing with eagle3d.  Drat!</p>
<p>I quickly corrected the mistake in EAGLE and emailed Gold Phoenix asking whether they could restart the process with my fixed file.  They had already &#8220;processed the job,&#8221; but for a $50 fee were willing to start over.  That was a no-brainer &#8212; 110 boards I&#8217;d have to fix by hand or fifty bucks to fix them &#8212; so I sent the money and they started over.</p>
<h3>Boards from Gold Phoenix</h3>
<p>Just over a week later, they sent me a note indicating that my boards had shipped, and I received the package a few days after that.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6922.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/22/DSCN6922_mid.jpg" alt="PCBs" /></a></p>
<p>113 adorable little boards, all cut apart and stacked and sealed up in plastic (and packed carefully in a box, not shown here).  Woo-hoo!</p>
<p>Wait, 113 boards?  I was estimating 77 to 80, they quoted me 110, and they delivered 113?  What&#8217;s up with that???</p>
<p>Entirely ignoring the kerf and envisioning the 10&#8243; x 14.5&#8243; panel they list as their maximum size,, the .8&#8243; x 1.75&#8243; boards could fit 12 x 8 = 96 one way or 18 x 5 = 90 boards the other way.  Neither one of these gets me 110 boards, much less 113.</p>
<p>Let&#8217;s go about this another way.  113 is prime; so if we assume that they made me a single rectangular panel, they must have discarded some boards after electrical testing.  How would nearby numbers factor and what panel sizes would that imply?</p>
<ul>
<li>114 boards = 6 * 19 <br/> 6 * 1.75&#8243; = 10.5&#8243; and 19 * .8&#8243; = 15.2&#8243; <br/> 10.5&#8243; x 15.2&#8243; = 159.6 sq-in (plus kerfs)</li>
<li>115 = 5 * 23 <br/> 23 * .8&#8243; = 18.4&#8243;, which I rule out since they claim the maximum dimension is 14.5&#8243;</li>
<li>116 = 4 * 29, which gets us nowhere useful</li>
<li>117 boards = 9 x 13 <br/> 9 * 1.75&#8243; = 15.75&#8243; and 13 * .8&#8243; = 10.4&#8243; <br/> 15.75&#8243; x 10.4&#8243; = 163.8 sq-in, which is quite a bit larger than promised</li>
</ul>
<p>So I don&#8217;t know quite what to think &#8212; other than that I like getting 113 boards at $1.33 each (plus my $50 screwup).</p>
<h3>Quality</h3>
<p>All of the boards I&#8217;ve examined look really good, and I was delighted with the legibility of the silkscreen and my fairly small type.  The top-side silkscreen registration was low by about .01&#8243; (click one of the pictures above), which makes a bigger difference to the appearance of the board than you might guess, but it&#8217;s quite acceptable.</p>
<p>A sample board measures .796&#8243; x 1.748&#8243; &#8212; certainly close enough for me.  Its upper left corner is cut in a bit of a diagonal, I&#8217;m guessing the last place the router touched when it cut loose.  I should point out that I&#8217;m mentioning every little thing I&#8217;ve noticed while looking at the board with a critical eye for several days.</p>
<p>All in all, I&#8217;m tremendously pleased.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=620</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Viewing PCB Gerber Files Before Manufacturing</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=983</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=983#comments</comments>
		<pubDate>Thu, 06 May 2010 23:48:14 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[EAGLE]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=983</guid>
		<description><![CDATA[I&#8217;ve spent my last week and a half&#8217;s free time going back and forth among EAGLE, eagle3d, 1:1 printouts, and the Viewplot Gerber viewer. That&#8217;s how long it took me to get the silkscreen layer tweaked to my satisfaction &#8212; which I completely didn&#8217;t anticipate. Thank you, thank you, thank you SparkFun for emphasizing how [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent my last week and a half&#8217;s free time going back and forth among EAGLE, eagle3d, 1:1 printouts, and the Viewplot Gerber viewer.  That&#8217;s how long it took me to get the silkscreen layer tweaked to my satisfaction &#8212; which I <em>completely</em> didn&#8217;t anticipate.</p>
<p>Thank you, thank you, thank you SparkFun for <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=109">emphasizing how important it is to view your Gerbers before submitting</a> (search in page for &#8220;Something I highly recommend&#8221;).</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/25/driver-prototype-v.92-3d.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/25/driver-prototype-v.92-3d_mid.png" alt="eagle3d view of LED driver prototype" /></a></p>
<p>I had already rendered the board layout in <a href="http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d">eagle3d</a> (pay no mind to the test holes I used to figure out that eagle3d doesn&#8217;t make holes through copper that&#8217;s part of a polygon, which <a href="http://www.matwei.de/doku.php?id=en:eagle3d:documentation#4.6_holes">its documentation clearly states</a> if you bother to read it) and thought it looked pretty good.</p>
<p>But I followed Nate&#8217;s advice, installed <a href="http://www.viewplot.com/">Viewplot</a>, and was rather startled to see what my board was <em>really</em> going to look like.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/viewplot.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/viewplot_mid.png" alt="Viewplot Gerber view of LED driver prototype" /></a></p>
<p>The silkscreened boxes for the plastic &#8220;keepers&#8221; on the pin headers are fairly faithful to the connectors I&#8217;m using, but what&#8217;s with putting the pins in the silkscreen?  I don&#8217;t need a shadow of the pins on the board.</p>
<p>Also the 0805 SMT resistors and capacitors don&#8217;t have silk around them showing which pads belong to the same component.  It&#8217;s easy enough to figure out on this small board, but I&#8217;d like to develop good habits.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.25.24-PM.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.25.24-PM_mid.png" alt="EAGLE CAM processor showing layers going into top-side silkscreen" /></a></p>
<p>EAGLE&#8217;s CAM processor lets you pick which PCB layers are used to generate each Gerber file, and there&#8217;s not much in my top silk layer.  The pins must be in tPlace, so I used the PCB layout editor to preview what would happen if I turned it off &hellip;</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.26.16-PM.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.26.16-PM_mid.png" alt="EAGLE PCB layout with tPlace layer switched off" /></a></p>
<p>I lost the header outlines as well as the pins, as well as the outlines for the optional through-hole resistors.  That&#8217;s not gonna work.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.31.27-PM.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.31.27-PM_mid.png" alt="Changing package of two-pin connector in EAGLE PCB layout" /></a></p>
<p>Exercising outrageous optimism, I tried changing my header packages from right-angle to vertical, hoping they&#8217;d have more appropriate package outlines (still in the tPlace layer).</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.32.32-PM.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.32.32-PM_mid.png" alt="EAGLE PCB layout with header type switched, tDocu on" /></a></p>
<p>Better &#8212; no stray pins in the silkscreen.  Now guardedly optimistic.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.37.23-PM.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/29/Screen-shot-2010-04-29-at-8.37.23-PM_mid.png" alt="EAGLE PCB layout with tDocu off and supplemental silk drawn in tPlace layer" /></a></p>
<p>I turned off the tDocu layer that shows the physical outlines of components, and which isn&#8217;t (and mustn&#8217;t be) included in the silkscreen Gerber because it would interfere with soldering, then added lines in tPlace to indicate the edges of SMT components.</p>
<p>Silly me &#8212; I thought I was done!</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/30/led-driver-new-headers-gerbers.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/30/led-driver-new-headers-gerbers_mid.png" alt="Viewplot Gerber view of revised LED driver prototype" /></a></p>
<p>Back in Viewplot, look at how the silkscreen around the power connector is now crowding the pin labels.  Aaargh!  There&#8217;s not room to move them far enough away.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/03/led-driver-new-silkscreen-gerber.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/03/led-driver-new-silkscreen-gerber_mid.png" alt="Viewplot Gerber view of revised LED driver silkscreen" /></a></p>
<p>I went back to my connector library and designed two- and three-pin versions of &#8220;locking&#8221; connectors based on the <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=114">SparkFun locking connector concept</a>.  (<a href="#sparkfun-eagle-license">See footnote about SparkFun EAGLE library license terms.</a>)</p>
<p>The Gerber view looked pretty good now, except the ground symbol was too close to the power header and a little visually confusing.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/05/led-driver-with-drills-gerbers.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/05/led-driver-with-drills-gerbers_mid.png" alt="Viewplot Gerber view of LED driver with working drill holes" /></a></p>
<p>I moved that down a bit and in my next trip to Viewplot discovered how to get the drill holes to show up:  don&#8217;t load the drill <em>rack</em> file into Viewplot, just the drill file itself.  Getting visualization with holes and confirmation that there&#8217;s really a mounting hole through the heatsink &#8212; outstanding!</p>
<p>Somewhere around this time I also printed out the solder-side of the board to make sure that the boxes I made to write in (visible in the next screen shot) were large enough for me to write in.  They weren&#8217;t.  I enlarged them.</p>
<p>Done now, maybe?</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/05/led-driver-with-drills-gerbers-back.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/05/led-driver-with-drills-gerbers-back_mid.png" alt="Viewplot Gerber view of LED driver with working drill holes, back" /></a></p>
<p>Oof, look at all the problems with the silkscreen on the back side.  The top line looks like I&#8217;m incrementing V by 5.5-40V (C joke), and if I fix that I need to move I<sub>LED</sub>&#8216;s = further away also.  The / in the URL is awfully close to the solder pad, and the box for me to write the &#8220;factory&#8221;-configured LED current could stand to extend a little closer to the &#8220;mA&#8221; label.</p>
<p>Props to <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=115">Nate at SparkFun again</a> (search in page for &#8220;Label everything, all the time&#8221;) for reminding me to put the input voltage range and output current rating on the board, BTW.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/06/led-driver-final-gerbers-back.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/06/led-driver-final-gerbers-back_mid.png" alt="Viewplot Gerber view of final LED driver design, back" /></a></p>
<p>Fixed!  Really!  Done!  If I stare at this thing any longer, I&#8217;m going to start hand-kerning the vector font.</p>
<p>I zipped the files and uploaded them to Gold Phoenix last night.</p>
<p><a name="sparkfun-eagle-license"><br />
<h3>SparkFun EAGLE Library License Terms</h3>
<p></a></p>
<p>I&#8217;m not using SparkFun&#8217;s <a href="http://www.opencircuits.com/SFE_Footprint_Library_Eagle">EAGLE library</a> nor a derivative of their library <em>file</em> because I haven&#8217;t got a response from them whether their <a href="http://creativecommons.org/licenses/by-sa/3.0/">cc-by-sa license</a> is intended to be:</p>
<ul>
<li>like the GPL, meaning that if you use their library in your board design you have to open-source your whole design &#8212; which I will do <em>after</em> I&#8217;m confident the design is right but not immediately upon shipping &#8212; or</li>
<li>like the LGPL and you can use the library in your product without open-sourcing your design but you would have to open-source derivatives of the library itself.</li>
</ul>
<p>So my connector library is most definitely based on Pete Lewis&#8217;s <em>idea</em> to skew pin positioning from side to side to make a header friction-fit in a board for soldering, but (as far as I know) the idea is not patented and I&#8217;m in the clear.  My library is a reimplementation from scratch of the idea, so is not derivative of their <em>library</em>.</p>
<p>I hate playing games like this and I would love to toss my library and use SparkFun&#8217;s if I can get a verdict from them on the licensing.  Also as soon as I&#8217;ve got boards tested and working and I&#8217;m ready to publish the design files, I can switch back to their library too.</p>
<p><em>Update 07-May-2010:  I heard back from SparkFun and it will be fine for me to use their library.  I&#8217;ll look at switching back on the next iteration of the board.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=983</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Names for LED Driver</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=636</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=636#comments</comments>
		<pubDate>Wed, 21 Apr 2010 23:24:57 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=636</guid>
		<description><![CDATA[The LED driver board is nearing its final configuration (I need to convince EAGLE that the mounting hole has a hole in it; and don&#8217;t worry, those aren&#8217;t really the headers I&#8217;m using) and I&#8217;m about ready to send it off to be manufactured. But I&#8217;d really like to come up with a great name [...]]]></description>
			<content:encoded><![CDATA[<p>The LED driver board is nearing its final configuration (I need to convince EAGLE that the mounting hole has a hole in it; and don&#8217;t worry, those aren&#8217;t really the headers I&#8217;m using) and I&#8217;m about ready to send it off to be manufactured.  But I&#8217;d really like to come up with a great name for it, to have silkscreened on the back side.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/20/led-driver-3d.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/20/led-driver-3d.png" alt="Rendering of LED driver PC board" /></a></p>
<p>I&#8217;d like something whimsical but which still relates to its function as an LED driver.  Fun hobby electronics names I love:  <a href="http://www.adafruit.com/">Adafruit</a>, <a href="http://www.ladyada.net/make/mintyboost/">MintyBoost</a>, <a href="http://thingm.com/products/blinkm">BlinkM</a>, <a href="http://www.sparkfun.com/commerce/categories.php">SparkFun</a>, <a href="http://www.makerbot.com/">MakerBot</a>, and <a href="http://store.makerbot.com/cupcake-cnc.html">CupCake</a>.</p>
<p>I&#8217;ve considered Illumerator, Illumifier, and variations Lumerator and <a href="http://zelcocom.nationprotect.net/Merchant2/merchant.mvc?Screen=PROD&#038;Product_Code=22104&#038;Category_Code=Seasonal">Lumifier</a> (which is probably <sup>TM</sup> and a bad idea).  Whatever I settle on will have -3L appended, to distinguish this 3-string linear driver model from the -1S switching model I want to do next.</p>
<p>So I welcome suggestions for great names.  I&#8217;ll be happy to send you a couple of drivers if you&#8217;re the first person to suggest something I end up using.</p>
<p>Warning:  I don&#8217;t care for variations of my name that feel like they came from the <a href="http://snltranscripts.jt.org/91/91grichmeister.phtml">&#8220;makin&#8217; copies&#8221; sketch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=636</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>What LED Currents Should I Offer?</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=919</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=919#comments</comments>
		<pubDate>Sat, 27 Mar 2010 17:44:14 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=919</guid>
		<description><![CDATA[The MAX16823 that my LED driver is built around uses current-sense resistors to set the LED strings current to .203V / R. So for the maximum 100mA, R = 2.03&#937;; for 20mA, R = 10.15&#937;. I&#8217;ve laid out the board to accommodate both SMT and through-hole sense resistors. I&#8217;d like to offer boards preassembled for [...]]]></description>
			<content:encoded><![CDATA[<p>The MAX16823 that my LED driver is built around uses current-sense resistors to set the LED strings current to .203V / R.</p>
<p>So for the maximum 100mA, R = 2.03&Omega;; for 20mA, R = 10.15&Omega;.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/03/22/led-driver-board-temp.png"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/03/22/led-driver-board-temp_mid.png" alt="PC board layout for LED driver" /></a></p>
<p>I&#8217;ve laid out the board to accommodate both SMT and through-hole sense resistors.  I&#8217;d like to offer boards preassembled for at least 100mA and 20mA and boards without sense resistors so you can provide your own resistors for custom currents.</p>
<p>Should I offer other preconfigured currents besides 100mA and 20mA?  Do I need to bother with 15mA?</p>
<p>Let me know in the comments what currents you&#8217;d like to have.  Just because you ask for something doesn&#8217;t mean I&#8217;ll provide it; but if enough ask for the same thing, I very well might.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=919</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Opinions Wanted: Connectors for LED Driver</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=908</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=908#comments</comments>
		<pubDate>Sun, 21 Mar 2010 01:58:05 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=908</guid>
		<description><![CDATA[The long-languishing linear LED lighter is back in my &#8220;get it done&#8221; pool. I have the parts sourced, the design refined, and a big bag of utterly failed attempts to print an acceptable case for it on my CupCake. Fine. Forget the case. No case. The project, to refresh your memory, is a linear driver [...]]]></description>
			<content:encoded><![CDATA[<p>The long-languishing <a href="?p=475">linear LED lighter</a> is back in my &#8220;get it done&#8221; pool.  I have the parts sourced, the design refined, and a big bag of utterly failed attempts to print an acceptable case for it on my CupCake.  Fine.  Forget the case.  No case.</p>
<p>The project, to refresh your memory, is a linear driver for three strings of LEDs, up to 40V and 100mA per string.  You supply your own power (5-40VDC), LEDs, and wire.</p>
<p>After spending two hours looking through 250 pages of connectors in the Digi-Key online catalog (I am not kidding), I&#8217;m distressed to discover that the least expensive connectors I can find are going to cost about $2 per board.  Feh!  But I want the power and LED connectors to be polarized, and that&#8217;s more expensive than plain ol&#8217; .1&#8243; headers.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/03/20/fob-connector-mockup.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/03/20/fob-connector-mockup_mid.jpg" alt="LED driver board and connectors" /></a></p>
<p>Here&#8217;s a mockup (clickable for the big pic, like all the photos here) of an early prototype PCB with product photos of the connectors I&#8217;m leaning toward.  On the right, a six-pin header for three LED strings and a representative two-pin plug that&#8217;s polarized by virtue of the semi-latching bump.  On the left, a two-pin header for power and definitely-latching matching plug.</p>
<p>Note that the male connectors are on the board to reduce the opportunity for shorting what&#8217;s on the ends of the wires while they&#8217;re unplugged and flailing around.</p>
<p>Questions:</p>
<ol>
<li>Is it reasonable to expect people to plug three two-pin connectors into the right places in a six-pin header?</li>
<li>Is it worth making the power connector different from the LED connectors, to make it harder to misconnect things?</li>
<li>How many people are going to crimp pins onto the wrong wires and have to start over?</li>
</ol>
<p>Opinions in the comments, please.</p>
<p>If you think you can find me less-expensive polarized connectors with .1&#8243; spacing (I want to offer the driver with straight male headers for breadboard friendliness) that I can buy from a supplier as reputable as Digi-Key, please provide direct links to at least the header and ideally the plug and crimp pins.  Free LED driver if you actually come up with something I like better.</p>
<hr/>
<p><em></p>
<h3>Addenda 21-Mar-2010</h3>
<p>Thanks for the responses so far!  A few additional notes:</p>
<h4>Connector Cost</h4>
<p>The connectors I show above come to about $2 total per board, not $2 each.  That&#8217;s still a larger fraction of the electronics cost than I&#8217;m happy about.</p>
<h4>Connector Size and PCB Size</h4>
<p>The current iteration of the board layout is much smaller than that shown above:</p>
<p><img src="http://www2.neufeld.newton.ks.us/images/electronics/led-lanterns/led-driver-board-temp.png" alt="LED driver board layout" /></p>
<p>I&#8217;m trying to make it as small as possible (A) on principle, (B) to save on board manufacturing cost, and (C) to make it easy to &#8220;hide&#8221; the driver within whatever you&#8217;re building.  I have a little more optimization to do; but you can see that the board size will very soon be determined by the size of the connectors.</p>
<p>Because of this, I would really rather not leave extra &#8220;key&#8221; pins in the LED string connector &#8212; they&#8217;d widen the board.  (Arguably I could then shorten it, but I&#8217;m not convinced I could really make that happen, given the distance I need to fan traces out from the TSSOP.  The TQFN pinout doesn&#8217;t make things significantly better, either.)  I&#8217;d also rather not use connectors with &#8220;walls&#8221; between the two-pin pieces, as they&#8217;d increase the PCB width (height?) by at least .2&#8243;.</p>
<p>Also if I go with the six-pin connector idea, the female headers need to have thin outer walls so they can fit side-by-side between adjacent pins.</p>
<h4>LEDs and 6-Pin Connector</h4>
<p>By my read of the MAX16823 datasheet, if you misplug an LED string one pin off, it simply won&#8217;t light, nondestructive to both the LED and the string.  I assume you would then look at the plug and see you had misplugged it and replug it correctly &#8212; so this should not be a catastrophic event.</p>
<p>I also intend to indicate the correct divisions of the 6-pin connector in silkscreen.</p>
<p>I know people will still get it wrong occasionally, but since it won&#8217;t hurt anything &#8212; good enough?</p>
<p></em></p>
<hr/>
<p><em></p>
<h3>Addendum Noon 21-Mar-2010</h3>
<p>Asmodeus has found the connectors I want to use and pointed out the (obvious) way to space them to meet my board criteria.</p>
<p>If I need further input, I&#8217;ll mock up another picture with the latest plan and start a new post.  Thanks to you all, and comments are now closed!<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&#038;p=908</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
