Skip to the content
4 layers83.9 × 71.8 mmUSB C PD PCB, the printed circuit board in 3D

USB-C Power Delivery sink board using CYPD3177, ESP32 firmware and KiCad PCB design.

Size
83.9 × 71.8 mm
Copper layers
4
Thickness
1.6 mm
Parts
75
Nets
90
Pads
269
Tracks, vias
525, 108
Pours
5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
25 May 2026
Updated
29 May 2026

Overview

USB C PD PCB is an open-source printed circuit board by KonstantinCa, from the KonstantinCa/USB-C-PD-PCB-CYPD3177 repository on GitHub. It is a 4-layer board of 83.9 × 71.8 mm with 75 parts on 90 nets, routed with 525 tracks and 108 vias.

It is built around the ATMEGA328-PU, SY8303AIC and CYPD3177-24LQXQT, with the IRF9362TRPBF, BSL308PEH6327XTSA1 and ESDA5V3L among its other parts. Its parts include 30 resistors, 16 capacitors, 5 ICs, 3 connectors and 3 switches. It belongs with the power boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

8

README

README.md

USB-C Power Delivery PCB

Note: This project was developed as part of a university project. Technical references and documentation from the relevant companies/manufacturers, especially Infineon/Cypress documentation for the CYPD3177 USB-PD controller, were used as supporting sources for the design and analysis. The project is for educational and documentation purposes only.

This project focuses on the design and analysis of a USB-C Power Delivery sink system.
The goal was to develop a custom PCB capable of requesting defined USB-PD voltage profiles from a USB-C Power Delivery charger.

The system is based on the Infineon/Cypress CYPD3177 USB-PD controller.
An external microcontroller communicates with the controller via I2C in order to select different Power Delivery profiles and read status information such as the negotiated VBUS voltage.

Project Overview

The project combines hardware design, embedded firmware and protocol analysis.
The custom PCB was designed in KiCad and includes the required USB-C connector, USB-PD controller, power path circuitry, voltage regulation and communication interfaces.

Features

  • USB-C Power Delivery sink implementation
  • CYPD3177 USB-PD controller integration
  • Selection of different USB-PD voltage profiles
  • I2C communication between microcontroller and USB-PD controller
  • VBUS voltage measurement
  • Interrupt-based response handling
  • Finite State Machine firmware structure
  • KiCad schematic and PCB layout
  • Analysis of USB-PD, USB 2.0, I2C and UART communication

Supported USB-PD Profiles

The firmware supports the following fixed supply PDO profiles:

ProfileVoltageCurrent
15 V2 A
29 V2 A
312 V2.25 A
415 V1.8 A
520 V1.5 A

Firmware

The ESP32 firmware communicates with the CYPD3177 over I2C and allows the user to select a desired USB-PD profile via the serial monitor.

Serial Commands

CommandFunction
STATUSReads the current status and response information
5V2ARequests 5 V / 2 A
9V2ARequests 9 V / 2 A
12V2.25ARequests 12 V / 2.25 A
15V1.8ARequests 15 V / 1.8 A
20V1.5ARequests 20 V / 1.5 A

Firmware State Machine

The firmware is structured as a finite state machine:

text
INIT -> IDLE -> SEND -> WAIT -> RECEIVE -> IDLE

The state machine waits for user input, checks whether a USB-PD contract is established, sends the selected PDO to the CYPD3177, waits for an interrupt, and then reads the response and VBUS voltage.

## Hardware Design

The PCB design contains the following main functional blocks:

- USB-C connector
- CYPD3177 USB Power Delivery controller
- Power path switching stage
- Buck converter for 3.3 V supply generation
- USB-to-UART interface for communication and debugging
- Microcontroller interface
- I2C communication lines
- UART communication lines
- Protection and configuration circuitry

The PCB was designed as a four-layer board with separate layers for signal routing, ground reference, and power distribution.

Parts

75
QtyValueFootprintReferences
10TestPointTestPoint:TestPoint_Pad_2.0x2.0mmTP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11
51kResistor_SMD:R_0805_2012MetricR8, R11, R12, R22, R120
3100nFCapacitor_SMD:C_0805_2012MetricC17, C18, C19
31KResistor_SMD:R_0805_2012MetricR2, R3, R119
34u7Capacitor_SMD:C_0805_2012MetricC12, C14, C15
2100kResistor_SMD:R_0805_2012MetricR16, R17
21uFInductor_SMD:L_1206_3216MetricC5, C6
22.4 kResistor_SMD:R_0805_2012MetricR123, R127
222pFCapacitor_SMD:C_0805_2012MetricC8, C9
22MResistor_SMD:R_0805_2012MetricR18, R19
25.1 kResistor_SMD:R_0805_2012MetricR124, R126
25k1Resistor_SMD:R_0805_2012MetricR1, R7
10RResistor_SMD:R_0805_2012MetricR10
11 kResistor_SMD:R_0805_2012MetricR122
110 kResistor_SMD:R_0805_2012MetricR125
1100K 5%Resistor_SMD:R_0805_2012MetricR118
1100nCapacitor_SMD:C_0805_2012MetricC13
1100nFInductor_SMD:L_1206_3216MetricC7
110kResistor_SMD:R_0805_2012MetricR9
110pCapacitor_SMD:C_0805_2012MetricC16
1180kResistor_SMD:R_0805_2012MetricR23
12.4kResistor_SMD:R_0805_2012MetricR121
120kResistor_SMD:R_0805_2012MetricR20
1222KResistor_SMD:R_0805_2012MetricR21
13.3uFCapacitor_SMD:C_0805_2012MetricC4
133KResistor_SMD:R_0805_2012MetricR24
14.7uFCapacitor_SMD:C_0805_2012MetricC1
147uInductor_SMD:L_0805_2012MetricL1
149.9KResistor_SMD:R_0805_2012MetricR129
149.9kResistor_SMD:R_0805_2012MetricR13
18MHzCrystal:Crystal_HC49-U_VerticalY1
1ATmega328-PPackage_DIP:DIP-28_W7.62mmU1
1AVR-ISP-6Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ3
1BSL308PEH6327XTSA1BSL308PEH6327XTSA1:PG-TSOP6-6-4_INFBSL308PEH6327XTSA1
1CP2102N-Axx-xQFN24Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU4
1CYPD3177-24LQXQTCYPD3177_24LQXQ:QFN24_CYPD3177_INFU101
1ESDA5V3LPackage_TO_SOT_SMD:SOT-23-3D1
1IRF9362TRPBFIRF9362TRPBF:SOIC127P600X175-8NU3
1LED PDLED0805-R-RD:LED0805-R-RDD101
1NTR4503NNTR4503NT1G-VB:NTR4503NT1G-VBQ100
1SY8303AICSY8303AIC:TSOT_303AIC_SGYU2
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ2
1Sink_CoarseIRF9362TRPBF:SW-SMD_MSSR-10SSW101
1Sink_fineIRF9362TRPBF:SW-SMD_MSSR-10SSW102
1TestPoint 5VTestPoint:TestPoint_Pad_1.0x1.0mmTP1
1USB4105-GF-A-060Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1VBUS_MaxIRF9362TRPBF:SW-SMD_MSSR-10SSW100
1Zener DiodeSOD-123F_L2.8-W1.8-LS3.7-RD:SOD-123F_L2.8-W1.8-LS3.7-RDNZH10C-115
1´10uFCapacitor_SMD:C_0805_2012MetricC10

Similar boards

  • 2 layers67.8 × 62.5 mmUSBCPowerPCB, the printed circuit board in 3D

    USBCPowerPCB

    lhr-solar/USBCPowerPCB

    USB Type-C to 12V and 5V

    106 parts
  • 4 layers74.6 × 102.1 mmFPGA DevBoard, the printed circuit board in 3D

    FPGA DevBoard

    Benny-Chippers/Enchanted_Rocks

    The dev board PCB for the MacroController project

    68 partsMIT
  • 2 layers54.4 × 22.9 mmCurrent, the printed circuit board in 3D

    Current

    ataradov/current

    Current profiler

    55 parts1
  • 2 layers348.4 × 110.2 mmKeyboard, the printed circuit board in 3D

    Keyboard

    ataradov/keyboard

    Custom keyboard

    253 parts1BSD-3-Clause
  • 2 layers35 × 35 mmWpt receiver, the printed circuit board in 3D

    Wpt receiver

    DRAMCO/Contactless-Battery-Solution-for-Sustainable-IoT-Devices

    Supplementary material for "MDPI Electronics special issue Wireless Power Transfer Systems: Design and Implementation"

    91 parts
  • 4 layers124 × 23 mmOctobot controller, the printed circuit board in 3D

    Octobot controller

    Deivid-Negoita/octobot

    An eight-legged walking robot I built end to end: chassis CAD, a 24-servo ATmega32U4 controller board, the firmware, and a browser IK workbench you can drive it from.

    120 parts1MIT
  • 4 layers40.5 × 40.5 mmHPM5361-RMCS Slave Lite, the printed circuit board in 3D

    HPM5361-RMCS Slave Lite

    Kaiser041224/HPM5361-RMCS_Slave-Lite

    HPM5361-RMCSSlave-Lite 是一个基于 HPM5361IEG1 的嵌入式控制板。以下说明是根据当前 KiCad 工程中的原理图层级、器件选型和 PCB 丝印整理出来的硬件简介;从接口组合来看,这块板更像是一个面向机器人或分布式控制系统的从控/通信节点。

    179 parts1
  • 4 layers100 × 50 mmMW Buck Boost CS, the printed circuit board in 3D

    MW Buck Boost CS

    Lightningyc/MPPT_Buck-Boost

    通信交互: 控制器通过 UART 接口与上位机软件 Vofa+ 通信,支持参数远程设定及实时运行数据(电压/电流)反馈。

    87 parts1MIT

Questions

How big is the USB C PD PCB PCB?

It measures 83.9 × 71.8 mm and has 4 copper layers, 1.6 mm thick.

What parts does the USB C PD PCB use?

75 parts, built around the ATMEGA328-PU, SY8303AIC, CYPD3177-24LQXQT and IRF9362TRPBF. 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 USB C PD PCB KiCad files?

From the KonstantinCa/USB-C-PD-PCB-CYPD3177 repository on GitHub, at the commit this page was made from: the board is USB-C_PD_PCB/USB-C_PD_PCB.kicad_pcb and its schematic USB-C_PD_PCB/USB-C_PD_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB C PD PCB design in my own project?

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