Both wires move
The TK100's output is bridge-tied: AUDIO + and AUDIO - both switch between ground and the supply, in opposite directions, and the speaker is moved by the difference. Neither wire is ground. So nothing goes on them but a speaker: not GND, not headphones, not another amplifier's input.
Neither wire is ground
In most circuits one wire of a pair is ground and the other carries the signal. Not here. The NS4168's output is bridge-tied (BTL): AUDIO + and AUDIO - both switch, and the speaker hangs between them.
Each wire switches between ground and the supply at about 430 kHz, far above hearing, and the width of the pulses follows the sound. The two move in opposite senses, and the speaker feels only the difference between them. Its own coil is an inductor, which smooths the fast switching into the slow movement of the cone. That is why the chip is called a filterless Class-D amplifier.
The board adds a ferrite bead and a 2.2 nF capacitor on each wire to keep the switching from radiating. They are there for interference, not for the sound.
What never goes on them
- GND. Either wire to ground is a short every time that wire goes high. The chip protects itself and shuts the output off, so you get silence until the wire comes away. That includes a speaker lead that brushes the ESP32's GND.
- Headphones. This is a speaker-level switching output with no ground wire. Headphones belong on the TK103.
- Another amplifier's input. The input expects a small, smooth signal against ground. This is neither. Feed an amplifier from the TK103 instead.
The one thing that goes on AUDIO + and AUDIO - is a bare speaker, 4 or 8 Ω, on its own two wires.
When it does not work
AUDIO - is not ground: joining it to GND shorts the output every time it switches high. The chip's overcurrent protection turns the output off. Take the wire away and it recovers by itself.
Not usefully. The output is a fast square wave on both wires, and the datasheet says even measuring it needs a low-pass filter first. To check the board, listen with the speaker.
Use the TK103 DAC from the same kit. It has a 3.5 mm jack and a line-level output made for headphones and powered speakers, driven over I2S the same way.
Not from this board. An amplifier's input expects a small signal against ground, and this output is a switching, speaker-level signal with no ground. The TK103 has the line output for that.
About 1 W on 3.3 V, and what the chip does when a sound is too loud.
How loud, and what stops it →Edit this page — content/books/i2s-amplifier/both-wires-move.mdx
Questions about this product
See what other owners have asked, and read their solutions.
I2S Amplifier
Loading discussions…
Discuss this article
Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.