FLASH SALE!   🛍️   Get a stonking 40% off Inventor 2040 W – an all-in-one board for making contraptions that can move, sense things, make noise, and talk to the internet!!

SparkFun Qwiic Speaker Amp

by Sparkfun

The SparkFun Qwiic Speaker Amp includes the Texas Instruments TPA2016D2 stereo, filter-free class-D audio power amplifier.

What distinguishes this audio amplifier from others is that it features volume control (i.e. gain), Dynamic Range Compression (DRC), Automatic Gain Control (AGC), enable/disable amplifier, and its ability to be configured through software via I2C. Its efficient class-D operation also means low heat and long battery life when driving 4Ω speakers at up to 2.8W in stereo, and 8Ω speakers at up to 1.7W in stereo. It won't shake a stadium but it will provide plenty of volume for your audio projects.

The DRC and AGC is unique compared to other audio amplifiers. This is a powerful feature that allows you to "even out" the loud and quiet sections from your audio input. It also allows you to maximize the volume of your speakers. By fine-tuning the settings, you can get the most volume to prevent distortion of the audio signal. Using the DRC, AGC, and/or the limiter alone allows you to protect your speakers from getting damaged by extremely loud playback. SparkFun have written an extensive Arduino Library that allows you to easily control all of the amplifier's features from simple gain control to advanced AGC. Note that you will need to send the configuration to the TPA2016D2 upon every power cycle.

The board has been designed to be user friendly! Screw terminals are provided for the audio input, power, shutdown, and speaker output. A 3.5mm TRS connector is included as an alternative to easily insert an audio cable. Utilizing the handy Qwiic system, no soldering is required to connect it to the rest of your system when configuring the amplifier's settings. A power LED (PWR) is included on the board to indicate when power is applied to the amplifier through VIN. It can be disabled by cutting the LED jumper on the bottom side. For users that do not want to power the board with a separate power supply, you can close the JP1 jumper and use the same power supply as the microcontroller via the Qwiic connector's 3.3V pin.

This board is great for projects that require you to amplify an audio signal for small, differential speakers. This breakout is also great when pairing it with your smartphone, computer, portable digital player, or any audio boards (such as the MP3 Trigger, Tsunami Super WAV Trigger, MP3 Player Shield, or Music Instrument Shield to name a few)! Add the Qwiic Speaker Amp in your next portable projects such as sound effects for your spooky Halloween pumpkin, wearable costumes, props, talking greeting cards, or USB speakers.

The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.

Get started with the SparkFun Qwiic Speaker Amp Guide

Features

  • Texas Instruments TPA2016D2 Stereo Class-D Audio Amplifier
    • Filter-free Class-D Architecture
    • Flexible Operation with/without I2C
    • Programmable Dynamic Range Compression (DRC) Parameters
    • Programmable Automatic Gain Control (AGC) Parameters
    • Programmable Volume Control
    • Selectable Gain from –28dB to 30dB in 1-dB Steps (When Compression is Used)
    • Selectable Attack, Release, and Hold Times
    • 4 Selectable Compression Ratios
    • High PSRR: 80dB
    • Fast Start-Up Time: 5ms
    • AGC Enable or Disable Function
    • Limiter Enable or Disable Function
    • Short-Circuit and Thermal Protection
    • I2C Address: 0x58 (unshifted)
  • Voltage Input
    • 2.5V to 5.5V via 2-pin Screw Terminal
    • 3.3V via Qwiic Connector, when JP1 closed
  • Low Supply Current
    • 3.5mA @ 2.5V
    • 3.7mA @ 3.6V
    • 4.5mA @ 5.5V
  • Low Shutdown Current
    • 0.1µA @ 2.5V
    • 0.2mA @ 3.6V
    • 0.3mA @ 5.5V
  • Stereo Output
    • 1.7W per Channel into 8Ω at 5V
    • 750mW per Channel into 8Ω at 3.6V
    • 2.8W per Channel into 4Ω at 5V
    • 1.5W per Channel into 4Ω at 3.6V
  • 1x 3.5mm TRS Jack for Audio Input
  • Screw Terminals
    • 1x2 for Power Input (PWR, GND)
    • 1x4 for Audio Input (GND, R, L) and SHDN
    • 1x4 for Speaker Output (R+, R-, L+, L-)
  • 1x 4-pin Qwiic Connector
  • Built-in I2C Pull-Up Resistors (2.2kΩ)
  • LED
    • PWR
  • Jumpers
    • LED
    • I2C
    • JP1
  • Board Dimensions: 1.70" x 1.00"

Documents