<?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</title>
	<atom:link href="http://www.neufeld.newton.ks.us/electronics/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.neufeld.newton.ks.us/electronics</link>
	<description></description>
	<lastBuildDate>Tue, 13 Jul 2010 02:39:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Repairing a Bad Horsie 2 Wah Pedal with Power Damage</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1127</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1127#comments</comments>
		<pubDate>Thu, 08 Jul 2010 03:23:31 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Inside]]></category>
		<category><![CDATA[Repairs]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1127</guid>
		<description><![CDATA[
I recently ran across on Craigslist a
Bad horsie 2 that was plugged into the wrong power supply and messed up, and needs some minor electronic work.
I was intrigued by the challenge (I&#8217;m such a sucker for broken things, dang it) and bought it.  When the seller and I exchanged the pedal for my cash, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7328.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7328_mid.jpg" alt="Bad Horsie 2 wah pedal" /></a></p>
<p>I recently ran across on Craigslist a</p>
<blockquote><p><a href="http://www.morleypedals.com/dvai-2.html">Bad horsie 2</a> that was plugged into the wrong power supply and messed up, and needs some minor electronic work.</p></blockquote>
<p>I was intrigued by the challenge (I&#8217;m such a sucker for broken things, dang it) and bought it.  When the seller and I exchanged the pedal for my cash, he remarked that he read on a forum that it probably just needed a resistor changed, and that if I were handy with a soldering gun I could probably do it myself.</p>
<p>Uh huh.  Resistor.</p>
<p>Let&#8217;s dig in.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7284.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7284_mid.jpg" alt="Bad Horsie 2 wah pedal circuit board" /></a></p>
<p>The circuit board has a hole in the top for a foam battery &#8220;cage&#8221; attached to the enclosure, something clever that I haven&#8217;t seen before.  And it had no obviously damaged components.</p>
<p><span id="more-1127"></span></p>
<h3>Testing the Power Supply</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7277.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7277_mid.jpg" alt="Bad Horsie 2 wah pedal power supply section, component side" /></a></p>
<p>Like most (all?) guitar pedals, the input jack is a switching jack &#8212; the middle leaf doesn&#8217;t contact the plug, but is a normally-open switch in the power supply circuit so the pedal is powered off until the guitar cable is plugged in.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7280.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7280_mid.jpg" alt="Bad Horsie 2 wah pedal power supply section, solder side" /></a></p>
<p>Tracing connections on the solder side reveals an interesting tidbit &#8212; the external power supply jack is <em>not</em> switched; only the battery is.  According to the one-page <a href="http://www.morleypedals.com/horsies.pdf">owner&#8217;s manual</a>, the pedal only draws 16mA; so (A) it should last a long time on a 9V battery, and (B) the pedal&#8217;s current draw is probably insignificant compared to the inefficiency of the wall wart.</p>
<p>The power supply jack is also switched &#8212; the lower and right terminals are normally-closed, powering the pedal&#8217;s positive rail from the battery by default but disconnecting the battery when the external power supply is used.</p>
<p>Finally, both the battery and power jack run through a series 1N4003 diode to protect the pedal from improperly-connected power sources.  If this pedal was damaged by being connected to a wrong source, it was not merely wired in reverse &#8212; that would have been blocked by the diode.  It must have been connected to a higher voltage than intended.</p>
<p>Since I didn&#8217;t know quite what to expect from the pedal and didn&#8217;t feel like setting up an instrument and amp to test it, all of my troubleshooting was at a purely electrical level.</p>
<p>With a battery connected and a plug in the input jack, I measured .87V across the battery terminals, where I should have had nearly 8.4V from my NiMH 9V-form-factor battery.  I also measured a fairly low resistance across the two power leads (with power disconnected).  Something in the circuit had shorted and stayed shorted (instead of blowing open); and either way, it should be fairly easy to find once I knew what I was looking for.</p>
<h3>Removing ICs</h3>
<p>My experience with circuits damaged by power surges or other excess power is that it&#8217;s almost always the ICs &#8212; the most complex semiconductors &#8212; that blow first.  So my first troubleshooting step is always to remove them from the circuit and recheck the resistance across power.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7287.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7287_mid.jpg" alt="Bad Horsie 2 wah pedal circuit board with hot air pencil" /></a></p>
<p>The two ICs (a TL074 low-noise quad op-amp and CD4069 hex inverter) weren&#8217;t socketed, so I needed to desolder them in order to recheck the circuit with them absent.  Rather than use solder braid, I tried out my new hot air pencil that Cort bought for me (and one for himself) in exchange for building him a hotplate (that I need to assemble and deliver).</p>
<p>I turned the pencil up to about 350&deg;C and waved it around the solder side of each IC while rocking an IC puller on the component side.  After a little time to warm up the solder, the ICs pulled loose very cleanly.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7292.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7292_mid.jpg" alt="Scorched flux after desoldering with hot air pencil" /></a></p>
<p>The hot air pencil scorched the residual flux from the factory assembly,</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7296.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/04/DSCN7296_mid.jpg" alt="Circuit board after desoldering an IC with a hot air pencil and cleaning flux" /></a></p>
<p>but after wicking the remaining solder and cleaning the flux, the board looks pretty good.  The vicinity of one of the two ICs shows slight damage to the epoxy (?) with the fiber substrate showing through.</p>
<h3>Testing with ICs Removed</h3>
<p>With the ICs out, the resistance across the power leads was very high, as I would expect it to be.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7326.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7326_mid.jpg" alt="Bad Horsie 2 wah pedal circuit board with socketed ICs" /></a></p>
<p>I soldered in IC sockets and measured again with the ICs reinstalled in the circuit one at a time.  The CD4069 was obviously bad and the TL074 was not obviously bad.  Joel had a CD4069 on hand; I installed it; and all of the pedal&#8217;s logic appeared to work &#8212; although I didn&#8217;t know yet whether the audio was working properly.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7336.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/07/06/DSCN7336_mid.jpg" alt="Faulty CD4069 IC" /></a></p>
<p>The bad 4069 does have a shiny spot on it.  At first I assumed it was flux splash; but I&#8217;ve seen melt like that on ICs where the magic smoke had escaped.  Maybe the spot really is a symptom of the damage.</p>
<p>Plugging the NiMH battery back in and powering up the pedal, I measured 3.5V across the battery leads, using either the original TL074 op-amp or a TL084 that I had on hand.  This still seems like an awful lot of voltage drop for an allegedly 16mA pedal (even given the internal resistance of an aging NiMH battery); but any further diagnosis was going to require more information about symptoms.</p>
<h3>Reassembling and Testing</h3>
<p>Taking a chance on the TL074 (in part because I didn&#8217;t have any on hand), I reassembled the pedal with the original op-amp installed and took it to Jeremy&#8217;s house last night for him to try out.  (He&#8217;s on kind of a wah pedal kick right now, and I&#8217;m feeding his habit.)</p>
<p>He grabbed the first power supply he saw, plugged it in, and started playing.  It worked, but we had massive 60Hz hum, which didn&#8217;t really make sense &#8212; why would a fault in the pedal that I hadn&#8217;t found and fixed cause that much hum?  The power supply section doesn&#8217;t have much by way of filtering, the audio section shouldn&#8217;t be specifically filtering out 60Hz, and the whole thing shouldn&#8217;t be more susceptible to hum than usual because of a broken component.</p>
<p>I suggested that we try a different 9VDC power supply, and went to change it out.  Then I found that Jeremy had plugged my 9V<em>AC</em> x0xb0x power supply into my 9VDC Bad Horsie pedal.  That&#8217;s right, he put 9VAC into the pedal <em>and it still worked</em>, albeit with hum.  It was half-wave rectifying AC and that single capacitor filter was enough to get that baby going.</p>
<p>Which means whatever the previous owner did to it involved more than 9VAC &#8212; probably quite a bit more (or quite a bit of DC), since the <a href="http://www.fairchildsemi.com/ds/CD/CD4069UBC.pdf">CD4069</a> is rated for up to 15V supply.  I&#8217;ll never know &#8212; although I really wish I would &#8212; exactly what he did to it.  Maybe a 24V inkjet printer power supply???</p>
<p>After swapping in the right power supply, the pedal appeared to work correctly &#8212; although Jeremy didn&#8217;t especially like the sound running his guitar straight into the pedal.  I found forum posts agreeing with his opinion that it really needs distortion before the Bad Horsie, which he played with more tonight.</p>
<p>While looking up the pedal&#8217;s manual today to find exactly what the controls do, I saw that Morley provides the <a href="http://www.morleypedals.com/vai-2es.pdf">schematic</a> on their web site.  If Jeremy decides that the audio portion of the pedal isn&#8217;t working correctly, or if I get too annoyed thinking about how much more current it&#8217;s drawing than it&#8217;s supposed to, I&#8217;ll definitely use the schematic to continue repairing the pedal.  Still, this goes to show that one can do a reasonable amount of troubleshooting just by examining the construction and behavior of a circuit without having or using a schematic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1127</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Batteries in a Liebert GXT2-2000RT120 UPS</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1118</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1118#comments</comments>
		<pubDate>Sun, 27 Jun 2010 18:21:56 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Equipment]]></category>
		<category><![CDATA[Inside]]></category>
		<category><![CDATA[Repairs]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1118</guid>
		<description><![CDATA[A while back, I bought a secondhand Liebert GXT2-2000RT120 uninterruptible power supply (UPS) on eBay.  The GXT2 is a series of online UPSes, meaning that the output power always comes from the inverters off the battery bank; it doesn&#8217;t switch from utility power to battery power like an offline UPS.  Besides eliminating any [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, I bought a secondhand Liebert GXT2-2000RT120 uninterruptible power supply (UPS) on eBay.  The GXT2 is a series of online UPSes, meaning that the output power always comes from the inverters off the battery bank; it doesn&#8217;t switch from utility power to battery power like an offline UPS.  Besides eliminating any possible switchover glitches, online UPSes always deliver conditioned power at a constant voltage.  The 2000RT120 is a 2000VA unit with 120V output &#8212; large enough to power all my servers for a good little while.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7207.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7207_mid.jpg" alt="Liebert GXT2-2000RT120 UPS with battery cage disassembled" /></a></p>
<p>The batteries were due for replacement and the seller removed them to save on shipping costs.  I got a UPS with a set of wires and no instructions on how to connect them.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7211.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7211_mid.jpg" alt="Liebert GXT2-2000RT120 UPS battery wiring" /></a></p>
<p>Also one of the wires was compromised &hellip; but since it appears to be a ground wire, I figured no big deal if it shorts out against the cage.  KIDDING!</p>
<p>Yesterday I figured out the wiring, installed batteries, and got the UPS set up in my server rack.</p>
<p><span id="more-1118"></span></p>
<h3>Batteries</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7217.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7217_mid.jpg" alt="Sealed lead-acid batteries" /></a></p>
<p>I&#8217;ve bought replacement UPS batteries from Digi-Key before, measuring the size I needed and using their parametric search to find sealed lead-acid batteries with the same size and highest capacity.  Digi-Key&#8217;s replacements for the Liebert UPS seemed a bit pricey this time, though.  Using the power of Google, I found a set of replacement batteries from <a href="http://www.batteryspec.com/cgi-bin/cart.cgi?action=link&#038;product=165&#038;sub2=1650050">BatterySpec</a> for only $72 plus about $20 shipping.</p>
<p>They processed my order quickly &#8212; I ordered after the close of business on a Friday night, they shipped Monday afternoon, and my package was waiting for me Friday when I got home.</p>
<p>At first I thought they had provided fully-insulated battery terminals that I&#8217;d have to disassemble to connect the fully-insulated spade terminals on my UPS wiring, but those are just insulating caps for shipping.</p>
<h3>Battery Wiring</h3>
<p>The first thing I did was repair the ground wire.  The wiring harness is a bit odd &#8212; it uses two connectors, I assume for current-carrying capacity &#8212; but that makes it easy to see how long the ground wire should have been.  I stretched everything out and the remaining three wires were all in agreement about how long the cut wire should be.</p>
<p>The original wires are very supple 10-gauge with relatively fine strands.  The closest thing I had was stranded 10-gauge left over from an electrical install; it&#8217;s not as supple, but it&#8217;ll do.  I cut it to fit, lap-soldered the connections, and covered them with a double dose of heatshrink tubing.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7232.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7232_mid.jpg" alt="Liebert GXT2-2000RT120 UPS batteries laid out with loose wires" /></a></p>
<p>The next order of business was figuring out how to wire this up, and the wires themselves provided the clues.  The two sockets are wired in parallel with each other, so they had to connect at the ends of whatever parallel-series chain the batteries might form.  The wires didn&#8217;t include any Y cables besides the sockets, so the batteries apparently needed to be connected in a single 48V series chain.</p>
<p>The cage is sized for the batteries to be laid down on edge, but it was easier to figure out the wiring with the batteries standing up.  The socketed cables were long enough and had bends in them for the positive connector to reach between the nearest two batteries and the negative connector to reach between the furthest two.</p>
<p>Everything else fell into place like assembling a jigsaw puzzle without looking at the box &#8212; the batteries will tip together in pairs with their terminals at opposite edges of the cage, the short wires connect the two end pairs into series chains, and the long wire connects the two chains.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7237.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7237_mid.jpg" alt="Liebert GXT2-2000RT120 UPS batteries with wires fitted" /></a></p>
<p>I connected all the wires with the batteries still upright, stopping before the last couple of connections to test carefully with the voltmeter and make sure I hadn&#8217;t overlooked anything that was going to short out.</p>
<p>With this much current available, any short circuit would cause a lot of heat very quickly; so knowing I wouldn&#8217;t be able to unplug red-hot wires, I had a wirecutter handy in case of extreme emergency.  Fortunately it wasn&#8217;t needed and everything went together as expected.  I measured just over 48V at the sockets from red to black, so all looked well.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7248.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7248_mid.jpg" alt="Liebert GXT2-2000RT120 UPS batteries in carrier" /></a></p>
<p>I laid the batteries down and tucked the wires away into the grooves at the sides of the cage.  I don&#8217;t know how it was done originally, but I had to route the black wire through the bottom race and the red through the top in order to be able to close the cage.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7252.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7252_mid.jpg" alt="Liebert GXT2-2000RT120 UPS battery cage" /></a></p>
<p>All  back together and buttoned up.</p>
<p>You can see a nick in a red wire&#8217;s insulation, but it doesn&#8217;t go through to copper.  Because it&#8217;s above the Y in the cable, it would have required cutting and resoldering the cable to cover with heatshrink.  I didn&#8217;t think that was worth the effort, and I don&#8217;t put much stock in electrical tape.  I guess I could go back and cover it with a larger heatshrink that encloses both of the red wires together.</p>
<h3>Reinstalling</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7254.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7254_mid.jpg" alt="Liebert GXT2-2000RT120 UPS with battery bay open" /></a></p>
<p>The battery cage slid perfectly into the bay.</p>
<p>Connecting it for the first time was a bit unnerving &#8212; what if the seller was less than honest and took the UPS out of service because of a severe malfunction?  Seeing no evidence of fire or overheating in the battery cage or bay and trusting Liebert to engineer adequate safety systems into their UPS, I took the plunge and connected the cables.</p>
<p>The wires did not immediately get warm.  Good so far.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7257.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7257_mid.jpg" alt="Liebert GXT2-2000RT120 UPS power cord" /></a></p>
<p>The next order of business (and the next unnerving step) was to plug the UPS into AC power.</p>
<p>Wait &hellip;</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7260.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7260_mid.jpg" alt="5-20P 20A plug" /></a></p>
<p>That&#8217;s a <a href="http://en.wikipedia.org/wiki/NEMA_connector#NEMA_5">5-20P</a> 20A plug.  I don&#8217;t have any 5-20R receptacles in my basement.</p>
<p>DRAT.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7263.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/26/DSCN7263_mid.jpg" alt="Liebert GXT2-2000RT120 UPS powered up on battery" /></a></p>
<p>By fiddling with the pushbuttons on the panel, I somehow got the UPS to turn on while on battery power and the indicator lights looked okay.  I had to reference the <a href="http://shared.liebert.com/SharedDocuments/LiebertFiles/SL-23150_REV08_01-08.pdf">manual</a> to figure out how to turn it off &#8212; press the Standby button twice for about a second each time.</p>
<h3>Next Steps</h3>
<p>Well, I already want to get an electrician in to run a new service entrance and install a new master breaker box.  For now I&#8217;ll probably just do something inadvisable with an extension cord.</p>
<p>The seller didn&#8217;t include the plastic front bezel, and I&#8217;d really like to find one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1118</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Q&amp;A: PIC Programmer, Oscilloscope</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1111</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1111#comments</comments>
		<pubDate>Sat, 19 Jun 2010 14:17:04 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Equipment]]></category>
		<category><![CDATA[Q&A]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1111</guid>
		<description><![CDATA[I get very specific questions via my contact form, but also questions about more general issues that might be of interest to a larger audience.  I&#8217;m going to start posting the latter category here.
PIC Programmer
Trey asks:
Do you have any recommendations regarding a Microchip programmer? There is the PicKit 2 and the Pickit 3. I [...]]]></description>
			<content:encoded><![CDATA[<p>I get very specific questions via my <a href="?page_id=242">contact form</a>, but also questions about more general issues that might be of interest to a larger audience.  I&#8217;m going to start posting the latter category here.</p>
<h3>PIC Programmer</h3>
<p>Trey asks:</p>
<blockquote><p>Do you have any recommendations regarding a Microchip programmer? There is the PicKit 2 and the Pickit 3. I have read that there are/were issues with the PicKit 3. I know you have used Microchip parts in your designs, but was wondering what your opinion was?</p></blockquote>
<p>Trey, I&#8217;ve never used a PIC that wasn&#8217;t already preprogrammed with the LogoChip environment, so I have no experience with PIC programmers.</p>
<p>After reading through PIC and Atmel datasheets in considerable detail to access hardware features on both platforms, my opinion is that I&#8217;ll never use a PIC.  That&#8217;s based on a couple dozen small things that I don&#8217;t even remember any more, but which added up to a pretty powerful opinion that Atmel builds a much better thought-out microcontroller that&#8217;s much easier to use.</p>
<p>But &hellip; that&#8217;s not the answer you were looking for.  Readers with PIC experience, can you address Trey&#8217;s question?  Please clearly phrase your responses as statements of opinion (like my opinion above, which is nothing more than an opinion) or as statements of fact with links to supporting information.</p>
<h3>Oscilloscope</h3>
<blockquote><p>I am just now starting my journey into electronics and was wondering if you have any recommendations for any particular make/model of oscilloscope?</p></blockquote>
<p>For someone starting in electronics, before an oscilloscope, I would recommend:</p>
<ul>
<li>A <a href="http://www.harborfreight.com/7-function-digital-multimeter-90899.html">$3 multimeter</a>.  I&#8217;ve started buying a few of these whenever I go to Harbor Freight and find them on sale, and I give them away like candy.  Ace Hardware also sometimes has cheap meters in the dump bin. <br/><br/>Is this as accurate as a Fluke?  Of course not &#8212; but for basic electronics troubleshooting, this is more than adequate.  The one useful function it lacks is a beeper for continuity testing &#8212; you do have to look up at the screen to read low resistance.</li>
<li>A breadboard and some components with a list of projects to try.  I&#8217;d suggest Adafruit&#8217;s <a href="http://wwIfw.adafruit.com/index.php?main_page=product_info&#038;cPath=17&#038;products_id=193">$50 Arduino budget pack</a>, <a href="http://www.adafruit.com/index.php?main_page=product_info&#038;cPath=17&#038;products_id=68">$65 Arduino starter pack</a>, or <a href="http://www.adafruit.com/index.php?main_page=product_info&#038;cPath=17&#038;products_id=170">$85 Arduino experimentation kit</a>.  Even if you&#8217;re not that interested in embedded design, the Arduino is a great platform for trying things out and interfacing to the analog electronics, and the Adafruit kits provide a list of experiments to use as a starting point and get the ideas flowing.</li>
</ul>
<p>But if you&#8217;re already doing PIC programming, you seem to be well past the resistors-and-LEDs stage.  If you really need a way to visualize signals in order to progress, my oscilloscope recommendation would be whatever working scope you can get for the lowest price, making sure that you do end up with at least one probe (or find a cheap one on eBay).</p>
<p>I paid $25 for an old, used scope about 20 years ago and have only upgraded to a better scope in the last couple of years &#8212; which is 20 years old, which I got from a friend of a friend, and which I haven&#8217;t put on my bench and started using yet.</p>
<p>The two times I&#8217;ve used a different scope are when I found a cheap scope with X-Y inputs that I use for troubleshooting vector arcade game displays, and when I borrowed a digital Tek scope for doing some precise high-frequency measurements.</p>
<p>Granted, I don&#8217;t use my scope for calibrating circuits.  If you need to do that, you need a better scope, and one that&#8217;s calibrated, and that&#8217;s going to cost real money.  But if visualization is what you&#8217;re after, then the cheapest scope that works will do the job.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1111</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Lacing the x0xb0x Wiring Harnesses</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1091</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1091#comments</comments>
		<pubDate>Sun, 06 Jun 2010 23:04:32 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Inside]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1091</guid>
		<description><![CDATA[This isn&#8217;t part of a normal x0xb0x build so I didn&#8217;t throw it into my build notes, but I had fun figuring out how to route and lace the x0xb0x&#8217;s wiring harnesses.  I know lacing is overkill for this; but without some kind of cable management, the individual wires of each cable wouldn&#8217;t even [...]]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t part of a normal x0xb0x build so I didn&#8217;t throw it into my <a href="?p=1078">build notes</a>, but I had fun figuring out how to route and lace the x0xb0x&#8217;s wiring harnesses.  I know lacing is overkill for this; but without some kind of cable management, the individual wires of each cable wouldn&#8217;t even stay together.  Had the kit included ribbon cables, I wouldn&#8217;t have bothered.</p>
<h3>Planning the Paths</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7090.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7090_mid.jpg" alt="First pass at x0xb0x cable routing" /></a></p>
<p>Besides the obvious goal of keeping the wires tidy, my main goal was to position slack in the cables so that the back panel could be lifted out of the case and set to the rear, allowing full access to both circuit boards, without disconnecting anything.</p>
<p>Before doing any real lacing, I mocked up the cable path to make sure everything would work.  My first attempt, here, had enough length for the J3 bundle from the lower right of the main board to the right end of the I/O board; but J7&#8217;s wires coming from the left edge of the main board looped around too much before heading to the I/O board and didn&#8217;t reach their destination.</p>
<p><span id="more-1091"></span></p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7094.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7094_mid.jpg" alt="Second pass at planning x0xb0x cable routing" /></a></p>
<p>My second attempt worked much better.  I brought J3&#8217;s large bundle up in a clockwise loop and all the other connectors&#8217; bundles in an overlapping counterclockwise loop.  All the cables reached where they needed to go, all the three-wire cables got tied together into a larger bundle that would hold its shape well, and the two loops flexed well to allow the back panel to be moved back and forth.</p>
<h3>Attaching the Cables</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7100.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7100_mid.jpg" alt="Cable routing inside x0xb0x" /></a></p>
<p>I removed all the cables, then started with the longest run, from J7&#8217;s connector on the main board to its solder connections on the I/O board.  I then used its path as a guide to size J5&#8217;s cable to length, soldered in J5&#8217;s wires, and tied the two together.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7107.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7107_mid.jpg" alt="Cable routing inside x0xb0x" /></a></p>
<p>I repeated for J4 and J6, tying up after each to ensure that every successive bundle would follow its intended path and get sized correctly.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7114.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7114_mid.jpg" alt="Cable routing inside x0xb0x" /></a></p>
<p>After the CCW section was finished, I soldered the J3 bundle to the right end of the I/O board and tied the two bundles together into the overlapping loop.</p>
<p>Since I now had everything attached, I figured I&#8217;d test the x0xb0x to make sure it worked before lacing everything into place.  It was at this point that I found I couldn&#8217;t close the case because of J3&#8217;s connector being at the wrong end.</p>
<p>Besides having to desolder J3 at both ends and reattach it, this broke my plan to have the overlapping loops tied together.  It wouldn&#8217;t do much good to have wires soldered to the I/O board tied to wires soldered to the main board.  I could still leave the overlapping loops; I just couldn&#8217;t tie them together.</p>
<h3>Lacing the Harnesses</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7117.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7117_mid.jpg" alt="Main x0xb0x wiring harness laced" /></a></p>
<p>After desoldering J3 and setting it aside, I laced the harness that holds everything else.  I started at the I/O board, locking and wrapping every time another cable joined or left the bundle and removing my temporary ties along the way.  Because of the number of branches, the usual advice of two and a half times as much lacing cord as the length of the main trunk left me short, and I had to run the main cord up to J4-J6 and start a new cord to finish out the run to J7-J5 instead of the other way &#8217;round.</p>
<p>Note that I ended up routing J7 as a short branch off the run to J5 rather than splitting the two in a Y like I mocked up.</p>
<p>I understand that it would be more proper also to tie every bundle of three wires after it splits off the main trunk; but with only about an inch on each after the branch, I&#8217;m satisfied with the results.</p>
<p>The harness holds its shape well and it&#8217;s easy to see where every three-pin connector is supposed to plug in.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7139.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7139_mid.jpg" alt="Laced wiring harnesses inside x0xb0x" /></a></p>
<p>After reattaching the J3 buncle in the proper orientation, I laid out its path and made temporary ties to hold it in position, then started at the main board end and worked toward the I/O board.  I finished with the wrap that holds the wires in shape as they fall to the left of the J3 connector on the I/O board.</p>
<p>Again, I&#8217;m pleased with how well the J3 harness holds its shape, especially as it doesn&#8217;t tie to any points along the way.  The two harnesses&#8217; loops overlap nicely in the middle &#8212; slightly differently than I had routed them here &#8212; and the back panel is very easy to put into and take out of the case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1091</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building the x0xb0x</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1078</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1078#comments</comments>
		<pubDate>Sun, 06 Jun 2010 22:27:30 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Inside]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1078</guid>
		<description><![CDATA[As I noted previously, I recently got a x0xb0x kit.  The x0xb0x is an open-source-hardware replica of the 1980s Roland TB-303 bassline synthesizer (and sequencer) that was influential in the development of acid house music.  Limor of Adafruit Industries and a mysterious, anonymous German studied the TB-303 schematics and measured the behavior of [...]]]></description>
			<content:encoded><![CDATA[<p>As I <a href="?p=1052">noted previously</a>, I recently got a x0xb0x kit.  The <a href="http://www.ladyada.net/make/x0xb0x/">x0xb0x</a> is an open-source-hardware replica of the 1980s <a href="http://en.wikipedia.org/wiki/Roland_TB-303">Roland TB-303 bassline synthesizer</a> (and sequencer) that was influential in the development of acid house music.  Limor of <a href="http://www.adafruit.com/">Adafruit Industries</a> and a mysterious, anonymous German studied the TB-303 schematics and measured the behavior of its now-rare semiconductors and designed a replica with the same analog circuitry and new digital features, including MIDI I/O (supplementing Roland&#8217;s pre-MIDI &#8220;DIN sync&#8221;) and simpler sequencer programming.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7160.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7160_mid.jpg" alt="Assembled x0xb0x, top view" /></a></p>
<p>Adafruit produced x0xb0x kits in batches of 100 as Limor was able to track down enough &#8220;rare parts,&#8221; order circuit boards, and assemble the common parts into kits.  I&#8217;d been on her waiting list since 2008, so was terribly disappointed when she <a href="http://www.adafruit.com/blog/2010/03/31/x0xb0x-project-status-2010-new-forum/">officially announced</a> what we had all come to realize anyway &#8212; that tracking down the rare parts was becoming enough of a hassle, she wasn&#8217;t having any fun doing it and wasn&#8217;t going to produce any more kits.</p>
<p>Happily, <a href="http://www.adafruit.com/blog/2010/04/20/x0xb0x-is-back-and-shipping-again-say-hello-to-willzyx-music/">Limor announced shortly thereafter</a> that thanks to Adafruit&#8217;s open-source hardware license, <a href="http://www.willzyx.com/pages/about-us">James Wilsey</a> of <a href="http://www.willzyx.com/">Willzyx Music</a> in Taiwan has taken up the torch and would shortly be offering <a href="http://www.willzyx.com/collections/x0xb0x">x0xb0x kits</a>.</p>
<p><span id="more-1078"></span></p>
<p>I browsed the Willzyx web site and saw an <a href="http://www.willzyx.com/products/x0xb0x-black-express-kit">Express Kit</a> with rare parts, circuit boards, and panels, but no case and common parts.  I emailed James to thank him for making the kits available and ask whether he&#8217;d be producing full kits.  He replied that he would shortly; and in spite of having a no-preorder policy, offered to hold one for me as soon as they were ready if I was interested.</p>
<p>I said yes, he soon told me that the kit was ready (even though the updated instructions weren&#8217;t yet), I sent payment, and he sent my kit, very nicely packed and with quick shipping and international tracking.  James has been an absolute pleasure to deal with, pre-, mid-, and post-order.</p>
<p>What follows are a few notes from the build &#8212; not a time-lapse of everything all the way through, but things that struck me as unusual or interesting.  All mistakes I made were my own fault for not waiting for the updated instructions.</p>
<h3>Testing Each Stage</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7076.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7076_mid.jpg" alt="x0xb0x power supply section" /></a></p>
<p>I&#8217;m just a bit too young to have assembled a Heathkit, so Adafruit&#8217;s instructions for the first several stages were novel to me &#8212; she identifies a section to assemble, then stops to have you test what you&#8217;ve just built.  The power supply section, for example, includes notes for testing AC voltage and regulated DC voltage at two different points.  Modular testing is a great way to make sure you don&#8217;t spend 40 hours putting your kit together and then have no idea why it doesn&#8217;t work.</p>
<p>Willzyx, by the way, provides sockets for all the ICs (which I hadn&#8217;t noticed when I soldered the op-amp above) and nice connectors for the inter-board jumpers (which I hadn&#8217;t noticed when I provided my own).  Using his instructions will be much easier than desoldering these parts later.</p>
<h3>Diffusing the LEDs</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7083.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7083_mid.jpg" alt="LEDs scuffed with an abrasive wheel" /></a></p>
<p>The kit includes high-brightness, non-diffused red LEDs.  I don&#8217;t like the look of non-diffused LEDs, especially as panel indicators, because their low viewing angle makes them hard to see unless you&#8217;re looking at them dead-on (at which point they&#8217;re too bright).  So I used <a href="?p=92">my technique from four years ago</a> (when I had just started the blog) and frosted them.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7085.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7085_mid.jpg" alt="Diffused and non-diffused LEDs in tester" /></a></p>
<p>The diffused LEDs are noticeably translucent instead of water-clear like the unmodified originals.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7086.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/05/DSCN7086_mid.jpg" alt="Diffused and non-diffused LEDs in tester, lit" /></a></p>
<p>And they provide a nice, even illumination across wide viewing angles.  (Note that they&#8217;re really quite red when you look at them with anything other than this camera.)</p>
<p>Once I had all the LEDs prepared, to solder them with proper alignment to fit the front panel, I inserted them in their standoffs and did the old trick of tack-solder one leg, then adjust the LED while reheating the joint.  Then I put the front panel over the LEDs (further on than it actually fits in final assembly) to hold them all securely in position while soldering the cathodes and resoldering the anodes.</p>
<h3>J3 Plug Goes on the I/O Board</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7121.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7121_mid.jpg" alt="Willzyx x0xb0x with J3 plug installed at wrong end" /></a></p>
<p>I had the x0xb0x nearly completed and ready to install all the cable bundles when I noticed that Willzyx provided wiring harnesses with a mating connector at one end to make servicing the x0xb0x easier.  (The original kit just provided ribbon cables to solder at both ends.)  Even after emailing James to confirm which board each plug was supposed to go on, I got this one wrong.</p>
<p>And when you get it wrong, the case doesn&#8217;t close.  This is at the narrow front end of the case, and the connector is too tall.  This was a nuisance to desolder and redo &#8212; but I ended up with tidier wiring the second time around, so it wasn&#8217;t all bad.</p>
<h3>Shorten the Rotary Switch Shafts</h3>
<p>The original <a href="http://www.ladyada.net/make/x0xb0x/fab/prep/index.html">Adafruit pre-assembly preparation instructions</a> say to cut all the potentiometer shafts to the same length.  Willzyx provides potentiometers that already have same-sized shafts (thank you!!!), so I disregarded this instruction &#8212; at my own peril.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7144.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7144_mid.jpg" alt="Filed rotary switch shafts on Willzyx x0xb0x" /></a></p>
<p>Yeah, the <em>potentiometers</em> all have same-sized shafts, but the two rotary switches have shafts way too long for the knobs to reach the ground.  These would have been much easier to cut <em>before</em> installing.  Just another case where the updated instructions will solve the problem for everyone else, and I should have looked at the parts more carefully since I knew I was building without up-to-date information.</p>
<p>Note that the flats on the shafts (which I refiled for the knobs&#8217; set screws) are <em>opposite</em> the selected function.  I powered it up to double-check before filing.</p>
<h3>Done!</h3>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7166.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/06/06/DSCN7166_mid.jpg" alt="Willzyx x0xb0x, back view" /></a></p>
<p>After two weekends of intermittent work, it&#8217;s done and 100% functional.  I&#8217;ve been having fun this afternoon tweaking knobs to the bass line of &#8220;Sweet Emotion,&#8221; the most interesting one-bar pattern that I had stuck in my head.  Thanks, Limor Fried and James Wilsey!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1078</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MIDI Looper?</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1085</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1085#comments</comments>
		<pubDate>Mon, 31 May 2010 23:42:08 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Equipment]]></category>
		<category><![CDATA[Ideas]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1085</guid>
		<description><![CDATA[I&#8217;m starting to think I&#8217;d like a MIDI sequencer that behaves somewhat like a looper, doing the following:

Capture a short sample of a MIDI performance, including key velocity data.
Quantize to a tempo set by a &#8220;tap tempo&#8221; pedal continually and dynamically throughout the capture, rather than to an LED or click track.
Loop and play back, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting to think I&#8217;d like a MIDI sequencer that behaves somewhat like a looper, doing the following:</p>
<ul>
<li>Capture a short sample of a MIDI performance, including key velocity data.</li>
<li>Quantize to a tempo set by a &#8220;tap tempo&#8221; pedal continually and dynamically throughout the capture, rather than to an LED or click track.</li>
<li>Loop and play back, by default to the last tempo seen but honoring continuous &#8220;tap tempo&#8221; data from the same pedal.</li>
</ul>
<p>Using a MIDI sequencer with these &#8220;tap tempo&#8221; features should give greater flexibility for capture and playback during a live ensemble performance than using a traditional audio looper, which requires the whole ensemble to play to the tempo recorded in the loop.</p>
<p>But my real motivation is to be able to play a pattern and then make gradual, multi-bar changes to the analog character of the sound without having to continue playing with one hand and turn knobs with the other.</p>
<p>Record a one-bar pattern on a MIDI keyboard driving a x0xb0x (or a real TB-303, if you&#8217;re filthy rich enough to have one and a DIN-sync MIDI adapter to go with it), then play it back and slowly tweak the knobs while everyone else jams on for a bit.</p>
<p>Am I going to find that all of this functionality already exists within the x0xb0x?  (It looks like it might be close &#8212; MIDI ports; internal sequencer; variable tempo, although perhaps not that sophisticated.)  Alternatively, are there MIDI sequencers that do all of this?  Is this de rigeuer for every sequencer under the sun?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1085</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Repairing a Patch Cord</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=1076</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=1076#comments</comments>
		<pubDate>Mon, 31 May 2010 23:24:44 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[Audio]]></category>
		<category><![CDATA[Inside]]></category>
		<category><![CDATA[Repairs]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=1076</guid>
		<description><![CDATA[Recently a couple of pieces of audio processing equipment I&#8217;ve bought used have had bad left channels.  After recognizing the pattern, I finally thought to swap out the patch cord I had left plugged into the &#8220;test&#8221; channel on my keyboard mixer, and voila!  Left channels fixed.

I&#8217;ve always been curious about the construction [...]]]></description>
			<content:encoded><![CDATA[<p>Recently a couple of pieces of audio processing equipment I&#8217;ve bought used have had bad left channels.  After recognizing the pattern, I finally thought to swap out the patch cord I had left plugged into the &#8220;test&#8221; channel on my keyboard mixer, and voila!  Left channels fixed.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7040.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7040_mid.jpg" alt="Audio patch cord, disassembled" /></a></p>
<p>I&#8217;ve always been curious about the construction quality of commercial patch cords &#8212; just how good are the connections buried under those lovely molded jackets and strain reliefs?</p>
<p>Naturally, the faulty end was the last one I disassembled.  (Logic joke!)</p>
<p><span id="more-1076"></span></p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7047.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7047_mid.jpg" alt="Broken solder joint on audio patch cord" /></a></p>
<p>A failure rate of one in twenty-fivish (I have three bundles of patch cords) is quite a bit higher than I expected, especially as the fault was a solder joint broken clear off of the center pin.</p>
<p>Notice how little of the braided shield wire remains.  This doesn&#8217;t speak well to the overall quality and reliability of the patch cords &#8212; even though this part of the wire is cast inside the rubber housing and can&#8217;t flex.</p>
<p>Note also that the cable has two signal wires.  The manufacturer apparently uses the same cable for TS (tip-shield, for unbalanced signals) patch cords as they do for TRS (tip-ring-shield, for balanced signals) patch cords.  (The same bulk cable could be used for stereo unbalanced transmission &#8212; although I&#8217;d prefer to see each signal wire individually coaxially shielded.)</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7053.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7053_mid.jpg" alt="RoHS solder (?) on audio patch cord" /></a></p>
<p>At this point, my curiosity shifted to whether I could fix up the cable and put it back together in a way that I found aesthetically acceptable.</p>
<p>When I mounted the plug to desolder the braid so I could strip back the jacket and start with fresh sections of copper, I noticed that the solder was very grey.  I suspect it&#8217;s lead-free and I suspect that the greater challenges of lead-free solder contributed to the broken solder joint.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7058.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7058_mid.jpg" alt="Repaired audio patch cord being pieced back together" /></a></p>
<p>I reformed and tinned the shield wire and stripped and tinned the tip wires.  I also tinned the shield and pin so the joints would go together well &#8212; which they did.  And I tested for continuity and shorts after soldering, to be sure of my rework.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7062.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7062_mid.jpg" alt="piecing back together, CU" /></a></p>
<p>I slipped the broken pieces of insulating plastic back between the wires so the shield wires wouldn&#8217;t short out onto the pins.  I then carved out the interior of the molded jackets, since I wasn&#8217;t going to be able to realign the insulation and wires exactly with the recesses from when the housings were originally formed.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7066.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/29/DSCN7066_mid.jpg" alt="Repaired audio patch cord" /></a></p>
<p>After test-fitting and carving out more of the molded covers a few times, I got a fit I was happy with.  I put the covers back on and sealed the deal with heat-shrink, which did an admirable job of conforming to the shape and texture of the original molding.</p>
<p>Making the repair was never an economic decision; but having fixed the patch cord, I may as well use it.</p>
<h3>Who Made It?</h3>
<p>I could never find a manufacturer&#8217;s logo on the patch cord or molded ends, nor does the cord look identical to the current catalog entry for the patch cord bundle I think it is.  I&#8217;ll avoid buying anything more from the brand I suspect; but because I&#8217;m not certain of it, I&#8217;m not comfortable mentioning it here.</p>
<p>It&#8217;d make an interesting demonstration to buy a couple of packages each of several manufacturers&#8217; patch cords and dissassemble and inspect them like this, to assess the build quality.  Maybe a musicians magazine has already done that review?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=1076</wfw:commentRss>
		<slash:comments>6</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 [...]]]></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&amp;p=1047</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MakerBot CupCake Aluminum Idler Wheel and Printing in Plaid Due to Motor Shaft Deflection</title>
		<link>http://www.neufeld.newton.ks.us/electronics/?p=962</link>
		<comments>http://www.neufeld.newton.ks.us/electronics/?p=962#comments</comments>
		<pubDate>Tue, 25 May 2010 17:50:33 +0000</pubDate>
		<dc:creator>Keith Neufeld</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[MakerBot CupCake]]></category>

		<guid isPermaLink="false">http://www.neufeld.newton.ks.us/electronics/?p=962</guid>
		<description><![CDATA[
At the end of March, I broke my MakerBot CupCake idler wheel while trying out my new filament drive worm-pulley.  In April, my friends Scott Smith and Ben Wynne in San Diego machined me some aluminum replacement wheels, which are totally awesome.

Old and busted; new hotness.  Yeah, baby!
This wheel press-fits perfectly onto the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/17/DSCN6844.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/17/DSCN6844_mid.jpg" alt="Aluminum idler wheels for MakerBot CupCake" /></a></p>
<p>At the end of March, I <a href="?p=902">broke my MakerBot CupCake idler wheel</a> while trying out my new filament drive worm-pulley.  In April, my friends Scott Smith and <a href="http://www.makerswamp.com/">Ben Wynne</a> in San Diego machined me some aluminum replacement wheels, which are totally awesome.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/17/DSCN6857.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/04/17/DSCN6857_mid.jpg" alt="Broken acrylic and replacement aluminum MakerBot CupCake Plastruder idler wheels" /></a></p>
<p>Old and busted; new hotness.  Yeah, baby!</p>
<p>This wheel press-fits perfectly onto the bearing, starting by hand and then leaning heavily on it on a countertop.  It&#8217;s thicker than the original wheel, making precise alignment with the drive pulley less important.  It even has a knurled edge &#8212; showoffs!</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/13/DSCN6918.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/13/DSCN6918_mid.jpg" alt="Plaid print from MakerBot CupCake" /></a></p>
<p>I&#8217;d been experiencing &#8220;plaid&#8221; printing, in which the filament feed rate dropped at very regular intervals, and attributed it to the (tangible) irregularities of the acrylic idler wheel.  But I&#8217;m still getting plaid prints, and I don&#8217;t think my aluminum wheel (hot off the lathe) is irregular, so the problem must be elsewhere.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/12/DSCN6908.JPG"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/12/DSCN6908_mid.jpg" alt="MakerBot CupCake filament feed" /></a></p>
<p>Hm, look at the deflection of my filament feed motor shaft, all the way to the left of the hole in the enclosure.</p>
<p><a href="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/12/DSCN6913.jpg"><img src="http://www2.neufeld.newton.ks.us/images/electronics/2010/05/12/DSCN6913_mid.jpg" alt="MakerBot CupCake filament feed" /></a></p>
<p>Hm, look at the deflection of the shaft <em>now</em>, when the flat hits the edge.  That would explain why the weak feed is so regular &#8212; recovery doesn&#8217;t rely on the drive pulley maybe grabbing the filament and maybe being able to spin the idler wheel to a different spot before it gets going again.</p>
<p>Looks like I need a bearing on that motor shaft.  I printed a shoulder washer/bushing for it and it helped for a while, but not enough.  I think a real, metal bearing is in my future.  And perhaps a different drive geometry.  A lot of good filament feed designs are being uploaded to Thingiverse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neufeld.newton.ks.us/electronics/?feed=rss2&amp;p=962</wfw:commentRss>
		<slash:comments>1</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&amp;p=1049</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
