Documentation

TPA3118 PBTL Single Digital Amplifier Board 1x60W | ShillehTek Product Manual
Documentation / TPA3118 PBTL Single Digital Amplifier Board 1x60W | ShillehTek Product Manual

TPA3118 PBTL Single Digital Amplifier Board 1x60W | ShillehTek Product Manual

Overview

The TPA3118 PBTL is a high-efficiency Class-D mono digital amplifier board built around the Texas Instruments TPA3118D2 chip. Configured in PBTL (parallel bridge-tied load) mode, it delivers up to 60W into a single 4Ω speaker from a 24V supply, making it perfect for subwoofers, single-channel home audio, large Bluetooth speaker builds, and DIY guitar amplifiers.

The board accepts a wide DC input range of 4.5V to 24V, includes a mute switch, and features 4 large output filter inductors that smooth the Class-D switching output before it reaches the speaker. Class-D efficiency is typically 90%+, so the heatsink stays cool even under sustained high-power output. Onboard you also get input audio terminals (line-level), output speaker terminals, and a power input pair.

At a Glance

Output Power
1 x 60W (4Ω @ 24V)
Supply Voltage
4.5 - 24V DC
Channels
Mono (PBTL)
Topology
Class-D Digital
Efficiency
~90%
Speaker Load
2 - 8Ω

Specifications

Parameter Value
IC TPA3118D2 (Texas Instruments)
Topology Class-D Digital, PBTL Mono
Supply Voltage 4.5V - 24V DC
Output Power 60W RMS into 4Ω @ 24V (10% THD)
Output Power 30W RMS into 8Ω @ 24V (10% THD)
Speaker Impedance 2Ω - 8Ω
Input Sensitivity Line level (~700 mV RMS)
Input Impedance ~10 kΩ
Frequency Response 20 Hz - 20 kHz (-3 dB)
SNR > 100 dB
THD+N 0.1% @ 1W
Idle Current ~30 mA
Mute Switch Onboard slide / jumper switch
Protection Over-current, over-temperature, DC, short-circuit

Pinout Diagram

TPA3118 PBTL mono amplifier board pinout showing Audio IN+/-, Mute Switch, 4.5-24V DC Power IN+/-, and Speaker Out+/-

Wiring Guide

Basic Setup — Wiring an Audio Source and Speaker

The simplest setup: wire a power supply, an audio source (phone, laptop, MP3 player), and a single speaker. Make sure the mute switch is in the unmute position before testing.

Board Terminal Connect To
Power IN + +12V to +24V supply (12V is a great starting point)
Power IN - Supply ground
Audio IN + 3.5mm jack tip (left) or shorted left+right
Audio IN - 3.5mm jack sleeve (ground)
Speaker Out + Speaker + terminal
Speaker Out - Speaker - terminal
Warning: Class-D outputs are bridged. Do not connect Speaker Out- to ground or to another channel's output. Both speaker terminals must connect ONLY to the speaker terminals — connecting them anywhere else will destroy the chip.
Tip: A 24V 3A supply gives the rated 60W output into 4Ω. A 12V 2A supply gives roughly 15W — plenty for desktop or small enclosure builds.

From a Microcontroller (DAC or PWM)

To play tones or audio from an Arduino, ESP32, or Raspberry Pi, connect the MCU's DAC or PWM output to the Audio IN + via a coupling capacitor. This blocks DC bias and protects the amp.

Source Output Pin Connection
Arduino UNO D9 (PWM) or DAC0 Via 1µF cap to Audio IN+
ESP32 GPIO 25 or 26 (DAC) Via 1µF cap to Audio IN+
Raspberry Pi 3.5mm headphone jack Direct to Audio IN+/-
Pico PWM via low-pass filter Via 1µF cap to Audio IN+
Note: Always couple MCU outputs to the amplifier through a capacitor to remove DC offset. 1µF to 10µF non-polar (or a ceramic) works well.

From a Bluetooth Audio Receiver

Pair this amp with a small Bluetooth audio module (KCX_BT_EMITTER, JL5315, or similar) for a wireless DIY speaker build. Wire the receiver's analog left + right outputs together for mono input.

BT Module Amp Board
L_OUT + R_OUT (joined) Audio IN +
GND Audio IN -
VCC (5V) Use a separate 5V buck regulator from the 24V rail

Code Examples

The TPA3118 is an analog-input amplifier — there's no digital control on this board. Code examples below show how to drive it from an MCU's DAC for tone generation.

Arduino — Generate a 1 kHz Sine Wave

tone_arduino.ino
// Arduino - drive TPA3118 with a square wave tone
// Connect D9 -- 1uF cap -- Audio IN+
// Audio IN- to Arduino GND

void setup() {
  pinMode(9, OUTPUT);
}

void loop() {
  tone(9, 1000);  // 1 kHz tone
  delay(500);
  noTone(9);
  delay(500);
}

ESP32 — DAC Sine Wave

sine_esp32.ino
// ESP32 - DAC sine wave through TPA3118
// GPIO 25 (DAC1) -- 1uF cap -- Audio IN+

#include <math.h>
#include <driver/dac.h>

void setup() {
  dac_output_enable(DAC_CHANNEL_1);  // GPIO 25
}

void loop() {
  static float phase = 0;
  float sample = sin(phase) * 0.5 + 0.5;     // 0..1
  dac_output_voltage(DAC_CHANNEL_1, (uint8_t)(sample * 255));
  phase += 2 * PI * 1000.0 / 8000.0;          // 1 kHz at 8 kHz sample rate
  if (phase > 2 * PI) phase -= 2 * PI;
  delayMicroseconds(125);
}

Frequently Asked Questions

Is this stereo or mono?
Mono. The PBTL configuration combines the two output channels of the TPA3118 internally to drive a single speaker with double the current capacity. For stereo, you'd need two of these boards (one per channel) or a stereo BTL board.
Why does my speaker get distorted at high volume?
Most often, your supply is sagging — Class-D amps draw current spikes during loud peaks. Use a beefier supply (24V 3A) and shorter, thicker power wires. Also check that your input signal isn't already clipping at the source (max ~700 mV RMS at the input).
What's the smallest power supply I can use?
5V 2A will work but only delivers a few watts — fine for tabletop or small enclosure projects. For meaningful loudness, use 12V 2A (~15W) or 24V 3A (full 60W). Anything below 4.5V won't power the chip.
Can I bridge this with another board for stereo?
No. PBTL is already a bridged mono. You can't bridge two PBTL boards for higher power, but you CAN run two of them — one each for left and right — for a real stereo system. Just feed each board the appropriate channel from your audio source.
Does it need a heatsink?
For continuous high-power output (40W+), yes — the chip already has a small heatsink, but adding airflow or a larger heatsink helps with sustained operation. For typical music listening below 20W, the stock heatsink is more than enough.
Why is there a hum/buzz when nothing is playing?
Class-D amps amplify whatever's on the input — including ground loops and switching-supply noise. Use a regulated linear or quality switching supply, keep speaker wires away from input wires, and consider a small ferrite bead on the audio input lines.

Related Tutorials