Xiaophone is Abhinav Krishna's 3D-printed internet radio built on the Seeed Studio XIAO ESP32S3 Plus. A round screen animates the album cover. The build hinges on separate display and amplifier voltages, and cover lookup depends on the station supplying track metadata.

Xiaophone internet-radio audio and album-cover display paths

What are the three jobs Xiaophone has to do?

Xiaophone plays audio, looks up the current track's cover, and draws that cover on the display. In internet-radio mode, the station can send the artist and track name along with the stream. The firmware queries MusicBrainz for a release and Cover Art Archive for its image. The audio goes to an amplifier and speaker, while the round display draws the record effect.

This separation makes the first test easier to interpret. If a known station plays normally but the screen shows the fallback label, check whether the station is supplying usable track names and whether the cover lookup found a match before changing the wiring.

1. What do you need to wire the Xiaophone bench prototype?

Xiaophone needs the XIAO ESP32S3 Plus, a round GC9A01 display, a MAX98357A I2S amplifier and a speaker for the prototype described here. Keep the screen and amplifier on the bench and use the author's schematic and firmware pin definitions for the same board and revision. Check the module labels before applying power.

Part Role First useful check
XIAO ESP32S3 Plus Runs the project firmware and connects to Wi-Fi It boots and joins the configured network.
GC9A01 round display Draws the cover and animation The display lights up and draws the startup graphics.
MAX98357A and speaker Turn digital audio into sound A known station plays at a modest volume.
3D-printed enclosure Positions the display, speaker and USB-C port The display fits and the USB cable can plug in before assembly.

On the author's build, the GC9A01 display's VCC and BLK connect to 3.3 V. The MAX98357A VIN connects to 5 V. Both share ground. Inspect the wire order with power disconnected, and check the pin labels and voltage requirements if your display breakout differs. Attach the XIAO's Wi-Fi antenna before powering the build.

Module Connections from the author’s build
GC9A01 control and data SCK to D8 (GPIO7), MOSI to D10 (GPIO9), CS to D1 (GPIO2), DC to D2 (GPIO3), and RESET to D0 (GPIO1)
MAX98357A audio input BCLK to D4 (GPIO5), LRC to D3 (GPIO4), and DIN to D5 (GPIO6)
Speaker Connect its two leads to the amplifier output terminals.

Board labels matter. D8 and GPIO7 identify the same pin on the XIAO ESP32S3 Plus used in this project. Read the board labels alongside the GPIO numbers, especially if you are following a photo or adapting another layout.

Xiaophone power connections for the display and amplifier

2. How do you bring up Xiaophone firmware without chasing every feature at once?

Xiaophone is easiest to bring up in internet-radio mode. Open the repository's firmware directory in PlatformIO, follow its current setup instructions, and create the local configuration from the example file. Use a station that supplies artist and track metadata. Keep the configuration private because it contains Wi-Fi credentials.

Build the firmware, upload the filesystem image when directed by the project instructions, and flash the XIAO. Start with one known station. Check Wi-Fi, sound and display in that order. Then let the station change tracks and check whether the title and cover update. Keeping the first test narrow makes it clear which subsystem needs attention.

  1. Clone the repository with its submodule using git clone --recursive https://github.com/Abhinavkrishna3211/Xiaophone.
  2. From the firmware project, run pio run. If the build stops at protobuf setup, use the dependency instructions for the Python environment described in the repository.
  3. Copy src/secrets.example.h to src/secrets.h. Save the Wi-Fi and station settings locally.
  4. Run pio run -t uploadfs for the project audio assets, then pio run -t upload -t monitor to flash and watch the startup log.

If the program starts but audio is missing, check the amplifier and speaker path. If playback works but the screen is blank, recheck the display's supply and signal connections. If only the cover is missing, try another track or a station known to provide track metadata. The cover catalog can miss a match even when the stream is working.

3. How do you check that the printed enclosure fits?

Xiaophone needs the display, speaker and USB-C connector to line up with the shell before you close it. Print test_display_pocket.stl first and check the actual display module against it. That lets you correct a fit problem without reprinting the entire shell.

Dry-fit the display, speaker and board. Check the cable path and confirm the connector can be reached from outside. Run the same radio test once more before closing the base. Comparing the bench and dry-fit results can reveal a loose connection introduced during assembly.

If you are choosing hardware for a different audio project, our LocalDot hardware analysis shows another way to arrange ESP32 compute and audio around a speaker enclosure.

Build FAQ

*Can I power the documented GC9A01 module from 5 V?*

Use 3.3 V for VCC and BLK in this build.

*Why does the radio play while the cover stays on the fallback?*

Check station metadata first, then whether the cover service found a match.

*When should I print the full shell?*

After the bench test passes and the display fits the pocket test print.

Project sources

Originally published on EmbedSBC — embedded systems, SBC and edge-AI hardware analysis.