Skip to the content
2 layers57.8 × 61 mmRp3802, the printed circuit board in 3D

Tiny YM3802 emulator by Raspberry Pi Pico

Size
57.8 × 61 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
61
Pads
161
Tracks, vias
287, 140
Pours
159
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 May 2025
Updated
13 Jun 2026

Overview

Rp3802 is an open-source printed circuit board by hyano, from the hyano/rp3802 repository on GitHub, published under the MIT licence. It is a 2-layer board of 57.8 × 61 mm with 14 parts on 61 nets, routed with 287 tracks and 140 vias.

It is built around the RB160M-30TR. Its parts include 5 resistors, 5 diodes, 2 ICs and 2 connectors. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

RP3802: Tiny YM3802 emulator by Raspberry Pi Pico

RP3802 is a pin-level emulator of the YAMAHA MIDI control chip YM3802 using a Raspberry Pi Pico.

Notes

  • Please use at your own risk.
  • The input/output voltage of the Raspberry Pi Pico's GPIO is 3.3V, while the input/output voltage of the YM3802 is 5V. However, no level shifter is used for cost reduction.
  • The Raspberry Pi Pico is overclocked to 250MHz for operation.
  • Serial I/F settings are fixed at 31,250bps, 8bits, no parity.
  • Supports only major functions for X68000 games and utilities.

Pin assignment

PicoDirectionDescriptionComment
GPIO 0OutputYM3802 TxDUART TX
GPIO 1InputYM3802 RxDUART RX
GPIO 2-4InputYM3802 A0-A2
GPIO 5-12InputYM3802 D0-D7
GPIO 13Input/CS | /RD<-- GPIO 20
GPIO 14Input/CS | /WR<-- GPIO 21
GPIO 15InputYM3802 /IC
GPIO 16OututYM3802 /IRQ
GPIO 17InputYM3802 /RD
GPIO 18InputYM3802 /CS
GPIO 19InputYM3802 /WR
GPIO 20Output/CS | /RD--> GPIO 13
GPIO 21Output/CS | /RD--> GPIO 14
GPIO 22OutputLED (HEARTBEAT)
GPIO 26OutputLED (TX)
GPIO 27OutputLED (RX)
GPIO 28OutputLED (IRQ)

Implementation status

internal block functionsStatusNote
TransmitterImplemented
FIFO-TxImplemented
ReceiverImplemented
FIFO-RxImplemented
Break detectorImplementeddetect (UART break) + send
FIFO-ITxImplemented
Idle detectorImplementedactive sense (FE) auto-send
Off-line detectorImplemented
MIDI clock filterImplemented
Address hunterImplementedmaker/device ID filter
SYNC detectorNot implementedtape SYNC; no pin
MIDI clock timerImplemented
SYNC controllerNot implementedneeds SYNC output pin
CLICK counterImplementedIRQ only; no CLICK output pin
MIDI clock interpolatorImplementedsoftware-timed (approximate)
Recording counterImplemented
Playback counterImplemented
MIDI message detectorImplemented
FIFO-IRxImplemented
MIDI message distributorImplemented
General-purpose timerImplemented
I/O controllerNot implementedP0-P7 pins repurposed
IRQ controllerImplemented

Parts List

部品型番数量place
基板(自作)1-
丸ピンIC用連結ソケットMH-1X20-L22U1
Raspberry Pi Pico 2SC16311U2
ショットキーバリアダイオードRB160M-30TR1D1
青色チップLEDOSBL1608C1A4D2~5
チップ抵抗10kΩ1R1
チップ抵抗1kΩ4R2~5
ピンヘッダー1 x 3P L型1J1
ピンヘッダー1 x 8P L型1J2

License

RP3802 is licensed under the MIT License. See LICENSE.

Parts

14
QtyValueFootprintReferences
41kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3, R4, R5
110kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ1
1Conn_01x07_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ2
1GP22LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD2
1GP26LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD3
1GP27LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD4
1GP28LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD5
1PicoRPi_Pico:RPi_Pico_SMD_THU2
1RB160M-30TRDiode_SMD:D_SOD-123D1
1YM3802RPi_Pico:DIP-40_W15.24mm_NO_ICU1

Similar boards

  • 2 layers84 × 69 mmPippitank engine, the printed circuit board in 3D

    Pippitank engine

    garypippi/pippitank

    R1 = 67kΩ (47kΩ + 20kΩ) R2 = 10kΩ (8.4V時 1.091V、6.0V時 0.779V)

    82 partsMIT
  • 2 layers86.6 × 56 mmCard env sensor, the printed circuit board in 3D

    Card env sensor

    Liesegang/env_sensor

    Outdoorの開発・検証はファームウェア、 Web受信アプリ、BLE仕様を参照。 Card firmwareはv2基板で毎分測定・BLE送信、 10分ごとのSD一括記録、1時間ごとの電子ペーパー更新を行う。 iPhoneアプリは共通BLEで受信し、バックグラウンド収集・端末内の履歴保存・JSON / CSV書き出しを行う。 資料の一覧はデータシートにある。

    78 parts
  • 2 layers91 × 55 mmPcb Name Card R4, the printed circuit board in 3D

    Pcb Name Card R4

    tokai-student-rocket-project/Pcb-Name-Card-R4

    Renesas RA4M1 (Arduino UNO R4) を搭載した名刺サイズの自作マイコン基板。USB Type-C・CAN通信 (TJA1051T/3)・NeoPixel・各種I/Oヘッダーを備えた実用的なPCB名刺のKiCad設計データです。

    49 parts
  • 2 layers28 × 51 mmYuiop2040 r1, the printed circuit board in 3D

    Yuiop2040 r1

    koron/yuiop

    YUIOP: Etude of designing keyboards

    36 parts15MIT
  • 2 layers80 × 60 mmSatelliteNode, the printed circuit board in 3D

    SatelliteNode

    tokai-student-rocket-project/Gen6-GSE-Elec

    第6世代自動GSE電装系

    34 parts2MIT
  • 2 layers116.5 × 116.5 mmKoron yuiop yuiop29re, the printed circuit board in 3D

    Koron yuiop yuiop29re

    punkfab/pcb-corpus

    235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark

    123 parts1
  • 2 layers99 × 75 mmTHRValveControlModule, the printed circuit board in 3D

    THRValveControlModule

    tokai-student-rocket-project/H-62-Avionics

    H-62搭載計器 すばる1.3 | 2025年度 夏季 能代 NOGO

    54 parts

Questions

How big is the Rp3802 PCB?

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

What parts does the Rp3802 use?

14 parts, built around the RB160M-30TR. 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 Rp3802 KiCad files?

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

Can I use the Rp3802 design in my own project?

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