Skip to the content
2 layers97.5 × 97.5 mmAiwa internet, the printed circuit board in 3D

This project is about building an internet radio receiver which will change the audio output to analog, which will be transferred to an old FM radio (AIWA). From the radio, audio will come out to connected speakers.

Size
97.5 × 97.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
52
Nets
81
Pads
281
Tracks, vias
630, 123
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
23 Jul 2026
Updated
7 Oct 2026

Overview

Aiwa internet is an open-source printed circuit board by Amagami45, from the Amagami45/Internet-radio repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 97.5 × 97.5 mm with 52 parts on 81 nets, routed with 630 tracks and 123 vias.

It is built around the ESP32-WROOM-32, AMS1117-3.3 and PCM5102PW, with the BC847 among its other parts. Its parts include 19 capacitors, 17 resistors, 6 switches, 5 ICs and 3 connectors. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

Internet-radio

This project is about building an internet radio receiver which will change the audio output to analog, which will be transferred to an old FM radio (AIWA). From the radio, audio will come out to connected speakers.

Why?

I have an old Aiwa, which can do only FM and AM frequencies, and most radio stations start to turn to DAB+ signal. So that's the main reason why I chose building this internet radio receiver. Also, I can listen to foreign countries' radio stations.

Technical specifications

It's powered by a USB-C 16-pin connector (5V). Then it's reduced to 3.3V by AMS1117 regulator. Most parts use 3.3V logic.

Display

  • 2.8" SPI TFT display (ILI9341 controller, 240x320). Connected via cables to the PCB.

Buttons & Controls

I used Cherry MX switches and a rotary encoder:

  • Reset button
  • Sleep / ON button
  • Up button
  • Down button
  • Rotary encoder – Volume up / Volume down
  • Rotary encoder button – Sound off (Mute)

Audio output

It's done by PCM5102A DAC chip (I2S audio interface) and 2 RCA cinches (Stereo Left/Right), which connect directly to AIWA AUX input.

BOM (Bill of Materials)

  • ESP32-WROOM-32 (with Bluetooth and Wi-Fi)
  • PCM5102A DAC board/chip
  • 2.8" SPI TFT Display (ILI9341)
  • USB-C 16-pin connector (Type-C)
  • AMS1117 3.3V LDO regulator
  • Dual horizontal RCA cinch connector
  • Cherry MX mechanical switches
  • Rotary encoder
  • 0603 SMD capacitors and resistors

Schematics & PCB Design

I used KiCad for that (2-layer board design). Display will be connected by cables, that's why it is designed like it is.

Snímek obrazovky 2026-08-31 152727 Snímek obrazovky 2026-08-17 105338

3D PCB & Case Renders

  • 3D PCB export (.STEP) is generated from KiCad.
  • All other parts and enclosure case are modeled in Fusion 360.
Snímek obrazovky 2026-08-31 153812 Snímek obrazovky 2026-08-31 153729 Snímek obrazovky 2026-09-01 002420

3D Printing Settings

  • Material: PETG (recommended) or PLA
  • Layer Height: 0.2 mm
  • Infill: 15–20% (Gyroid or Grid)
  • Supports: Needed only for RCA and USB-C cutouts on the rear panel

Assembly Guide

1. PCB Assembly & Soldering

  1. SMD Components First: Solder the small SMD parts first (AMS1117 regulator, 0603 capacitors/resistors, USB-C connector, and PCM5102A DAC).
  2. ESP32 Module: Align and solder the ESP32-WROOM-32 module onto the board.
  3. Through-Hole Parts (THT): Solder the Cherry MX switches, rotary encoder, and dual RCA cinch connector.

2. Display Wiring

  • Connect the 2.8" ILI9341 TFT display to the PCB header using cables according to the KiCad schematic (VCC, GND, CS, RESET, DC, SDI/MOSI, SCK, LED).

3. Firmware Flashing

  1. Connect the board to your PC via USB-C.
  2. Flash YoRadio firmware using PlatformIO / Arduino IDE / Esptool.
  3. Configure your GPIO pin mappings for the display, I2S DAC, rotary encoder, and Cherry MX buttons in myoptions.h.
  4. Connect to the radio's Wi-Fi Access Point to set up your home Wi-Fi credentials and station playlist.

4. Enclosure Assembly

  1. 3D print the case parts designed in Fusion 360.
  2. Mount the 2.8" TFT display into the front panel slot.
  3. Secure the PCB inside the main case using small M2/M3 screws.
  4. Press keycaps onto the Cherry MX switches and attach the knob to the rotary encoder.
  5. Close the 3D-printed enclosure.

5. Hooking up to AIWA

  1. Connect an RCA stereo audio cable from the radio's cinch connectors to the AUX / Line In on your AIWA system.
  2. Plug in a standard 5V USB-C power source.
  3. Turn on AIWA, switch mode to AUX, select your favorite station, and enjoy!

Pinout & Connections

1. ILI9341 Display (U4)

ILI9341 DisplayESP32 (U1) / PowerNote
VCC+3.3VLogic / Display Power
GNDGNDGround
CSIO0 (DISP_CS)Display Chip Select
D/CIO16 (D/C)Data / Command
MOSIIO23SPI MOSI
MISOIO19SPI MISO
SCKIO18SPI Clock
LEDIO17 (LED)Backlight Control
RESETRESET (via D/C / RESET network)Display Reset

2. Micro SD Card Slot (J2)

Micro SD SlotPower Source / ESP32 (U1)Note
VDD (Pin 4)+3.3VSD Card Power
GND (Pin 3, 6)GNDGround
DAT3/CD (Pin 2)IO12 (SD_CS) / IO5Chip Select (10kΩ pull-up R6)
CMD (Pin 3)IO23SPI MOSI
CLK (Pin 5)IO18SPI SCK
DAT0 (Pin 7)IO19SPI MISO (10kΩ pull-up R16)
DAT1 (Pin 8)—10kΩ pull-up R17 to +3.3V
DAT2 (Pin 1)—10kΩ pull-up R15 to +3.3V

3. Audio DAC PCM5102 (U3)

PCM5102 PinESP32 (U1) / PowerFunction / Note
CPVDD, DVDD, AVDD+3.3VDAC Power (filtered by C3, C4, C5)
GND, AGND, DGNDGNDGround
LRCK (Pin 15)IO25I2S Word Select (LRCK)
DIN (Pin 14)IO27I2S Data Input
BCK (Pin 13)IO26I2S Bit Clock
SCK (Pin 12)GNDSystem Clock (connected to GND)
OUTL (Pin 6)C3 / R5 / J3A OutputLeft Channel Audio Output (Coaxial J3A)
OUTR (Pin 7)C1 / R4 / J3B OutputRight Channel Audio Output (Coaxial J3B)

4. Rotary Encoder with Button (SW1)

Encoder PinESP32 (U1) / PowerNote
A (Pin A)IO32Encoder Phase A
B (Pin B)IO33Encoder Phase B
C (Pin C)GNDEncoder Common Pin
S1 (Pin S1)IO18Encoder Switch / Button
S2 (Pin S2)GNDEncoder Switch Other Side

5. Control Buttons

ButtonESP32 PinConnection
SW2IO23 / IO5Pushbutton to GND (switches to GND)
SW3IO22Pushbutton to GND (switches to GND)
SW5IO15 (via 1kΩ R12)Pushbutton to GND (switches to GND)
SW6ENRESET button (switches EN to GND)
SW7IO3 (RXD) (via R8/R11)User / Boot Button

6. USB-C UART Converter (CP2102N - U5) & Power Supply

  • USB Connector (J1): Supplies VBUS (+5V) to the AMS1117-3.3 (U2) regulator, which generates the main +3.3V power supply for the entire circuit.
  • Converter CP2102N (U5):
    • TXD (Pin 21) $\rightarrow$ IO3 (RXD) on ESP32 (via 1kΩ resistor R11)
    • RXD (Pin 20) $\leftarrow$ IO1 (TXD) from ESP32 (via 1kΩ resistor R12)
    • DTR / RTS $\rightarrow$ Connected to Q1/Q2 (BC847) transistors for automatic programming mode switching (EN and IO0).

Software & Firmware

The radio firmware is built on the ESP32 platform (Arduino IDE / PlatformIO) and ensures smooth reception of internet streams via Wi-Fi, their decoding, and digital audio processing.

Key Features

  • Wi-Fi Connectivity: Automatic connection to the configured network at system startup.
  • Audio Streaming (I2S): Direct digital audio data transmission over the I2S interface to the PCM5102 DAC for high sound quality.
  • Station Management: Pre-configured playlist of domestic and foreign radio stations (MP3/AAC streams) with sequential switching.
  • Volume Control: Fine digital volume control directly inside the audio decoder.

Control Mapping

Control is handled via buttons and a rotary encoder connected to the ESP32 GPIO pins:

  • SW3 (BTN_UP): Switch to the next radio station.
  • SW2 (BTN_DOWN): Switch to the previous radio station.
  • SW5 (BTN_LEFT): Volume down.
  • SW7 (BTN_RIGHT): Volume up.
  • SW1 (Encoder): Menu navigation and additional features.

Included Libraries

  • WiFi.h – Network connection and wireless management.
  • ESP32-audioI2S – Audio decoding and I2S communication handling.

Credits & Acknowledgments

  • Firmware powered by ESP32-audioI2S and WiFi.h library.

License

This work is under GNU license. More info in LICENSE file.

Parts

52
QtyValueFootprintReferences
9100nfCapacitor_SMD:C_0603_1608MetricC3, C4, C5, C9, C11, C12, C13, C19, C20
610kΩResistor_SMD:R_0603_1608MetricR10, R13, R14, R15, R16, R17
5SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW2, SW3, SW5, SW6, SW7
410kResistor_SMD:R_0603_1608MetricR3, R6, R7, R8
210ufCapacitor_SMD:C_0603_1608MetricC8, C10
21kΩResistor_SMD:R_0603_1608MetricR11, R12
22.2nfCapacitor_SMD:C_0603_1608MetricC14, C15
22.2μfCapacitor_SMD:C_0603_1608MetricC1, C6
24.7µfCapacitor_SMD:C_0603_1608MetricC18, C21
2470ΩResistor_SMD:R_0603_1608MetricR4, R5
25.1kResistor_SMD:R_0603_1608MetricR1, R2
2BC847Package_TO_SOT_SMD:SOT-23Q1, Q2
11ufCapacitor_SMD:C_0603_1608MetricC2
11μfCapacitor_SMD:C_0603_1608MetricC7
14.7kΩResistor_SMD:R_0603_1608MetricR9
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1CP2102N-Axx-xQFN24Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU5
1CR2013-MI2120Display:CR2013-MI2120U4
1Conn_Coaxial_x2_IsolatedConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1Micro_SD_CardConnector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5J2
1PCM5102Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU3
1RotaryEncoder_SwitchRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

Similar boards

  • 2 layers281.1 × 236.5 mmMiniDrumkit2, the printed circuit board in 3D

    MiniDrumkit2

    Fihdi/MiniDrumkit

    Eurorack DrumKit module with a 3 channel wave-file player and analog Hi-Hat and Kick Drum sections

    239 parts15MIT
  • 2 layers72 × 80 mmJunior's Amp, the printed circuit board in 3D

    Junior's Amp

    Kaptain2026/AUDIO-AMPLIFIER-PCB-DESIGN

    I designed an audio amplifier pcb for my personal consumption. It has controls for Bass, Tremble and Volume. In addition you can connect to it through Bluetooth and play your music directly.

    96 parts
  • 2 layers70 × 100 mmIot badge-433, the printed circuit board in 3D

    Iot badge-433

    galopago/iot-badge-legacy

    Electronic conference badge for programming conventions, hacking events, etc.

    77 parts4
  • 2 layers162 × 60 mmAir detector, the printed circuit board in 3D

    Air detector

    shm-dmitry/air-detector

    Air status sensor with hass integration and fan control

    132 partsApache-2.0
  • 2 layers96.5 × 81.3 mmIncubator, the printed circuit board in 3D

    Incubator

    Socketto/Incubator_ESP32

    Wifi incubator with ESP32-wroom

    53 parts
  • 4 layers63.1 × 49.8 mmIthowifi 4l, the printed circuit board in 3D

    Ithowifi 4l

    arjenhiemstra/ithowifi_hardware

    46 parts2
  • 4 layers97.5 × 52 mmMain module, the printed circuit board in 3D

    Main module

    shm-dmitry/auto_close_window

    This IOT project allows you to open and close your window from any smart house. For example - you can setup rules like a "If night and noise greater then expected -> close window" and "Noise reduced -> open window"

    121 parts1Apache-2.0
  • 4 layers63.1 × 49.8 mmIthowifi 4l, the printed circuit board in 3D

    Ithowifi 4l

    kitspace-test-repos/kicad6-file-collection

    46 partsMIT

Questions

How big is the Aiwa internet PCB?

It measures 97.5 × 97.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Aiwa internet use?

52 parts, built around the ESP32-WROOM-32, AMS1117-3.3, PCM5102PW and BC847. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Aiwa internet KiCad files?

From the Amagami45/Internet-radio repository on GitHub, at the commit this page was made from: the board is AIWA cad/Aiwa internet.kicad_pcb and its schematic AIWA cad/Aiwa internet.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Aiwa internet design in my own project?

Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).