USB-C speaker
With the USB-C port facing you, plug the speaker straight down into J2, the white connector near the upper-left edge. Then connect the board to a computer with a USB-C data cable, and select USB AUDIO DAC in the computer’s sound output settings. Music, voice and notification sounds play through the speaker. The board mixes left and right into mono.
The CAD downloads contain the populated PCB. The assembly view above shows one way to route the speaker lead.
Playback test
Start at low system volume. Play the short chime below to check that the sound comes from the attached speaker. The player uses your computer’s selected output.
Speaker connection
J2 accepts the Same Sky CMS-23558N-L152B, the 8 Ω, 1 W speaker used for the tscircuitboy advance. The 23 mm diameter speaker is 5.5 mm thick. Its 152 mm lead ends in a JST SH SHR-02V-S-B cable housing. It mates with the BM02B-SRSS-TB top-entry board header (two pins, 1.0 mm pitch). Align the keyed housings and press the plug straight down. Allow room above J2 to remove the plug and leave an opening in the enclosure over the speaker.
| J2 pin | Speaker wire | Signal |
|---|---|---|
| 1 | Red | Speaker + |
| 2 | Black | Speaker − |
Both wires are driven by the amplifier. Keep both isolated from enclosure ground. The speaker’s 1 W rating describes its power handling. This board limits gain for a low-power USB port.
JST connector drawing (PDF) · Speaker dimensions and cable drawing (PDF)
Protocol
The computer’s USB Audio Class 1 driver handles playback and identification. Use the normal audio output API in an app. The RP2350 USB Motherboard would need a USB Audio host driver to stream to this board.
| Operation | Host interface | Device behavior |
|---|---|---|
| Identify | Enumerate USB devices | Reports USB AUDIO DAC, VID 08BB, PID 27C4. |
| Play audio | Select the playback output and stream PCM | Accepts 16-bit stereo at 32, 44.1 or 48 kHz. Both channels feed the speaker. |
| Set volume | System or application volume control | Adjusts playback level. |
| Mute | System mute control | Silences the speaker. |
| Suspend | USB bus suspend | Disables the amplifier. |
USB audio interface datasheet · Amplifier datasheet
Mounting
The PCB is 26 × 30 × 1.6 mm. All components mount on top of the two-layer board. J2 reaches 4.3 mm above the PCB before the speaker is plugged in. Four Ø2.2 mm holes accept M2 screws on a 20 × 20 mm grid. With J1 at the bottom and the components facing you, the hole centres are at X = 3 and 23 mm, Y = 2.5 and 22.5 mm, measured from the lower-left corner.
Full-size drawing · Drawing TSX · PCB source · Prototype fabrication files