Ordered on weekdays before 14:00 = shipped the same day and delivered the next day in 98% of cases. Free returns 30-day reflection period 1-year warranty

Wiring diagram and code example

How to connect the 2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714 to an Arduino UNO or ESP32, with an example sketch you can upload straight away.

TPA3110 Stereo Audio Amplifier Demo

This project demonstrates the TPA3110 stereo amplifier module by playing alternating test tones through the left and right audio channels. Connect speakers to the amplifier's terminal outputs to hear the tones switch between stereo channels.

Wiring diagram: 2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714 on an Arduino UNO
Wiring diagram · Click to enlarge
Connection table: 2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714 on an Arduino UNO
Connection table · Click to enlarge
TPA3110_Stereo_Audio_Amplifier_Demo.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : TPA3110 Stereo Audio Amplifier Demo
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : TPA3110 2x15W Amplifier
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// Stereo test tone generator for TPA3110 Amplifier
const int LEFT_PIN = 9;
const int RIGHT_PIN = 10;

void setup() {
  Serial.begin(115200);
  Serial.println(F("TPA3110 Amplifier Test Ready"));
}

void loop() {
  // Play tone on Left Channel (440 Hz - A4)
  Serial.println(F("Playing Left Channel (440 Hz)"));
  tone(LEFT_PIN, 440, 500);
  delay(700);

  // Play tone on Right Channel (880 Hz - A5)
  Serial.println(F("Playing Right Channel (880 Hz)"));
  tone(RIGHT_PIN, 880, 500);
  delay(700);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

TPA3110 2x15W Stereo Audio Amplifier with ESP32

This project uses the ESP32's built-in DAC to generate musical tones and sends the line-level audio signal to the TPA3110 stereo amplifier. The TPA3110 is powered by an external 12V DC power supply to drive a 3W speaker cleanly at high volume. When powered on, the ESP32 synthesizes a 4-note musical arpeggio every few seconds.

Wiring diagram: 2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714 on an ESP32 DevKit V1
Wiring diagram · Click to enlarge
Connection table: 2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714 on an ESP32 DevKit V1
Connection table · Click to enlarge
TPA3110_2x15W_Stereo_Audio_Amplifier_wit.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : TPA3110 2x15W Stereo Audio Amplifier with ESP32
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : TPA3110 2x15W Amplifier
 *  Libraries : none (built-in)
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

// ESP32 DAC Sine Wave Audio Player for TPA3110 Amplifier
#include <Arduino.h>
#include <math.h>

const int AUDIO_DAC_PIN = 25; // ESP32 built-in 8-bit DAC1 (GPIO 25)

void playTone(float freqHz, int durationMs) {
  unsigned long start = millis();
  float phase = 0.0;
  float phaseInc = 2.0 * PI * freqHz / 20000.0; // ~20 kHz sample rate approximation

  while (millis() - start < (unsigned long)durationMs) {
    // Generate centered sine wave for the line-in input
    uint8_t sample = (uint8_t)(128 + 100.0 * sin(phase));
    dacWrite(AUDIO_DAC_PIN, sample);
    phase += phaseInc;
    if (phase >= 2.0 * PI) {
      phase -= 2.0 * PI;
    }
    delayMicroseconds(50); // ~20 kHz sample interval
  }
  dacWrite(AUDIO_DAC_PIN, 128); // Return to neutral line level
}

void setup() {
  Serial.begin(115200);
  Serial.println("TPA3110 Amplifier Demo Initialized");
  dacWrite(AUDIO_DAC_PIN, 128);
}

void loop() {
  Serial.println("Playing arpeggio sequence...");
  
  playTone(261.63, 250); // C4
  delay(50);
  playTone(329.63, 250); // E4
  delay(50);
  playTone(392.00, 250); // G4
  delay(50);
  playTone(523.25, 400); // C5
  
  delay(2000);
}

Wiring diagram and example code generated by Codey.online — https://www.codey.online

2x15W Digital Audio Mini Amplifier 8-24V Module | TPA3110 | HW-714

Small digital amplifier with a maximum power of 2x15 Watt.

Impedance: 8 Ohm
Power: 2 x 15 Watt
Channels: 2 / Stereo
Input: Left | Min | Right

Operating voltage: 8V-24V DC

 

Dimensions
Length: 4.1cm
Width: 3.1cm
Height: 0.3cm

  • Stereo amplifier
  • 2x15 watt
  • 8-24V DC
  • 4,1 x 3,1 x 0,3 cm

Why choose this product?

  • Stereo sound – Two channels for stereo playback.
  • Up to 2x15 watts – Maximum power of 2x15 Watt.
  • Operates on 8-24V – Operating voltage of 8V-24V DC.
  • Suitable for 8 ohm – Impedance of 8 Ohm.
  • Compact size – Dimensions: 4.1 x 3.1 x 0.3 cm.
Specifications
Width3,1 cm
Operating voltage8V-24V DC
Power2 x 15 Watt
Length4,1cm
Height0,3 cm
Impedance8 Ohm
Channels2 / Stereo

Frequently bought together

Total: € 10,84

Reviews

No reviews yet.

Write a review
Your rating

Shipping & returns

Shipping

  • Parcel with track & trace€ 7,70Within 24 hours
  • Pick up at PostNL location€ 7,40Within 24 hours
  • Letterbox parcel€ 3,70Within 2 business days
  • Letterbox parcel 24 hours€ 4,55Within 24 hours
  • Pick up in storeFree
All about shipping

Returns

Not satisfied? You have 30 days after delivery to return the product.

All about returns

Recently viewed