Skip to the content
2 layers46.1 × 30 mmC64 USB C PD Power Adapter, the printed circuit board in 3D

C64 USB C PD Power Adapter

mamejay/C64-USB-C-PD-Power-Adapter

USB-C PD power adapter for the Commodore 64 (KiCad, JLCPCB-ready)

Size
46.1 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
45
Pads
160
Tracks, vias
336, 22
Pours
7
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
27 Oct 2026
Updated
3 Nov 2026

Overview

C64 USB C PD Power Adapter is an open-source printed circuit board by mamejay, from the mamejay/C64-USB-C-PD-Power-Adapter repository on GitHub. It is a 2-layer board of 46.1 × 30 mm with 51 parts on 45 nets, routed with 336 tracks and 22 vias.

It is built around the CH224A, M2.5 and AO3401A, with the SMF13A and SMF5.0A among its other parts. Its parts include 22 resistors, 14 capacitors, 5 ICs, 3 diodes and 2 connectors. It belongs with the power and retro computing and games boards of this library.

Main components

5

README

README.md

C64 USB-C PD Power Adapter

A compact replacement power supply for the Commodore 64. It plugs straight into the C64's 7-pin DIN power socket and runs from any USB-C Power Delivery charger that offers 15 V.

bottom

Status: v0.3 built and tested — working on a real C64. Measured with the C64 running: 5.07 V on pins 4/5, 12.3 V on pin 6 (12.3 V with no load as well).

v0.3 (cost-down):

  • All passives are 0603 JLC Basic parts.
  • The TVS diodes are JLC Preferred parts.
  • Both bucks share one inductor (FXL0530).
  • The PTC fuses became 0R links. The 1206 footprints still take a PTC if you want one.
  • 5 V feedback is now 75k/10k (5.07 V).
  • Extended parts went from 15 to 4: CH224A, TPS54302, USB-C, inductor.

What it does

OutputDIN pinSource
+5.07 V, up to 3 A4, 5TPS54302 buck (U2)
+12.3 V DC, ~1 A6 (the C64's "9 VAC" input)TPS54302 buck (U3)
GND1, 2, 3, 7
  • PD sink: a WCH CH224A requests 15 V from the charger (R1 = 56k).
  • Output switch: a P-MOSFET (Q1) connects the 15 V rail only once the PD contract is made (PG low). Its Miller cap gives a soft ~10 ms ramp.
  • Lockout: both bucks have an EN-pin UVLO that starts at ~13.2 V. A plain 5 V charger, or one that falls back to 9/12 V, never powers the C64.
  • Protection: each output has a TVS diode. F1/F2 are 0R links by default; fit 1206 PTCs there if wanted. For proper over-voltage protection see v0.4.

Why 12 V DC on pin 6

The C64 runs its "9 VAC" input through its own bridge rectifier and a 7812 (breadbin) or 7809 (C64C).

  • Stock supply: 9 VAC peaks at about 12.7 V.
  • 12 V DC matches that peak, so neither the C64 nor any user-port device (pins 10/11) sees more than an original PSU gives.
  • 9 V DC would starve a breadbin's 6581 SID (12 V supply) and drop out a C64C's 7809.
  • To get 9 V anyway: change R12 to 7.15k (8.9 V).

Limitations: the supply is DC only, so the CIA time-of-day clock won't tick, and user-port devices that need real AC won't work. Same as other DC C64 supplies.

Hardware

  • Board: 46.1 x 30 mm, 2-layer, GND pours both sides.
  • J2: a 7-pin DIN (DIN 45329) male plug insert, soldered through the board from the top side.
    • Pins sit on a 7.0 mm circle at 45° spacing, notch at the top.
    • Holes are 1.6 mm with 2.4 mm pads.
    • It is the only hand-soldered part.
  • Assembly: every SMD part is on the bottom, for single-side JLCPCB assembly.
  • Case: 2x M2.5 mounting holes are provided for a future case.
  • USB-C: HRO TYPE-C-31-M-12. Only VBUS/GND/CC are connected; D+/D- are left open, because PD needs only CC.

Repository

  • Hardware/KiCad/: KiCad 10 project (schematic, routed PCB, project libraries).
  • Hardware/scripts/: the generators and routing pipeline:
    • gen_sch.py: schematic.
    • build_v03.py: board build from the saved placement (place_v02.json + overrides_v03.json).
    • add_holes.py: mounting holes.
    • set_netclasses.py, then autoroute_v02.sh (Freerouting 2.5.0), then gnd_pours.py, then texts_upright.py.
    • make_din_fp.py: DIN-7 footprint.
    • make_fab.py: JLC outputs.
    • The generators rebuild from scratch; don't re-run them over hand edits.
  • Case (3D print)/: OpenSCAD case (base and lid), STLs and renders. Not yet test-printed; see its README.
  • JLCPCB Output/: Gerbers zip, BOM, CPL and ORDER NOTES.txt.
    • Bottom-side rotation fixes (U1-U3 +90, D1-D3 +180) are already applied. Give the preview a quick check anyway.

Test results

Tested OK (first build, Nov 2026):

  • Boots a C64 from a Dell USB-C laptop charger.
  • Output voltages hold under load: 5.07 V on pins 4/5, 12.3 V on pin 6.
  • The JLC assembly needed no fixes.

Still to test:

  • SID audio quality and datasette motor speed.
  • What the CH224A does with a charger that doesn't offer 15 V (fallback level, PG behaviour).
  • Inrush through Q1 into the C64's bulk capacitors.
  • Desk/power-switch clearance on breadbin and C64C machines.
  • The 3D-printed case (not yet printed).

Measuring tip: pin 6 is DC, even though the C64 labels it "9 VAC". Measure it on the meter's DC range: on the AC range a meter shows a misleading figure, about 8 V here.

v0.4: over-voltage protection

Hardware v0.4/ is v0.3 with an eFuse (TI TPS259470A) on each output in place of the F1/F2 links. It is designed and DRC-clean but not yet built.

  • +5 V: cuts the C64 off above 5.70 V; 3.3 A current limit.
  • +12 V (pin 6): cuts off above 14.2 V; 1.5 A current limit.
  • Shorted converter: if a buck fails and passes the 15 V input straight through, the C64 is disconnected. Reverse current is blocked too.
  • Same size: the board, holes and connectors are unchanged, so the same case fits.
  • Cost: one new extended part (the eFuse, used twice).

C128 version

See C128 Version/ for the Commodore 128 variant (v0.1, not yet built). It has:

  • a square 5-pin socket, plugged with a round DIN-8 insert;
  • a 5 A SY8205 regulator for +5 V;
  • the same USB-PD front end and 12 V rail as this board;
  • a TPS25947 eFuse on +5 V with a 5.64 V over-voltage cutoff and a 4.45 A current limit.

Licence

CC BY-NC-SA 4.0: personal and non-commercial use only. Selling boards, kits, assembled units, cases or modified versions is not permitted. See NOTICE.md for the plain-English terms. Commercial use needs a separate written licence from the author.

This is an independent design. The commercial Sordan/RetroJoy adapter and Side Projects Lab's PD-64 (CC BY-NC-ND) were looked at for ideas only. No files or circuitry were copied from either.

Parts

51
QtyValueFootprintReferences
5100nF/50VC64_PD_PSU:C_0603_1608MetricC2, C4, C5, C10, C11
4100kC64_PD_PSU:R_0603_1608MetricR2, R3, R11, R13
422uF/25VC64_PD_PSU:C_0805_2012MetricC6, C7, C12, C13
447kC64_PD_PSU:R_0603_1608MetricR5, R10, R14, R18
2100pFC64_PD_PSU:C_0603_1608MetricC8, C14
210kC64_PD_PSU:R_0603_1608MetricR7, R19
210uF/25VC64_PD_PSU:C_0805_2012MetricC3, C9
210uHC64_PD_PSU:L_Changjiang_FXL0530L1, L2
21kC64_PD_PSU:R_0603_1608MetricR8, R17
2470kC64_PD_PSU:R_0603_1608MetricR4, R9
275kC64_PD_PSU:R_0603_1608MetricR6, R15
2M2.5C64_PD_PSU:MountingHole_2.7mm_M2.5H1, H2
2TPS259470ARPWRC64_PD_PSU:TI_RPW0010A_VQFN-10-HR_2x2mmU4, U5
2TPS54302DDCRC64_PD_PSU:TSOT-23-6U2, U3
11uF/50VC64_PD_PSU:C_0603_1608MetricC1
12.2kC64_PD_PSU:R_0603_1608MetricR22
120kC64_PD_PSU:R_0603_1608MetricR16
14.7kC64_PD_PSU:R_0603_1608MetricR21
15.1kC64_PD_PSU:R_0603_1608MetricR12
151kC64_PD_PSU:R_0603_1608MetricR20
156kC64_PD_PSU:R_0603_1608MetricR1
1AO3401AC64_PD_PSU:SOT-23Q1
1C64 POWER (DIN-7 male)C64_PD_PSU:DIN-7_Male_PCB_C64J2
1CH224AC64_PD_PSU:SSOP-10-1EP_3.9x4.9mm_P1mm_EP2.1x3.3mmU1
1GREENC64_PD_PSU:LED_0805_2012MetricD3
1SMF13AC64_PD_PSU:D_SOD-123FD2
1SMF5.0AC64_PD_PSU:D_SOD-123FD1
1USB-C (power in)C64_PD_PSU:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

More from mamejay/C64-USB-C-PD-Power-Adapter

2
  • 2 layers46.1 × 34.5 mmC128 USB C PD Power Adapter, the printed circuit board in 3D

    C128 USB C PD Power Adapter

    mamejay/C64-USB-C-PD-Power-Adapter

    USB-C PD power adapter for the Commodore 64 (KiCad, JLCPCB-ready)

    49 parts
  • 2 layers46.1 × 30 mmC64 USB C PD Power Adapter, the printed circuit board in 3D

    C64 USB C PD Power Adapter

    mamejay/C64-USB-C-PD-Power-Adapter

    USB-C PD power adapter for the Commodore 64 (KiCad, JLCPCB-ready)

    41 parts

Similar boards

  • 2 layers20.3 × 69.7 mmPG attiny404, the printed circuit board in 3D

    PG attiny404

    fabiansteiner/OpenValve

    3D-printable pinch valve for irrigation and sensor-driven liquid control.

    41 parts276CERN-OHL-S-2.0
  • 2 layers78 × 84 mmLC meter, the printed circuit board in 3D

    LC meter

    schuyler4/LCR_Meter

    An LCR meter design.

    93 parts6MIT
  • 4 layersCupwarmer hw, the printed circuit board in 3D

    Cupwarmer hw

    mash/cupwarmer

    目標は 15W 級の Qi EPP 受電と、12V・約12W のヒーター。保温と軽い再加熱を狙って開発しています。

    54 parts
  • 2 layers41.5 × 29.1 mmRoller carrier, the printed circuit board in 3D

    Roller carrier

    mschneider-git/zigbee-roller-shutter

    Zigbee retrofit for a Heim & Haus solar roller shutter: ESP32-H2 sleepy end device firmware (ESP-IDF) and carrier PCB, for Home Assistant ZHA

    35 partsMIT
  • 4 layers80 × 70 mmRobot, the printed circuit board in 3D

    Robot

    tekkura/sr-cad

    All 3D CAD and PCB design files for smartphone-robot project.

    370 partsApache-2.0
  • 2 layers95 × 50 mmGw v41-plus, the printed circuit board in 3D

    Gw v41-plus

    shachi-lab/greaseweazle-v41-plus

    Greaseweazle V4.1 based compatible board design for 3.5/5.25-inch FDDs

    87 parts4
  • 4 layers60 × 31 mmGarageDoor pro, the printed circuit board in 3D

    GarageDoor pro

    nikolaus018/garageDoor-pro

    ESP32-C3 + GPS board that opens the garage door when you leave and arrive: firmware, KiCad PCB and perfboard build

    46 parts1MIT

Questions

How big is the C64 USB C PD Power Adapter PCB?

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

What parts does the C64 USB C PD Power Adapter use?

51 parts, built around the CH224A, M2.5, AO3401A and SMF13A. 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 C64 USB C PD Power Adapter KiCad files?

From the mamejay/C64-USB-C-PD-Power-Adapter repository on GitHub, at the commit this page was made from: the board is Hardware v0.4/KiCad/C64 USB-C PD Power Adapter.kicad_pcb and its schematic C128 Version/KiCad/C128 USB-C PD Power Adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the C64 USB C PD Power Adapter design in my own project?

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