Skip to the content
4 layers118 × 92 mmPico chiptune player, the printed circuit board in 3D

The Pico Chiptune Player is an open-hardware music player powered by the Raspberry Pi Pico 2 (RP2350) microcontroller driving two authentic Yamaha YM2149F Programmable Sound Generators (PSGs), register-compatible with…

Size
118 × 92 mm
Copper layers
4
Thickness
1.6 mm
Parts
52
Nets
90
Pads
283
Tracks, vias
375, 43
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
10 Aug 2026
Updated
20 Oct 2026

Overview

Pico chiptune player is an open-source printed circuit board by terenceang, from the terenceang/pico-chiptune-player repository on GitHub. It is a 4-layer board of 118 × 92 mm with 52 parts on 90 nets, routed with 375 tracks and 43 vias.

It is built around the PAM8403. Its parts include 16 capacitors, 12 resistors, 4 ICs, 3 connectors and 3 switches. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

Pico Chiptune Player

Version: 0.6 (Dual-PSG Stereo Variant — 2× YM2149F, 6 voices)
Author: Terence Ang terenceang@mac.com
Company: MotionFxDesign
License: CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International) — NOT FOR COMMERCIAL USE


Overview

The Pico Chiptune Player is an open-hardware music player powered by the Raspberry Pi Pico 2 (RP2350) microcontroller driving two authentic Yamaha YM2149F Programmable Sound Generators (PSGs), register-compatible with the General Instrument AY-3-8910. Each PSG provides 3 voices, giving 6 independent voices total, split into stereo (one PSG per channel).

It enables standalone playback of classic AY-3-8910 / YM2149 chiptune music formats (e.g., .ym, .vgm, .psg, .pt3) loaded directly from an onboard microSD card, with song and playback metadata displayed on an I2C OLED display.


Hardware Highlights

  • Microcontroller: Raspberry Pi Pico 2 (RP2350)
  • Sound Generators: 2× Yamaha YM2149F (40-pin DIP, socketed), 6 voices total; a matched pair of AY-3-8910s also fits (see the PSG fit note below)
  • Storage: 4-bit SDIO microSD card socket (J2), driven by the Pico SDK / pico-extras PIO-based pico_sd_card driver; card presence detected in software (R1 10kΩ pull-up on DAT3)
  • Audio Output (stereo):
    • Two independent 3-channel passive summing mixers (R4,R5,R7,R8 for the left/U1 PSG; R9,R10,R11,R12 for the right/U4 PSG), each with a low-pass filter cap (C4, C9 = 100nF) and AC coupling cap (C3, C10 = 1µF X7R MLCC)
    • One on-board PAM8403 3W+3W filterless Class-D stereo amplifier (U3, SOIC-16) with hardware mute/shutdown on SD_Amp (GPIO9). A 10kΩ R13 pull-down keeps it muted at boot; drive GPIO9 HIGH to play
    • JST-PH 2-pin speaker connectors J3 (left) / J4 (right) with bridge-tied outputs for 4–8Ω speakers
  • Display: 0.96" SSD1306 128x64 I2C OLED Display (U2)
  • Storage: MicroSD Card Slot via SPI mode with Card Detect (J2)
  • Controls: 3 tactile pushbuttons (SW1 Play/Pause, SW2 Next Track, SW3 Previous Track)
  • Clock Divider Select: Solder jumper JP1 for the YM2149F ÷2 internal clock divider (/SEL, pin 26), shared by both PSGs

Pinout Summary (Raspberry Pi Pico 2)

GPIOPico PinNet / SignalConnected Subsystem
GPIO0..GPIO7Pins 1, 2, 4..7, 9, 10DA0..DA7YM2149F 8-Bit Data Bus, shared by U1/U4 (Pins 37..30)
GPIO8Pin 11BC1PSG1 (U1) Bus Control 1 (Pin 29)
GPIO9Pin 12SD_AmpPAM8403 Audio Amp Enable / Mute (U3 Pins 5 ~MUTE & 12 ~SHDN, R13 pull-down)
GPIO10Pin 14BDIRPSG1 (U1) Bus Direction Control (Pin 27)
GPIO11Pin 15~RESETYM2149F Active-Low Reset, shared by U1/U4 (Pin 23) + 10kΩ R3 Pull-down
GPIO12Pin 16CLOCKYM2149F Master Clock Input, shared by U1/U4 (Pin 22 via 33Ω series R2)
GPIO13Pin 17SW_NEXTNext Track Button (SW2)
GPIO14Pin 19SW_PLAYPlay / Pause Button (SW1)
GPIO15Pin 20SW_PREVPrevious Track Button (SW3)
GPIO16Pin 21OLED_SDA0.96" OLED I2C SDA (U2 Pin 4)
GPIO17Pin 22OLED_SCL0.96" OLED I2C SCL (U2 Pin 3)
GPIO18Pin 24SD_DAT0MicroSD SDIO Data 0 (J2 Pin 7)
GPIO19Pin 25SD_DAT1MicroSD SDIO Data 1 (J2 Pin 8)
GPIO20Pin 26SD_DAT2MicroSD SDIO Data 2 (J2 Pin 1)
GPIO21Pin 27SD_DAT3MicroSD SDIO Data 3 (J2 Pin 2 + 10kΩ R1 Pull-up)
GPIO22Pin 29SD_CLKMicroSD SDIO Clock (J2 Pin 5)
GPIO26Pin 31BDIR2PSG2 (U4) Bus Direction Control (Pin 27)
GPIO27Pin 32BC1_2PSG2 (U4) Bus Control 1 (Pin 29)
GPIO28Pin 34SD_CMDMicroSD SDIO Command (J2 Pin 3)

Dual-PSG addressing (Rev 0.6): The YM2149F's A8/A9 lines are fixed the same on both chips, so they cannot be told apart by address; the 8-bit data bus (DA0..DA7), CLOCK, ~RESET and BC2 are shared between U1 and U4, while BDIR/BC1 are driven separately per PSG (GPIO10/GPIO8 for U1, GPIO26/GPIO27 for U4). Driving one PSG's BDIR/BC1 to the inactive state (both low) puts its bus in High-Z, so the Pico can address either PSG by selecting the appropriate control pair.

PSG fit (Rev 0.6): Both sockets (U1, U4) are specified as Yamaha YM2149F. JP1 drives the /SEL pin of both chips, so with two YM2149F fitted it halves (bridged) or keeps (open) the clock on both channels together. A pair of AY-3-8910s is a drop-in alternative only with JP1 left open; on an AY-3-8910, pin 26 is a test pin and the clock is never divided. Do not mix AY-3-8910 and YM2149F with JP1 bridged: the two channels would play an octave apart.

Rev 0.5 native-function correction: Rev 0.5 re-assigns the OLED I²C and microSD SPI to the RP2350's native I2C0/SPI0 pins (OLED_SDA→GPIO16, OLED_SCL→GPIO17; SD_SCK→GPIO18, SD_MISO→GPIO20, SD_CS→GPIO21; SD_MOSI stays GPIO19) so the on-chip peripherals drive them directly. No additional pins are used. The manufactured Rev 0.4 board swapped/mis-mapped these signals and requires PIO or bit-banged I²C/SPI in firmware. Details in HARDWARE.md §3.6.

Rev 0.6 microSD SDIO: The microSD interface is 4-bit SDIO (not SPI), driven by RP2350 PIO via the Pico SDK / pico-extras pico_sd_card driver (SD_DAT0..DAT3 = GPIO18..GPIO21, SD_CLK = GPIO22, SD_CMD = GPIO28). The dedicated card-detect switch is unused; card presence is detected in software. Because RP2350 has no hardware SDIO controller, firmware must use the PIO pico_sd_card driver and enable the internal pull-ups on CMD/DAT0–DAT3 (only DAT3 carries an external 10kΩ pull-up).

For the complete hardware design details, circuit topology, and full Bill of Materials with LCSC part numbers, refer to HARDWARE.md.


License & Commercial Use Notice

Copyright (c) 2026 Terence Ang terenceang@mac.com / MotionFxDesign.

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

NOT FOR COMMERCIAL USE
This design, including schematics, PCB layouts, Gerber files, firmware, and documentation, is free for personal, hobby, educational, and non-commercial use.
Commercial manufacture, distribution, sale, or bundling for profit is strictly prohibited without prior written authorization from Terence Ang (terenceang@mac.com).

See the LICENSE file for the complete license terms.

Parts

52
QtyValueFootprintReferences
8LOGOLOGOG***, G***, G***, G***, G***, G***, G***, G***
71kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R5, R7, R9, R10, R11, R12
6100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C4, C5, C7, C9, C12
61uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3, C8, C10, C13, C14, C16
410uFCapacitor_SMD:CP_Elec_4x5.4C1, C6, C11, C15
4MountingHole_3mmMountingHole_3mmH1, H2, H3, H4
310KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R3, R13
2YM2149FPackage_DIP:DIP-40_W15.24mmU1, U4
10.96"OLED_I2CTModules:OLED 0.96 I2CU2
11KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
133Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1Clk DivJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1
1MicroSDTerence:MicroSDJ2
1NextButton_Switch_THT:SW_PUSH_6mmSW2
1PAM8403Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU3
1Play / PauseButton_Switch_THT:SW_PUSH_6mmSW1
1PreviousButton_Switch_THT:SW_PUSH_6mmSW3
1RaspberryPi_Pico 2TMCu Module:RPi_Pico_SMD_THA1
1Speaker_LConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ3
1Speaker_RConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ4

Similar boards

  • 2 layers57 × 97 mmMainCollar, the printed circuit board in 3D

    MainCollar

    plyalex/OpenFence

    OpenFence is an open source GPS based digital livestock fencing system and web interface, aiming to reduce barriers of using cell grazing.

    78 parts28GPL-3.0
  • 2 layers92.5 × 82.8 mmRifle and sensors, the printed circuit board in 3D

    Rifle and sensors

    DAlexis/caustic-lasertag-system

    Caustic project is a full-featured indoor and outdoor lasertag system

    268 parts16
  • 2 layers95.5 × 104.6 mmFmRadio, the printed circuit board in 3D

    FmRadio

    TeknoTrek/Arduino-Nano-FM-Radio-Si4703

    Part of the Teknotrek YouTube channel, this repository includes KiCad files for an FM Radio project using Arduino Nano, Si4703, and other components.

    16 parts7
  • 2 layers68.3 × 31.5 mmModuleo pam8403, the printed circuit board in 3D

    Moduleo pam8403

    johnnycubides/pam8403-module-kicad-lib

    Library kicad for pam8403 module

    5 parts3
  • 2 layers137.5 × 51 mmLark, the printed circuit board in 3D

    Lark

    tmshlvck/lark-hw

    Lark PCB

    112 parts3GPL-3.0
  • 2 layers85 × 52 mmIntercom, the printed circuit board in 3D

    Intercom

    aluisioalves123/rf-intercom

    Interfone de apertar para falar, sem fio: as duas unidades conversam por rádio (nRF24L01+ com antena) e só precisam de uma tomada.

    32 parts2
  • 2 layers96.5 × 105.4 mmMini Record Player Clock, the printed circuit board in 3D

    Mini Record Player Clock

    anadskman/Mini-Record-Player-Clock

    A compact desktop Bluetooth speaker and clock inspired by a vintage record player. The aim of this project is to combine a functional Bluetooth speaker and Wi-Fi clock into a clean, fully 3D printed desktop display.

    38 parts1
  • 2 layers85.6 × 54 mmCardtaiko, the printed circuit board in 3D

    Cardtaiko

    Milk-Cool/cardtaiko

    osu!taiko simulator in a card form-factor!

    24 parts1MIT

Questions

How big is the Pico chiptune player PCB?

It measures 118 × 92 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Pico chiptune player use?

52 parts, built around the PAM8403. 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 Pico chiptune player KiCad files?

From the terenceang/pico-chiptune-player repository on GitHub, at the commit this page was made from: the board is pico chiptune player.kicad_pcb and its schematic pico chiptune player.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pico chiptune player design in my own project?

Its repository states no licence, so its author keeps all rights: ask terenceang before reusing the design.