Most DIY Bluetooth speakers fail on the power rail, not the acoustics. You solder everything together, pair your phone, and hear a high-pitched whine every time the Bluetooth module polls or an LED blinks.

That noise is almost always a shared ground-loop or an unfiltered buck-converter rail. Here is how to design a dead-quiet Class-D power bus using discrete modules.

Affiliate Disclosure: Some hardware links below are affiliate links. As an Amazon Associate, SetupLoom may earn a small commission from qualifying purchases at no extra cost to you.

Why Class-D Amps Need Clean Power Rails

Class-D stages like the TPA3110 Amplifier switch output MOSFETs at hundreds of kilohertz. While they achieve ~88–90% efficiency, their high-frequency switching currents can couple into sensitive 5V Bluetooth audio receivers if both stages share thin ground traces.

What You Need

Step 1: Isolate High-Current & Logic Grounds

Never daisy-chain the negative wire from the battery → amplifier → buck converter → Bluetooth module. Instead, wire a star-ground node directly at the main power switch or battery negative terminal:

flowchart TB
    BAT["12V 3S Li-Ion Pack (P+ / P-)"]
    STAR["STAR GROUND NODE\n(Single Low-Impedance Node)"]
    SW["Main Power Switch (10A)"]
    RES["1000uF 25V Low-ESR + 100nF\n(Bulk Decoupling at Amp)"]
    AMP["TPA3110 / TPA3116D2\nClass-D Power Stage"]
    BUCK["LM2596 Buck Converter\n(12V -> 5.00V)"]
    FILT["470uF 25V + 100nF\nBuck Output Ripple Filter"]
    ISO["B0505S-1W Galvanic Isolator\n(5V In -> Isolated 5V Out)"]
    BT["Standalone Bluetooth Receiver\n(Isolated AGND)"]

    BAT -->|"P+ 16 AWG"| SW
    BAT -->|"P- 16 AWG"| STAR
    SW -->|"12V 16 AWG"| RES
    RES -->|"VCC"| AMP
    STAR -->|"GND 16 AWG"| AMP
    SW -->|"12V 18 AWG"| BUCK
    STAR -->|"IN- 18 AWG"| BUCK
    BUCK -->|"OUT+ / OUT-"| FILT
    FILT -->|"+Vin / -Vin"| ISO
    ISO -->|"+Vout / -Vout (No DC Ground Loop)"| BT
    BT -->|"L / R / AGND (Shielded 22 AWG)"| AMP
                

Noise & Brownout Troubleshooting Matrix

SymptomRoot CauseExact Fix
High-pitched whine when BT searchesShared ground loop between amp & 5V BTStar-ground at battery P- + add B0505S-1W isolator
150kHz switching hiss at idleUnfiltered LM2596 output rippleAdd 470µF electrolytic + 100nF ceramic on OUT+/OUT-
Audio cuts out on heavy bass hitsBattery lead inductance / voltage sagSolder 1000µF / 25V low-ESR cap across amp VCC/GND

Step 2: Filter the LM2596 5V Rail

The LM2596 Voltage Regulator switches at ~150kHz. Always calibrate it to 5.00V with a multimeter before connecting any load, then add a 470µF electrolytic + 100nF ceramic capacitor across OUT+ and OUT- right at the load to suppress switching ripple.

If your Bluetooth receiver still exhibits ground-loop whine when sharing a battery with the amp, insert a B0505S-1W isolated DC-DC converter in series with the 5V receiver rail to break the DC ground path completely.

Step 3: Add Bulk Capacitance for Bass Transients

Kick drums demand instantaneous current spikes. When a 12V Lithium-Ion Pack has long leads, wire inductance causes momentary voltage dips that trigger the TPA3110's under-voltage lockout. Solder a 1000µF / 25V low-ESR capacitor directly across the TPA3110 VCC and GND pads.

Bench Verification Checklist

  1. Idle Noise Test: Power on with Bluetooth disconnected—ear 5 cm from the woofer should hear zero hum or digital chatter.
  2. Thermal Check: Run pink noise at 75% volume for 10 minutes; verify the LM2596 inductor and TPA3110 heatsink stay below 60°C.
  3. Brownout Test: Sweep 50Hz–80Hz bass tones at 90% volume and confirm the LEDs do not dim or flicker.

Frequently Asked Questions (FAQ)

Why does my DIY Bluetooth speaker whine when audio is paused?

High-pitched whine is usually caused by a ground loop when the Bluetooth module and Class-D amplifier share a daisy-chained ground wire or an unfiltered 5V buck rail.

What capacitor value stops TPA3110 bass stuttering?

Soldering a 1000µF 25V low-ESR electrolytic capacitor directly across the TPA3110 VCC and GND pads buffers transient bass current spikes and prevents under-voltage dropouts.

S

SetupLoom Engineering Team

We build practical hardware guides, productivity tools, and web applications for makers, engineers, and developers.