<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>littlecraft</title>
        <description></description>
        <link>https://littlecraft.io/</link>
        <atom:link href="https://littlecraft.io/feed.xml" rel="self" type="application/rss+xml"/>
        <pubDate>Wed, 23 Feb 2022 18:57:30 +0000</pubDate>
        <lastBuildDate>Wed, 23 Feb 2022 18:57:30 +0000</lastBuildDate>
        <generator>Jekyll v3.9.0</generator>
        
            <item>
                <title>10W Bluetooth Guitar Amp - Part 2 - Better Sound</title>
                <description>&lt;p&gt;Last time, in &lt;a href=&quot;/2016/11/25/bluetooth-guitar-amp-retrofit/&quot;&gt;Part 1&lt;/a&gt;, we retrofitted an old guitar amplifier cabinet with a 10W bluetooth-enabled mono amplifier, based on the LM1875.  The results have been nice, but the audio quality is noticeably lacking.  The sound has a dull/muffled quality, and there is hardly any punch or body to the bass.&lt;/p&gt;

&lt;p&gt;Here in part 2, to help improve the sonic experience a bit, I evaluate different speaker drivers, build a simple passive crossover circuit, and improve the acoustic properties of the guitar amplifier enclosure.&lt;/p&gt;

&lt;!--more--&gt;

&lt;h1&gt;Things to Fix&lt;/h1&gt;

&lt;p&gt;The first issue, the dull muffled sound quality, is due to the speaker driver: the original Peavey 4Ω woofer that came with the amplifier.  Woofers typically have a range of around 60Hz up to as high as 5kHz.  Now I doubt that the original Peavey driver had a range nearly that wide, but probably still in the neighborhood of 100Hz-3,000Hz.  Commonly, the human ear can hear between 20Hz to 20,000Hz.  So, that leaves out a sizable chunk of the audible spectrum!  Most of the mid/vocal range, and all of high range are left entirely out of the party.&lt;/p&gt;

&lt;p&gt;The second issue, is that there’s really not much body or punch to the bass.  Even though the driver is a woofer, not a lot happens with the sound waves it does manage to generate.  This has to do with the enclosure.  Open back guitar amplifier cabinets are designed to accentuate the mid and high range, and to throw sound broadly around a room.  It also can help musicians hear each other on stage, in the absence of dedicated monitor speakers.  The downside is that the low end frequencies end up feeling rather lifeless.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Results-back.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Results-back.jpg&quot; alt=&quot;4Ω Woofer, and Open back&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Results-back.jpg&quot; alt=&quot;4Ω Woofer, and Open back&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;4Ω Woofer, and Open back&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Part 1 of building the amplifier was a blast, and I learned a ton.  So, let’s iterate and give this amp some punch!&lt;/p&gt;

&lt;h1&gt;Speaker Driver&lt;/h1&gt;

&lt;p&gt;The first thing to do is to find a speaker driver that is capable of covering a wider range of the audible spectrum.  Normal speaker systems account for this by having multiple speaker drivers.  Sometimes having two, three, or even more individual speakers built into the cabinet (you often see this as “two-way”, “three-way”, etc).  The speakers are wired in such a way so that each covers a particular band of the audible spectrum.  Woofers can cover the low and part of the mid range, and tweeters can cover the rest.  In my case, the guitar amplifier’s enclosure is pretty small, so to cram multiple speaker drivers into it would ultimately require sacrificing the diameter of each speaker driver.  A speaker’s ability to produce sound is proportional to its ability to move a volume of air (“Volume displacement”, or Vd).  Volume displacement requires a large cone, and maximal inward and outward displacement (called, “cone excursion”), which can be achieved in two ways.  Either have a really large cone, with marginal cone excursion, or a smaller cone, but with greater cone excursion.  Generally, it is more practical, and less expensive to construct drivers that have a large cone, which consequently require lesser cone excursion.  This is why you typically see woofers with large diameters, rather than small, very powerful ones.&lt;/p&gt;

&lt;p&gt;A good option for the guitar amp enclosure, which can fit an 8” speaker driver, might be what are called “Full Range” speakers.  These typically have more than one cone built into a single chassis, where each cone is responsible for a particular frequency range.  They tend to be more expensive than individual drivers, but can be integrated into more space constrained enclosures.  You can find full range speakers in a wide variety of sizes, and prices (from $5 - $300, or more).&lt;/p&gt;

&lt;p&gt;Here’s one that might work.  It’s by Speco, and designed for in-ceiling home audio installations.  It’s a little on the small side, but seems like it could do the trick.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/spcdc6_l.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/spcdc6_l.jpg&quot; alt=&quot;Speco SPCDC6&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/spcdc6_l.jpg&quot; alt=&quot;Speco SPCDC6&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Speco SPCDC6&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;&lt;a href=&quot;http://www.specotech.com/index.php/products/audio/speakers/inceiling?format=raw&amp;amp;task=download&amp;amp;fid=15210&quot;&gt;Specifications&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;1/2” Tweeter&lt;/li&gt;
  &lt;li&gt;6.5” Woofer&lt;/li&gt;
  &lt;li&gt;8Ω&lt;/li&gt;
  &lt;li&gt;65W&lt;/li&gt;
  &lt;li&gt;48Hz - 21kHz&lt;/li&gt;
  &lt;li&gt;Built-in crossover circuit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I was able to find one of these at a local speaker repair shop, for $20.  After removing the mesh and mounting bracket, installation was simple (on account of the built-in crossover circuit.  More on that later).  While it sounded much better than the old driver, and it is certainly good enough, curiosity got the best of me.  I want to see what I can get out of this little amp, and giving it the right driver could make a world of difference.  Moving on up the price range…&lt;/p&gt;

&lt;p&gt;Now, this one seems like it’d have some teeth!  It’s made by Celestion, and is marketed as a “Professional Full-Range Driver”.  Whoa!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/ftx0820.png&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/ftx0820.png&quot; alt=&quot;Celestion FTX0820&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/ftx0820.png&quot; alt=&quot;Celestion FTX0820&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Celestion FTX0820&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/ftx0802_freq.png&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/ftx0802_freq.png&quot; alt=&quot;Celestion FTX0820 Frequency Response&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/ftx0802_freq.png&quot; alt=&quot;Celestion FTX0820 Frequency Response&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Celestion FTX0820 Frequency Response&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;&lt;a href=&quot;http://celestion.com/productpdf.php?id=147&quot;&gt;Specifications&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;1.4” Tweeter&lt;/li&gt;
  &lt;li&gt;8” Woofer&lt;/li&gt;
  &lt;li&gt;8Ω&lt;/li&gt;
  &lt;li&gt;200W&lt;/li&gt;
  &lt;li&gt;70Hz - 20kHz&lt;/li&gt;
  &lt;li&gt;No built-in crossover circuit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The novel thing about the FTX0820 is the way they designed the motor driver.  It’s common for full range speaker drivers to have two independent motors that drive the woofer and tweeter.  The FTX0802, on the other hand uses one, very large magnet to drive them both.  The result is that the tweeter sits inside of the woofer, and the sound waves that they emit have a center point that very near each other, apparently making a composed sound that is more coherent.  I wonder if I can sense the difference…  I’m betting on this one strictly because of its weight–almost 10 lbs!  Punch!&lt;/p&gt;

&lt;p&gt;The one disadvantage of this driver is that it does not have a built in crossover.  What does that mean?&lt;/p&gt;

&lt;h1&gt;Speaker Crossover&lt;/h1&gt;

&lt;p&gt;A crossover circuit is responsible for splitting an audio signal into two or more frequency ranges.  Since a tweeter and a woofer both like to operate at different frequency ranges, we need to be sure and feed the correct frequency band to them, to eliminate distortion.  Speaker cabinets typically contain what’s called a passive crossover that is specifically tuned to the speaker drivers it contains.  In a crossover circuit, you define a specific frequency, at which point, anything under that frequency gets routed (or crosses over) to one path, and anything above it gets routed to another.  A passive crossover does not actively re-amplify the signal, resulting in some amount of signal loss.  Active crossovers incorporate amplification, and even sophisticated DSP analysis to precisely tune the crossover frequency response curve.  Active crossovers are typically only found in professional or high end audio installations, and occupy a separate rack mounted device.  For passive crossovers anyway, like practically everything involved in DIY audio electrical engineering, there are many ways to design and build such a circuit.  So many that I don’t that I can fully appreciate the breadth of public opinion about the merits of each one.  So, let’s pick a simple design, and see what happens.&lt;/p&gt;

&lt;p&gt;The FTX0820 has one woofer and one tweeter, so it will require a two-way crossover to split the audio signal into the appropriate low-range and high range frequencies for each.  The FTX0820 came with a handy, though cryptic app note “[recommending a] crossover of 2,200 Hz/12 dB slope”.  Uh?&lt;/p&gt;

&lt;p&gt;The 2,200Hz refers to the crossover frequency.  E.g. anything under 2,200Hz will be sent to the woofer, and anything above it will be sent to the tweeter.  The 12db slope, though?  So, a crossover circuit isn’t exactly like a two-way valve allowing frequency ranges to go in strictly one way or another.  By design and necessity, built into a crossover circuit is a frequency v.s gain response curve, allowing the frequency ranges defined by the crossover to slightly overlap.  The 12dB refers to the signal decay per octave above or below the crossover frequency.  You typically find crossover circuits in 4 slope varieties.  The terminology for them is thus:  A 6dB/octave slope is known as a First Order crossover, a 12dB/octave slope is known as a Second Order crossover, and so on.  To achieve a particular slope (or order), requires varying degress of design complexity.  A Second Order (or 12dB/octave) crossover, thank the heavens, is pretty straight forward.&lt;/p&gt;

&lt;p&gt;Jumping to the chase, here is the circuit diagram, and component values for a 2-way, 12dB/octave Butterworth crossover, with a crossover frequency of 2,200Hz, tuned to drive an 8Ω tweeter and 8Ω woofer.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/SecondOrder2way.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/SecondOrder2way.jpg&quot; alt=&quot;Second Order, 2-way Crossover Circuit Diagram&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/SecondOrder2way.jpg&quot; alt=&quot;Second Order, 2-way Crossover Circuit Diagram&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Second Order, 2-way Crossover Circuit Diagrams&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h4&gt;Values&lt;/h4&gt;
&lt;ul&gt;
  &lt;li&gt;C1, C2 - 6.3μF&lt;/li&gt;
  &lt;li&gt;L1, L2 - 0.8mH&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The values chosen were derived using the Butterworth crossover formula.  There are other formulas which you can use to determine the appropriate component values, and each have slightly different characteristics.  See Audio Crossover &lt;sup&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Audio_crossover&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;, for more details about the tradeoffs between them.  The Butterworth crossover is nice because it produces decent results, while minimizing the cost of the inductors (which can get spendy and huge).  It also has a friendly name.&lt;/p&gt;

&lt;p&gt;The calculations were carried out by this handy-dandy calculator at &lt;a href=&quot;http://www.erseaudio.com/Second-Order-2-Way&quot;&gt;esraudio&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Here is the frequency response curve of this particular crossover.  Notice that when considering the combined amplitude of the low and high end curves, near the crossover frequency, there is actually increase in amplitude.  That’s not necessarily a good thing, but it’s a byproduct of the Butterworth crossover design.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/2ndOrderButterworth.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/2ndOrderButterworth.jpg&quot; alt=&quot;Second Order Butterworth response curve @ 2,200Hz, 8Ω&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/2ndOrderButterworth.jpg&quot; alt=&quot;Second Order Butterworth response curve @ 2,200Hz, 8Ω&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Second Order Butterworth response curve @ 2,200Hz, 8Ω&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h4&gt;Parts&lt;/h4&gt;

&lt;ol&gt;
  &lt;li&gt;2x - 6.8μF 100V bi-polar capacitors &lt;a href=&quot;http://www.parts-express.com/68uf-100v-electrolytic-non-polarized-crossover-capacitor--027-336&quot;&gt;Parts Express&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;2x - 0.8mH 20AWG audio inductors (Air core, or solid core) &lt;a href=&quot;http://www.parts-express.com/jantzen-audio-080mh-20-awg-air-core-inductor-crossover-coil--255-044&quot;&gt;Parts Express&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;1x - Veriboard&lt;/li&gt;
  &lt;li&gt;3x - 2 pole 5mm pitch screw down terminal blocks&lt;/li&gt;
  &lt;li&gt;2-4x - 0.205” female crimping speaker connectors&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/CrossoverParts.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/CrossoverParts.jpg&quot; alt=&quot;2,200Hz, 2nd Order Butterworth Crossover Parts&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/CrossoverParts.jpg&quot; alt=&quot;2,200Hz, 2nd Order Butterworth Crossover Parts&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;2,200Hz, 2nd Order Butterworth Crossover Parts&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h4&gt;Layout &amp;amp; Assembly&lt;/h4&gt;

&lt;p&gt;Since this is such a simple circuit, the layout should be straight forward.  To help minimize stress on the solder joints, I lay the inductors on their sides, and affix them in place with hot glue.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/CrossoverLayoutFront.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/CrossoverLayoutFront.jpg&quot; alt=&quot;Crossover Layout - Front&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/CrossoverLayoutFront.jpg&quot; alt=&quot;Crossover Layout - Front&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Crossover Layout - Front&lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/CrossoverLayoutBack.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/CrossoverLayoutBack.jpg&quot; alt=&quot;Crossover Layout - Back&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/CrossoverLayoutBack.jpg&quot; alt=&quot;Crossover Layout - Back&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Crossover Layout - Back&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;And that’s really all there is to it.  I made sure to mark the + and - signal paths.  For best results, the hi-pass path should be connected inversely to the low-pass path.  Due to the nature of the design, the hi and low signals arrive 180° out of phase, so hooking up the two speaker driver components inversely to one another aligns their phases.  This isn’t strictly necessary, but is apparently nice to do, especially since the acoustic centers of the tweeter and woofer are aligned within the FTX0820.  Again, I’m not sure if I would know the difference.&lt;/p&gt;

&lt;h1&gt;Cabinet&lt;/h1&gt;

&lt;p&gt;The second order of business is to see what can be done about the cabinet.  It has an open back, and I suspect that this has much to do with the flimsy bass response.  Resonance is often employed to enhance the bass frequencies produced by a speaker driver.  It’s the reason you typically see sealed cabinets with port holes cut into them.  That structure allows the bass frequencies to resonate within the cabinet, and then to exit in a controlled way, either towards or away from the listener.  This design is called a “bass reflex”.  The sealed cabinet allows certain frequencies to resonate, making them more pronounced and richer.  At a certain frequency the enclosure no longer resonates, the port holes then (when done correctly), continue the resonant effect, thereby extending the overall frequency response of the cabinet.&lt;/p&gt;

&lt;p&gt;The diameter and length of each port hole is important, and depends on a couple of factors.  1) The volume of the cabinet, and 2) to some degree, the diameter of the speaker driver.  I’ve read that, for an 8” driver, a total port vent diameter of 4” is recommended.  That certainly won’t fit in this enclosure, but we can try to get as close as we can.  An alternative is to have two port holes.  Our goal is to get close to 4”.  The maximum hole diameter that the enclosure’s front section can support is around 2” on either side of the speaker driver, so if we place two 2” holes, that would give us \(d_{t} = \sqrt{d_{1}^2 + d_{2}^2} = \sqrt{2^2 + 2^2} = 2.82\).  Not exactly the 4” equivalent we’re looking for, but it’ll do.  Now, the length of each port needs to be proportional to its diameter.  The guide I found suggested that a reasonable length for a 2” port is around 2.3”.  Great, so two 2” diameter ports, each 2.3” long.  No problem.&lt;/p&gt;

&lt;p&gt;Since we’ll be making a new front panel to hold the speaker driver and port holes, let’s make it look nice, by covering it with speaker grill fabric.&lt;/p&gt;

&lt;h4&gt;Materials&lt;/h4&gt;

&lt;ol&gt;
  &lt;li&gt;1/2” plywood (roughly 10” x 10”)&lt;/li&gt;
  &lt;li&gt;1/4” plywood (roughly 12 3/4” x 12 x 3/4”)&lt;/li&gt;
  &lt;li&gt;1/2” - 3/4” thick scrap (roughly 8” long)&lt;/li&gt;
  &lt;li&gt;2” PVC pipe (roughly 6” long)&lt;/li&gt;
  &lt;li&gt;2-part epoxy (JB-weld works great)&lt;/li&gt;
  &lt;li&gt;1 yard black speaker grill fabric &lt;a href=&quot;http://www.parts-express.com/speaker-grill-cloth-fabric-black-yard-36-wide--261-800&quot;&gt;Parts Express&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;Black satin spray paint&lt;/li&gt;
  &lt;li&gt;12x - Drywall screws&lt;/li&gt;
  &lt;li&gt;1/2” silicone or foam weather stripping with adhesive backing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The first step for this cabinet is to cut out a 10 3/4” x 8 3/4” piece of 1/2” plywood.  Cut out a 7.36” center hole for the speaker using a jig saw, a router, or using a Dremel with a hole jig.  Then, using a 2” hole saw, drill out two holes adjacent to either side of the center speaker cut out.  Be sure to leave space between the center hole, and the port holes to allow for the outside diameter of the speaker driver, and the outside diameter of the PVC piping.&lt;/p&gt;

&lt;p&gt;Next, cut two sections of PVC pipe to length–2.3” long.  Then, using the 2-part epoxy, glue the PVC pipe sections to one side of the plywood, and let cure.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/FrontPanel1.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/FrontPanel1.jpg&quot; alt=&quot;Front Panel Cutouts&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/FrontPanel1.jpg&quot; alt=&quot;Front Panel Cutouts&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front Panel Cutouts&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;To allow the front panel to be fastened to the sides of the cabinet, take some scrap 1/2-3/4” lumber and attach it to the sides of the front panel, and paint it black!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/FrontPanel2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/FrontPanel2.jpg&quot; alt=&quot;Front Panel with PVC&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/FrontPanel2.jpg&quot; alt=&quot;Front Panel with PVC&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front Panel with PVC&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Now it’s time to do some upholstering.  Cover the front of the panel with the grill cloth.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/FrontPanel3.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/FrontPanel3.jpg&quot; alt=&quot;Front Panel with Grill Cloth&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/FrontPanel3.jpg&quot; alt=&quot;Front Panel with Grill Cloth&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front Panel with Grill Cloth&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Stretch, and fasten the grill cloth using a staple gun.  As you go, make sure to keep the pattern even and level along both axis of the panel.  Not so easy…&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/FrontPanel4.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/FrontPanel4.jpg&quot; alt=&quot;Front Panel with Grill Cloth Attached&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/FrontPanel4.jpg&quot; alt=&quot;Front Panel with Grill Cloth Attached&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front Panel with Grill Cloth Attached&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Now, just try it on for size.  A perfect fit, without any room to spare.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/FrontPanel5.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/FrontPanel5.jpg&quot; alt=&quot;Front Panel with Speaker Attached&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/FrontPanel5.jpg&quot; alt=&quot;Front Panel with Speaker Attached&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front Panel with Speaker Attached&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Seal it up!  For the back panel, I chose some 1/4” plywood, cut to 12 3/4” x 12 3/4”, cutting out a notch for the power cable.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/BackPanel1.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/BackPanel1.jpg&quot; alt=&quot;Back Panel with Cutout&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/BackPanel1.jpg&quot; alt=&quot;Back Panel with Cutout&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Back Panel with Cutout&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;To seal everything up, use 1/2” silicone or foam weather stripping with an adhesive back.  Applying this to the inside of the back panel makes for a great seal to keep those resonating sound waves nice and happy.  Also, paint the interior black so that it will not be noticeable from the vent ports, as well as the back side to give a clean look.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/BackPanel2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/BackPanel2.jpg&quot; alt=&quot;Back Panel with Seal&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/BackPanel2.jpg&quot; alt=&quot;Back Panel with Seal&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Back Panel with Seal&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h1&gt;All Together&lt;/h1&gt;

&lt;p&gt;Putting everything together is straight forward too.  The addition of the grill fabric seals the gaps between the front panel and the sides of the cabinet, and everything else fits nice and snug inside.  If you’re wondering where I stuck the crossover, I attached it to the aluminum chassis, next to the amplifier.  You can see it poking out at the top right.  Same as with the amplifier, the circuit board is fastened to the chassis with nylon screws and 1/4” spacers.&lt;/p&gt;

&lt;p&gt;The new speaker driver is huge.  Everything JUST barely fits!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/Assembly1.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/Assembly1.jpg&quot; alt=&quot;Inside, really filled out&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/Assembly1.jpg&quot; alt=&quot;Inside, really filled out&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Inside, really filled out&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Button up the back, and we’re ready to dance!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/Assembly2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/Assembly2.jpg&quot; alt=&quot;The back, sealed.  Not the prettiest, but nobody's going to see it!&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/Assembly2.jpg&quot; alt=&quot;The back, sealed.  Not the prettiest, but nobody's going to see it!&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;The back, sealed.  Not the prettiest, but nobody's going to see it!&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;I now have a lot of appreciation for speakers and those who design and build them.  The minutia involved with designing good sound equipment is extraordinary.  I cut some corners here and there, but in general, this design covered a ton of fascinating details.  And the results?&lt;/p&gt;

&lt;h1&gt;Results&lt;/h1&gt;

&lt;p&gt;Yes!  This sounds amazing!  These two additions made a world of difference.  The sound across the range is extremely vibrant.  The low-end punch that I was hoping is spot on, and I am enjoying the clean logo-free look as well.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp2/Result.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp2/Result.jpg&quot; alt=&quot;Final result&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp2/Result.jpg&quot; alt=&quot;Final result&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Final result&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;The one thing I can say, is that introducing a true full range speaker, I can hear just how crummy compressed audio really is.  It’s easy to hear the artifacts and warble.  I’ve also noticed that the FTX0820 has a particularly pronounced and powerful high frequency end.  It’s almost to the point of being irritating and jarring.  Since I did not include any kind of mid/treble tone control on the amplifier, I’ve found that using a software EQ to roll off some of the high end, to be really helpful.  Had I included tone control, to account to the wide variety of source audio content that we have at our fingertips, software EQ would be unnecessary.&lt;/p&gt;

&lt;p&gt;Anyway, another great build with lots of interesting facets, and with a really stellar result!&lt;/p&gt;

&lt;h1&gt;References&lt;/h1&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;http://barefacedbass.com/technical-information/speaker-size-frequency-response.htm&quot;&gt;Why Nominal Diameter Tells You Nothing About Tone&lt;/a&gt; - http://barefacedbass.com/technical-information/speaker-size-frequency-response.htm&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Audio_crossover&quot;&gt;Audio Crossover&lt;/a&gt; - https://en.wikipedia.org/wiki/Audio_crossover&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://audiojudgement.com/bass-reflex-speaker-design/&quot;&gt;Bass Reflex Speaker Design - Easy Explanation&lt;/a&gt; - http://audiojudgement.com/bass-reflex-speaker-design/&lt;/li&gt;
&lt;/ol&gt;
</description>
                <pubDate>Mon, 19 Dec 2016 00:00:00 +0000</pubDate>
                <link>https://littlecraft.io/2016/12/19/bluetooth-guitar-amp-better-sound/</link>
                <guid isPermaLink="true">https://littlecraft.io/2016/12/19/bluetooth-guitar-amp-better-sound/</guid>
                
                <category>hardware</category>
                
                <category>bluetooth</category>
                
                <category>audio</category>
                
                <category>more bass</category>
                
                
            </item>
        
            <item>
                <title>10 Watt Bluetooth Guitar Amp - Part 1 - Retrofit</title>
                <description>&lt;p&gt;It’s been pretty quiet in the lab this summer, and playing around with an audio project has always seemed like a lot of fun, though, until now I’ve been a little too intimidated to try it out.  My AM/FM radio gave up the ghost a while ago, so &lt;em&gt;perfect&lt;/em&gt;, I thought.  Now would be a great time to shake things up and modernize the lab with a custom bluetoothy speaker system on the cheap.&lt;/p&gt;

&lt;!--more--&gt;

&lt;p&gt;Some design goals:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;A self-contained amplifier/speaker system, that’d be easy to hack.&lt;/li&gt;
  &lt;li&gt;Something stylish to snazz up the lab.&lt;/li&gt;
  &lt;li&gt;Use an off the shelf bluetooth adapter that’d be easy to integrate into enclosure and the amplifier, and one that’s easy to supply power to.&lt;/li&gt;
  &lt;li&gt;Something in the 10-20 watt range.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;Trial and Error&lt;/h1&gt;

&lt;p&gt;The first thing that I thought about trying was to take an old boombox or AM/FM radio, and hacking in an off-the-shelf bluetooth audio adapter either into an available AUX input channel, or somehow hijacking another available audio channel (like the one used for the tape input).  After a few tries scrounging around, I wasn’t able to find a boombox or radio that met all of my needs.  Either they were too complicated internally (they didn’t have easily accessible audio channel lines for AUX, or tape), or they just didn’t have the right form factor.  But eventually, after a bit of digging, what I did find, was a 10-15 watt Peavey Solo guitar &amp;amp; microphone amplifier.  Alright!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Peavey.jpg&quot; alt=&quot;Peavey Solo&quot; /&gt;
    &lt;noscript&gt;
      &lt;img src=&quot;/images/posts/amp/Peavey.jpg&quot; alt=&quot;Peavey Solo&quot; /&gt;
    &lt;/noscript&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Peavey Solo Amplifier in need of some love&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;It had a broken potentiometer for the aux volume control that was rattling around inside of the enclosure.  But that’d be an easy fix with a through-hole 50K pot soldered back on to the main board, and off to the races we go!&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Broken-pot.jpg&quot; alt=&quot;Poor little guy&quot; /&gt;
    &lt;noscript&gt;
      &lt;img src=&quot;/images/posts/amp/Broken-pot.jpg&quot; alt=&quot;Poor little guy&quot; /&gt;
    &lt;/noscript&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Poor little guy&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Unfortunately, after plugging it in, and listening to the audio quality, the mood got a little deflated.  Although it was loud, with 15 watts, and a 4Ω woofer, the fidelity was pretty poor, and I think that it was on account of the amplifier’s board layout, cost-reducing efforts, and by driving the power amplifiers beyond their specifications (producing clipping).  The amplifier also had a pretty solid 60hz buzz, which at the time, I didn’t really know how to solve.  Turns out, &lt;a href=&quot;http://diyaudioprojects.com/Technical/Grounding-Shielding/&quot;&gt;appropriate grounding&lt;/a&gt; and employment of &lt;a href=&quot;https://www.youtube.com/watch?v=UW_XFGGTh0I&quot;&gt;bypass capacitors&lt;/a&gt; (to reduce noise on the power rails) are incredibly important to producing a clean amplified audio signal.&lt;/p&gt;

&lt;p&gt;I had a second problem too.  I wanted to have the bluetooth adapter’s power supplied by the amplifier board.  After hacking the two together to test things out, I could hear really &lt;em&gt;awful&lt;/em&gt; RF interference emitting from the amplifier.  The reason for this had to do with the grounding technique of the amplifiers board layout.  It definitely wasn’t in a star pattern, and it looked like power and signal grounds were intermixed, which I guess can lead to problems. The amplifier chips on the board also lacked proper bypassing, presumably to reduce the COGS and manufacturing costs of the product.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Stock-amp.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Stock-amp.jpg&quot; alt=&quot;Stock amplifier&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Stock-amp.jpg&quot; alt=&quot;Stock amplifier&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;One half of the stock amplifier circuit; Comprised of two TI RC4558P chips, presumably in a bridge configuration&lt;sup&gt;4&lt;/sup&gt;&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;I played around with adding some bypassing to the amplifier chips, but ultimately, trying to fix the problems started to seem less and less feasible for me to do in a reasonable amount of time.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Stock-amp-bypassing.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Stock-amp-bypassing.jpg&quot; alt=&quot;Trying to add bypass caps&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Stock-amp-bypassing.jpg&quot; alt=&quot;Trying to add bypass caps&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Hacked in some bypass caps on the amplifier chips&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Well, that didn’t work.  So, short story long, let’s roll our own!&lt;/p&gt;

&lt;p&gt;Disclaimer: There are many good quality bare-bones amplifier boards that are available pre-assembled, for a very low price.  Just checkout &lt;a href=&quot;http://www.parts-express.com/cat/audio-amplifier-boards-modules/3464&quot;&gt;parts-express&lt;/a&gt;.  Some even have integrated bluetooth modules.  But if you want a learning experience, and a special feeling of satisfaction for a job well done, then why not try doing it yourself!&lt;/p&gt;

&lt;h1&gt;New goals&lt;/h1&gt;

&lt;p&gt;Going back to the drawing board a little bit, I picked these as my new goals:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Build a self-contained mono amplifier/speaker system that will fit into the old Peavey guitar amp enclosure.&lt;/li&gt;
  &lt;li&gt;A circuit that’s easy enough for me to understand.&lt;/li&gt;
  &lt;li&gt;An off the shelf bluetooth adapter that can be integrated into the circuit.&lt;/li&gt;
  &lt;li&gt;Provides 10-20 watts through a 4Ω load (so that I can re-use the speaker)&lt;/li&gt;
  &lt;li&gt;A simple, yet snazzy chassis and face plate that fits into the cavity left by the stock Peavey chassis, and one which provides heat sinking for the amplifier chip.&lt;/li&gt;
  &lt;li&gt;An integrated 120V AC power supply.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;Bluetooth&lt;/h1&gt;

&lt;p&gt;This off-the-shelf bluetooth adapter is from XINGDONGCHI, and is great for this project for three reasons:&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Bluetooth-before.jpg&quot; alt=&quot;Bluetooth adapter before&quot; /&gt;
    &lt;noscript&gt;
      &lt;img src=&quot;/images/posts/amp/Bluetooth-before.jpg&quot; alt=&quot;Bluetooth adapter before&quot; /&gt;
    &lt;/noscript&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;XINGDONGCHI USB bluetooth Aadapter&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;ol&gt;
  &lt;li&gt;It’s cheap (&amp;lt; $9 shipped).&lt;/li&gt;
  &lt;li&gt;The presence of the USB port means that it’s powered by 5v.&lt;/li&gt;
  &lt;li&gt;The presence of a 3.5mm headphone jack means that the audio is easy to intercept.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This device isn’t actually a USB audio adapter.  It provides audio through a 3.5mm headphone jack, and only uses the USB connector for 5v power.  It’s pretty ideal for integrating into an amplifier project.&lt;/p&gt;

&lt;p&gt;To prepare the adapter for integration, first remove the plastic enclosure by placing it in a vice, along its seam, and gently applying compression until the two halves pop apart.  Bingo.  Then, to provide a more permanent integration point, depopulate the USB male connector, and solder on a 4x1 male pin header.  That will provide power and grounds to the two outer pins, leaving the two inner pins unused.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Bluetooth-after.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Bluetooth-after.jpg&quot; alt=&quot;Bluetooth adapter after&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Bluetooth-after.jpg&quot; alt=&quot;Bluetooth adapter after&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Bluetooth adapter after depopulating the USB connector, and adding a male pin header, and white wire to the indicator LED&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;This particular adapter has an indicator LED, which blinks at different patterns according to whether or not something is paired to it.  I chose to depopulate the LED as well, and run its signal (which is connected directly to the SoC via a 1K resistor), out to one of the unused pins of the male pin header.  My goal for that is to incorporate the blinking pattern into the front panel of the amplifier somehow.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Bluetooth-after-2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Bluetooth-after-2.jpg&quot; alt=&quot;Bluetooth adapter after&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Bluetooth-after-2.jpg&quot; alt=&quot;Bluetooth adapter after&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Bluetooth adapter after depopulating the USB connector, and adding a male pin headers&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Now, since this project is going to be a mono amplifier (there’s only one speaker), you might think that you could forgo the 3.5mm audio jack and somehow route a mono signal through the second unused pin of the male header.  But that would mean that the signal and the power source for the board would directly share a common ground pin.  That &lt;em&gt;may&lt;/em&gt; work, but to do our due “grounding” diligence, I decided to keep the 3.5mm jack, so that we would have separate grounds for the signal, and for the power source of the adapter.&lt;/p&gt;

&lt;h1&gt;Get down to business&lt;/h1&gt;

&lt;p&gt;Okay, so building an amplifier…  The great thing is that there is no shortage of in-depth, detailed information out there on how to build DIY audio equipment.  Unsurprisingly, that also turns out to be a downside as well, as it can be a bit overwhelming to wade through it all.  Thankfully, there’s is a great article in MAKE that details pretty much exactly what I want to do:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://makezine.com/projects/build-bare-bones-skeleton-amplifier/&quot;&gt;&lt;img src=&quot;/images/posts/amp/Skeleton-amp.jpg&quot; alt=&quot;Skeleton Amplifier Guide&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;They call it the “Skeleton amplifier”, and it’s based on the &lt;a href=&quot;http://www.ti.com/lit/ds/symlink/lm1875.pdf&quot;&gt;LM1875&lt;/a&gt; chip, which has gained popularity for its ease of use, its quality, and power.  The project also provides a circuit diagram for a power supply, and parts list, configuring two LM1875s as an 11 watt per channel stereo amplifier.  Best of all, I only have to build 1/2 of the amplifier circuit, since I only need mono!  Yes!&lt;/p&gt;

&lt;h1&gt;Parts&lt;/h1&gt;

&lt;p&gt;Here’s the parts list for the mono amplifier.  These are mostly taken from the Skeleton Amplifier guide, and I was able to source almost everything from Mouser (as opposed to radioshack) reducing the cost somewhat.  I include a couple additional components for the purpose of integrating the bluetooth adapter.  I was able to salvage capacitors and other various things from other derelict amplifiers that I happened to have in the junk pile.  In particular, from a fancy, yet busted Kenwood amplifier, I pulled two enormous 7500μF 80V caps that I then used for the power supply, and a large aluminum heatsink which I used to dissipate the heat form the LM1875.  Below, I list the part numbers, where available, but feel free to find any part that meets or exceeds the specs described below.&lt;/p&gt;

&lt;p&gt;If you don’t have a ready supply of capacitors and resistors, getting a pre-assembled kit from ebay or amazon that contains a wide variety of electrolytic, ceramic, and film capacitors is a great way to go.  Resistor kits are also available, and relatively inexpensive.  If you do buy capacitors or resistors from mouser, and you can spare a few extra dollars, buy more than you need, in quantities of 10 to reduce the per-unit cost.  Having them around is really handy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note: the parts list below is for a MONO amplifier&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;Capacitors&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;2x - 4700μF to 7500μF (35-80V) electrolytic capacitors (ECA-1EHG472)&lt;/li&gt;
  &lt;li&gt;2x - 100μF 25V electrolytic capacitors&lt;/li&gt;
  &lt;li&gt;1x - 22μF 25V electrolytic capacitor (ECE-A1EN220X)&lt;/li&gt;
  &lt;li&gt;2x - 1μF 25V film capacitor (ECQ-E2105KF)&lt;/li&gt;
  &lt;li&gt;3x - 0.1μF 25V film capacitors (ECQ-E4104KF)&lt;/li&gt;
  &lt;li&gt;1x - 0.22μF 25V film capacitor (ECQ-E2224KF)&lt;/li&gt;
  &lt;li&gt;1x - 0.33μF 25V film capacitor&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;Resistors&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;1x - 1Ω 1W metal film resistor (CPF11R0000FKEE6)&lt;/li&gt;
  &lt;li&gt;1x - 100KΩ linear taper, through-hole potentiometer, 16mm shaft, don’t skimp, and get a nice one (P160KNP-0QC15B100K)&lt;/li&gt;
  &lt;li&gt;2x - 10KΩ any type resistors&lt;/li&gt;
  &lt;li&gt;2x - 22KΩ any type resistors&lt;/li&gt;
  &lt;li&gt;1x - 220KΩ any type resistor&lt;/li&gt;
  &lt;li&gt;1x - 1KΩ any type resistor&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;Power&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;1x - 25.2V out (115V in) power transformer (Triad F-41X)&lt;/li&gt;
  &lt;li&gt;4x - 40-60V 5A Schottkey Diodes (SB560-E3/54, 1N5822)&lt;/li&gt;
  &lt;li&gt;1x - 120V rated SPDT panel mount toggle switch&lt;/li&gt;
  &lt;li&gt;1x - 500mA 250V time lag fuse cartridge (0218.500MXP)&lt;/li&gt;
  &lt;li&gt;1x - Inline fuse holder (go to Radioshack and see what they have that will fit a 5mmx20mm fuse)&lt;/li&gt;
  &lt;li&gt;1x - 2-prong power cable&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;IC&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;1x - LM1875T&lt;/li&gt;
  &lt;li&gt;1x - XINGDONGCHI USB Bluetooth audio adapter (or something that seems like it’d be easy to work with)&lt;/li&gt;
  &lt;li&gt;1x - 2N706 NPN Transistor&lt;/li&gt;
  &lt;li&gt;1x - 5V voltage regulator (L7805CV)&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;Other&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;2x - Perf boards&lt;/li&gt;
  &lt;li&gt;1x - 1x40 breakaway male pin header&lt;/li&gt;
  &lt;li&gt;1x - A stylish knob for the volume potentiometer&lt;/li&gt;
  &lt;li&gt;1x - LED (I chose a neat defuse white)&lt;/li&gt;
  &lt;li&gt;6x - 2 pole 5mm pitch screw down terminal blocks (optional, but nice.  Note: only 4 ended up in the picture below)&lt;/li&gt;
&lt;/ol&gt;

&lt;h5&gt;Chassis and heat dissipation&lt;/h5&gt;
&lt;ol&gt;
  &lt;li&gt;1x - 4x2x0.125” x 10 7/8” (or whatever dimensions you need) architectural aluminum stock.&lt;/li&gt;
  &lt;li&gt;1x - Aluminum heatsink (optional, you can alternatively find a way to thermally bond the amplifier chip to an aluminum chassis)&lt;/li&gt;
  &lt;li&gt;1x (at least) - TO-220 thermal insulator, to electrically insulate the LM1875, but still allow it to thermally bond to the heat sink (43-77-20G)&lt;/li&gt;
  &lt;li&gt;1x - Silicone heat sink compound&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;Mounting hardware&lt;/h4&gt;
&lt;ol&gt;
  &lt;li&gt;1x - Nylon 1/4” P-Clip (For tension relief of the power cable)&lt;/li&gt;
  &lt;li&gt;5x - #6 nylon screws&lt;/li&gt;
  &lt;li&gt;5x - #6 nylon nuts&lt;/li&gt;
  &lt;li&gt;5x - #6 nylon washers&lt;/li&gt;
  &lt;li&gt;8x - #6 1/4” nylon spacers&lt;/li&gt;
  &lt;li&gt;4x - #6 1/2” long pan head metal screws&lt;/li&gt;
  &lt;li&gt;2x - Small metal screws (secure the power supply)&lt;/li&gt;
  &lt;li&gt;2x - Small metal washers (secure the power supply)&lt;/li&gt;
  &lt;li&gt;?x - Small screws to secure the heat sink&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Parts-amp.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Parts-amp.jpg&quot; alt=&quot;Amplifier parts&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Parts-amp.jpg&quot; alt=&quot;Amplifier parts&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Amplifier parts (most of them, anyway)&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Parts-power.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Parts-power.jpg&quot; alt=&quot;Power supply parts&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Parts-power.jpg&quot; alt=&quot;Power supply parts&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply parts (well, everything except the mounting hardware and terminal blocks)&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Parts-chassis.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Parts-chassis.jpg&quot; alt=&quot;Chassis and mounting hardware&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Parts-chassis.jpg&quot; alt=&quot;Chassis and mounting hardware&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Chassis and mounting hardware&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h1&gt;Power Supply&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Be very careful with main power!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Also&lt;/strong&gt; be careful with these large capacitors.  They maintain high voltage even after they are disconnected from power.  Properly &lt;strong&gt;discharge&lt;/strong&gt; capacitors before handling the power supply circuit again.&lt;/p&gt;

&lt;p&gt;This part is actually really satisfying.  We get to make a bi-polar 20V DC power supply that can be integrated into the guitar amp enclosure.  It’s actually surprisingly simple, and interesting.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-schematic.png&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-schematic.png&quot; alt=&quot;Power supply schematic&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-schematic.png&quot; alt=&quot;Power supply schematic&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply schematic&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;So, the basic idea is that the transformer steps down the AC voltage to around what we’re after: 25V, and the arrangement of rectifier diodes (&lt;a href=&quot;https://en.wikipedia.org/wiki/Diode_bridge&quot;&gt;in a bridge circuit configuration&lt;/a&gt;) serve to efficiently convert alternating current into a positive 25V and a negative 25V DC output.  The center tap of the transformer serves as our ground reference.&lt;/p&gt;

&lt;p&gt;To get the diodes and capacitors to fit into a through-hole perf board, you may need to drill out the holes with a 5/64” or 3/32” bit.  Below is my attempt at a power supply board using a strip contact board, where there are conductive traces along the horizontal axis of the board.  I actually don’t rely on these traces exclusively for the power supply, and instead add jumper wires to better handle the current and voltage requirements.  Maybe overkill, but better safe than sorry.  To secure the capacitors, deposit hot glue on the bottom of them prior to placing them on the board.&lt;/p&gt;

&lt;p&gt;By the way, if you do use perf boards with strips of contacts, you can use an x-acto knife, a drill bit, or a &lt;a href=&quot;https://www.amazon.com/gp/product/B00DJZGZK2/ref=oh_aui_detailpage_o01_s01?ie=UTF8&amp;amp;psc=1&quot;&gt;special tool&lt;/a&gt; to disrupt the traces where necessary.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-1.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-1.jpg&quot; alt=&quot;Power supply, partially assembled&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-1.jpg&quot; alt=&quot;Power supply, partially assembled&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply, partially assembled&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-2.jpg&quot; alt=&quot;Power supply, layout&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-2.jpg&quot; alt=&quot;Power supply, layout&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply layout&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Once everything is laid out and soldered together, attach the transformer.  The lead with the stripe is the center tap, and is attached to the ground plane of the board.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-3.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-3.jpg&quot; alt=&quot;Power supply, hooked up&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-3.jpg&quot; alt=&quot;Power supply, hooked up&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply layout, hooked up&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Next, splice an old 2-prong power cable and solder the fuse holder to the hot lead (the one with the white stripe).  Then, solder the fuse holder to your power toggle switch.  Since this is carrying main power, be sure to choose a toggle switch that is rated for 120V.  Solder a lead from the opposite pole of the toggle switch to one of the black input leads of the transformer, and then finally solder the neutral lead of the power cable to the other black input lead of the transformer.  Here, I use black heat shrink tube around all of the solder joints to insulate them.  Now, just plug it in, and test the voltage.  From the 25V AC transformer, you will likely see somewhere in the neighborhood of +/- 20V.  The drop in voltage is due to the accumulated forward voltage drop of the diode rectifier bridge.  &lt;strong&gt;Be very careful&lt;/strong&gt;, even after the power supply has been disconnected from main power, the capacitors will hold a voltage for quite a long time.  If there is no load connected to the power supply, carefully, without actually touching any conductive surface, take a 1k resistor and short the poles of both of the capacitors.  I taped a resistor to a stick, and used that to discharge each capacitor.  You can use a screw driver with an insulated handle to short the poles, but this will most certainly cause arcing.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-4.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-4.jpg&quot; alt=&quot;Power supply, with fuse and switch&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-4.jpg&quot; alt=&quot;Power supply, with fuse and switch&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply, with fuse and switch&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;This is how it ended up looking once installed in the enclosure.  I drilled holes through the PCB and used #6 metal screws, and #6 nylon washers and #6 1/4” nylon spacers to raise the PCB off of the bottom of the enclosure.  The transformer is held down by small metal screws and washers.  To relieve tension on the power cable, it is attached to the side of the enclosure by a black 1/4” P-Clip.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Power-5.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Power-5.jpg&quot; alt=&quot;Power supply, installed&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Power-5.jpg&quot; alt=&quot;Power supply, installed&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Power supply, installed&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h1&gt;Amplifier&lt;/h1&gt;

&lt;p&gt;The amplifier circuit itself is essentially identical to the &lt;a href=&quot;http://www.ti.com/lit/ds/symlink/lm1875.pdf&quot;&gt;LM1875&lt;/a&gt; amplifier circuit detailed in the “Skeleton” Amplifier project.  In that project, you of course build a pair of amplifiers, for stereo.  Here we only need one.  There are only a few main differences between the Skeleton circuit, and the one below.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;It takes stereo audio input, and sums the left and right signal into a single mono source.&lt;/li&gt;
  &lt;li&gt;There is no external audio input source.  The audio signal from the Xingdongchi bluetooth module is the only source.&lt;/li&gt;
  &lt;li&gt;There is an additional +5V power regulator circuit that is used to supply power to the bluetooth module.&lt;/li&gt;
  &lt;li&gt;There is a transistor that is used to control an external indicator LED.&lt;/li&gt;
&lt;/ol&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Amp-schematic.png&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Amp-schematic.png&quot; alt=&quot;Amplifier circuit&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Amp-schematic.png&quot; alt=&quot;Amplifier circuit&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Amplifier circuit&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;I want a single LED power/connectivity indicator for the front panel, but the LED indicator of the bluetooth module doesn’t quite behave in a way that I need.  For instance, it doesn’t illuminate until the SoC boots (which takes a second or two).  Secondly, I want to keep the design open for adding an AUX channel port, and allow for the bluetooth module to be powered down while the AUX channel is being used.  This means that I cannot rely solely on the output of the bluetooth module’s LED output.  To solve this, I use an NPN transistor, and create a not gate, which essentially inverts the LED indicator signal that comes from the bluetooth module.  The result is that the LED is on by default, and blinks inversely to the signal of the bluetooth module’s LED output.&lt;/p&gt;

&lt;p&gt;Before trying to come up with a board layout, I tried the circuit out on a breadboard, to see how it worked.  This doesn’t actually give you a sense of how the amplifier will sound when laid out on an actual board.  The contacts between components are not terribly secure, there are a lot of long leads that can pick up interference, and the grounding typically won’t be very good, causing ground loops, which can again, introduce interference.  In particular, I noticed that the bluetooth module introduced quite a bit of interference, even though the amplifier is pretty well protected by bypass capacitors.  Also, it is not a good idea to run the amplifier for very long without some kind of heat sinking.  It gets extremely hot, even after a few seconds of activity.  Still, this felt like an important step.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Amp-protoboard.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Amp-protoboard.jpg&quot; alt=&quot;Aaaaah&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Amp-protoboard.jpg&quot; alt=&quot;Aaaaah&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Aaaaah&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h4&gt;Layout, in Theory&lt;/h4&gt;

&lt;p&gt;Probably the trickiest part of this project is coming up with a sensible layout.  There are two main things to focus on.&lt;/p&gt;

&lt;h5&gt;Bypassing&lt;/h5&gt;

&lt;p&gt;Bypass (or “decoupling”) capacitors&lt;sup&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=UW_XFGGTh0I&quot;&gt;5&lt;/a&gt;,&lt;a href=&quot;https://www.youtube.com/watch?v=BcJ6UdDx1vg&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; connect from the power rail to ground and serve to dampen noise in the form of voltage fluctuations on the power inputs to our ICs.  It’s important to place these capacitors as physically close to their IC as you can.  Traces inevitably have some amount of impedance, so the longer the trace, the more likely it is to pick up noise.&lt;/p&gt;

&lt;h5&gt;Grounding&lt;/h5&gt;

&lt;p&gt;A “star” grounding configuration&lt;sup&gt;&lt;a href=&quot;http://www.geofex.com/article_folders/stargnd/stargnd.htm&quot;&gt;7&lt;/a&gt;,&lt;a href=&quot;http://www.lh-electric.net/tutorials/gnd_loop.html&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; is pretty important for this amplifier.  This basically means that all ground junctions should run directly to a single point, and then that point becomes the common ground to the chassis.  This prevents interactions between circuit features that could cause noise and instability.&lt;/p&gt;

&lt;h4&gt;Layout, in Reality&lt;/h4&gt;

&lt;p&gt;You may not end up getting a perfect star ground configuration, but give it a shot. I wasn’t entirely successful in getting a perfect star ground configuration, but it’s not bad for a first attempt.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Amp-layout-top.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Amp-layout-top.jpg&quot; alt=&quot;Fig 1. Amplifier layout, top (1)&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Amp-layout-top.jpg&quot; alt=&quot;Fig 1. Amplifier layout, top (1)&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Fig 1. Amplifier layout, top (1)&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;I used screw down terminals to connect all of the external parts.  In Fig 1, starting from the top left, the screw down terminal closest to the bluetooth module is for the indicator LED, that will be attached to the chassis.  The one below it is for the power.  I only had 2-pole terminals available, so I had to use two of them for the power supply attachment point.  These are wired as VCC- on the top, two grounds in the middle, and VCC+ at the bottom.  The second GND terminal block will be used to ground the chassis using a lead with a spade connector.  For the audio input, there are a total of 4 poles.  Each channel has an independent ground, of which, I only use one.  The terminal to the right is the output to the speaker.&lt;/p&gt;

&lt;p&gt;The volume potentiometer is positioned flush with the front of the board so that it can be attached to the chassis’ front panel, and the LM1875 is positioned flush with the back of the board so that it can be bonded to the heat sink.  I did not bother screwing down or heat sinking the L7805CV voltage regulator, since it is not going to get terribly warm, nor do I intend to move the finished amplifier around very often.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Amp-layout-top-2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Amp-layout-top-2.jpg&quot; alt=&quot;Fig 2. Amplifier layout, top (2)&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Amp-layout-top-2.jpg&quot; alt=&quot;Fig 2. Amplifier layout, top (2)&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Fig 2. Amplifier layout, top (2)&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Here is the layout of the underside of the board.  In order to reduce the overall inductive surface area of the circuit, I was diligent about disrupting the on board traces, so that they were as short as possible.  Again, you can use an x-acto knife, a drill bit, or a &lt;a href=&quot;https://www.amazon.com/gp/product/B00DJZGZK2/ref=oh_aui_detailpage_o01_s01?ie=UTF8&amp;amp;psc=1&quot;&gt;special tool&lt;/a&gt; for this.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Amp-layout-bottom.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Amp-layout-bottom.jpg&quot; alt=&quot;Fig 3. Amplifier layout, bottom&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Amp-layout-bottom.jpg&quot; alt=&quot;Fig 3. Amplifier layout, bottom&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Fig 3. Amplifier layout, bottom&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h1&gt;Chassis and Front Panel&lt;/h1&gt;

&lt;p&gt;A single piece of 4x2x0.125” x 10 7/8” angle architectural aluminum serves as both the chassis and the front panel of the amplifier.  I was able to source this from a local metal supply shop that sold 4x2x0.125” angle architectural aluminum by the inch.  “Architectural” in this context means that it has a crisp right angle on the interior, which is perfect for this application.  The heat sink and circuit board are both mounted to the 4” wide section of the angle aluminum, and the 2” section serves as the front panel.  Because there is an inside angle of 90°, the circuit board can fit up flush against the front panel.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-stock.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-stock.jpg&quot; alt=&quot;Aluminum stock 4x2x0.125 x 10 7/8 inch, angle architectural&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-stock.jpg&quot; alt=&quot;Aluminum stock 4x2x0.125 x 10 7/8 inch, angle architectural&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Aluminum stock 4x2x0.125 x 10 7/8 inch, angle architectural&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;To help make clean holes, and to more easily lay things out, put down a layer of masking tape over the outside surface, and drill inward.  The front panel will have a power switch, a volume knob, and an power/bluetooth connectivity indicator LED.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-front.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-front.jpg&quot; alt=&quot;Front panel layout&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-front.jpg&quot; alt=&quot;Front panel layout&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Front panel layout&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;If you don’t have a drill press, use a center punch, a nail, or screw to make a centered guide for the drill bit.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-punch.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-punch.jpg&quot; alt=&quot;Center punch holes&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-punch.jpg&quot; alt=&quot;Center punch holes&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Center punch holes&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-top.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-top.jpg&quot; alt=&quot;Chassis layout, circuit board footprint&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-top.jpg&quot; alt=&quot;Chassis layout, circuit board footprint&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Chassis layout, circuit board footprint&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;To get the spacing correct, you can always try playing around with the boards orientation, and layout of externally accessible components, so that you can make sure that the heat sink, the amplifier, the holes in the chassis, and the volume potentiometer all align.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-layout-test.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-layout-test.jpg&quot; alt=&quot;Chassis layout test&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-layout-test.jpg&quot; alt=&quot;Chassis layout test&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Chassis layout test&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;The heat sink I use has gaps in three locations across its length, and are easily tapped with a small screw.  Once everything is in place,  mark the location of the holes for the heat sink with a sharp nail.&lt;/p&gt;

&lt;p&gt;Once you’ve drilled the holes, knock down any burs with a metal file, and affix the heat sink.  To attach it to the chassis, just screw it to the bottom.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Chassis-heatsink.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Chassis-heatsink.jpg&quot; alt=&quot;Attaching heat sink to chassis&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Chassis-heatsink.jpg&quot; alt=&quot;Attaching heat sink to chassis&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Attaching heat sink to chassis&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;To give the aluminum a nice finish, use a high-grit sand paper (i.e. 600 grit) to remove any swirls, and to produce a slightly matted grain finish by sanding in a constant horizontal direction.&lt;/p&gt;

&lt;h1&gt;Assembly&lt;/h1&gt;

&lt;p&gt;All that’s left now, is to bolt it all together.  To mount the amplifier circuit, use #6 nylon screws, nuts, and 1/4” spacers.  To bond the LM1875 to the heat sink, use a TO-220 thermal insulator, along with some silicone thermal compound (on both sides of the thermal insulator), securing it with another #6 nylon screw, washer, and nut.  It’s important for the LM1875 to be electrically insulated from the heat sink, but thermally bonded.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Assembly-everything-1.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Assembly-everything-1.jpg&quot; alt=&quot;Assembly - 1&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Assembly-everything-1.jpg&quot; alt=&quot;Assembly - 1&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Assembly - 1&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;Ground the chassis using a crimped spade connector, and attach the other end of the lead to the star ground of the amplifier circuit.  I used the spare GND terminal block for this.&lt;/p&gt;

&lt;p&gt;Finally, secure the power switch, the external LED, and the volume knob.  Not pictured here, but I encase the bluetooth module in heat-shrink tubing to better protect it from an accidental short.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Assembly-everything-2.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Assembly-everything-2.jpg&quot; alt=&quot;Assembly - 2&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Assembly-everything-2.jpg&quot; alt=&quot;Assembly - 2&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Assembly - 2&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;h1&gt;Results&lt;/h1&gt;

&lt;p&gt;In the end, things turned out pretty well.  The amplifier sounds great, and is definitely loud enough for my small space.  I also like the clean look of the aluminum face plate, and defuse white LED.  I am especially happy about the volume knob.  I found it quite a while ago in a stall at an electronics MEGA store in Akihabara, Tokyo, and have been holding on to it ever since; sometimes even daydreaming about what it might one day be used for.&lt;/p&gt;

&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Results-back.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Results-back.jpg&quot; alt=&quot;Results, back&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Results-back.jpg&quot; alt=&quot;Results, back&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Results, back&lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;figure class=&quot;full-width caption&quot;&gt;
    &lt;a href=&quot;/images/posts/amp/Results-front.jpg&quot; class=&quot;image-popup&quot;&gt;
      &lt;div class=&quot;cropped&quot;&gt;
        &lt;img src=&quot;/images/ring.gif&quot; data-src=&quot;/images/posts/amp/Results-front.jpg&quot; alt=&quot;Results, front&quot; /&gt;
        &lt;noscript&gt;
          &lt;img src=&quot;/images/posts/amp/Results-front.jpg&quot; alt=&quot;Results, front&quot; /&gt;
        &lt;/noscript&gt;
      &lt;/div&gt;
    &lt;/a&gt;
    
    &lt;figcaption class=&quot;caption-text&quot;&gt;Results, front&lt;/figcaption&gt;
    
&lt;/figure&gt;

&lt;p&gt;It isn’t perfect.  There is a bit of audible interference from the bluetooth module, but it is only detectable at high volume, and without the audio source playing.  I also can hear a bit of DC feedback when the LED blinks, which I think is due, again, to improper grounding.  Even so, it still sounds great to me!&lt;/p&gt;

&lt;h1&gt;Next Steps&lt;/h1&gt;

&lt;p&gt;I suspect that the sound quality of this amplifier can be improved.  The enclosure has an open back, and uses a 4Ω woofer driver, which doesn’t seems to have a very wide range.  It has decent bass, but muffled mids and highs.  The next step for this project will be to hack the enclosure, sealing the back and air gaps, and opening up a bass reflex port so that the bass can resonate more efficiently.  A full range speaker driver would also be a nice addition.  These drivers often have two integrated speaker cones (a tweeter and a woofer) and built-in cross-over circuitry.  In the mean time the lab is filled with pleasant tunes once again, and I had a great learning experience.&lt;/p&gt;

&lt;h1&gt;References&lt;/h1&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;/images/posts/amp/Power-schematic.png&quot;&gt;Power Supply Schematic&lt;/a&gt; - /images/posts/amp/Power-schematic.png&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/images/posts/amp/Amp-schematic.png&quot;&gt;Amplifier Schematic&lt;/a&gt; - /images/posts/amp/Amp-schematic.png&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://makezine.com/projects/build-bare-bones-skeleton-amplifier/&quot;&gt;Bare-Bones ‘Skeleton’ Amplifier&lt;/a&gt; - http://makezine.com/projects/build-bare-bones-skeleton-amplifier/&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Bridged_and_paralleled_amplifiers#Bridged_amplifier&quot;&gt;Bridge Amplifier Circuit&lt;/a&gt; - https://en.wikipedia.org/wiki/Bridged_and_paralleled_amplifiers#Bridged_amplifier&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=UW_XFGGTh0I&quot;&gt;Demonstrating the Effect of Decoupling Capacitors&lt;/a&gt; - https://www.youtube.com/watch?v=UW_XFGGTh0I&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=BcJ6UdDx1vg&quot;&gt;EEVblog #859 - Bypass Capacitor Tutorial&lt;/a&gt; - https://www.youtube.com/watch?v=BcJ6UdDx1vg&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.geofex.com/article_folders/stargnd/stargnd.htm&quot;&gt;Star Grounding in Tube Amplifiers&lt;/a&gt; - http://www.geofex.com/article_folders/stargnd/stargnd.htm&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.lh-electric.net/tutorials/gnd_loop.html&quot;&gt;Solving Ground Loop Problems - Star Grounding&lt;/a&gt; - http://www.lh-electric.net/tutorials/gnd_loop.html&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://diyaudioprojects.com/Technical/Grounding-Shielding/&quot;&gt;Grounding and Shielding for your DIY Audio Projects&lt;/a&gt; - http://diyaudioprojects.com/Technical/Grounding-Shielding/&lt;/li&gt;
&lt;/ol&gt;
</description>
                <pubDate>Fri, 25 Nov 2016 00:00:00 +0000</pubDate>
                <link>https://littlecraft.io/2016/11/25/bluetooth-guitar-amp-retrofit/</link>
                <guid isPermaLink="true">https://littlecraft.io/2016/11/25/bluetooth-guitar-amp-retrofit/</guid>
                
                <category>hardware</category>
                
                <category>bluetooth</category>
                
                <category>audio</category>
                
                <category>hack</category>
                
                
            </item>
        
    </channel>
</rss>