

Basic projects with CH552G
- Size
- 17.8 × 14 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 8
- Nets
- 12
- Pads
- 34
- Tracks, vias
- 16, 0
- Pours
- 14
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 29 Oct 2022
- Updated
- 1 Nov 2026
Overview
USBC2 is an open-source printed circuit board by nicola-strappazzon, from the nicola-strappazzon/CH552 repository on GitHub, published under the LGPL-2.1 licence. It is a 2-layer board of 17.8 × 14 mm with 8 parts on 12 nets, routed with 16 tracks and 0 vias.
Its parts include 6 connectors and 2 resistors. It belongs with the 8051 (CH55x, STC, AT89) boards of this library.
README
README.mdCH552G examples
C examples, hardware designs, and notes for the WCH CH552G, an 8-bit microcontroller based on the 8051 architecture. It has native USB and a built-in bootloader, so firmware can be uploaded without a separate programmer.
See the datasheet and WCH examples.
Specifications
- 3.3 V or 5 V operation.
- 16 KB code flash, 1 KB XRAM, 256 bytes internal RAM, and 128 bytes data flash.
- USB, UART, and SPI.
- Three timers, two PWM channels, and four ADC inputs.
- Built-in bootloader and 24 MHz internal oscillator.
- Factory chip identifier.
The pinout groups functions by colour and marks default and alternate pin mappings. See the LaTeX sources and build instructions to edit or regenerate it. See the datasheet for all pin functions and package options. Check the clock timing for applications that need accurate delays.
Code flash is rated for about 200 programming cycles at 5 V. Data flash is rated for about 10,000 erase/write cycles; spread writes across it to reduce wear.
Minimum circuit
- One CH552G.
- Two 100 nF capacitors.
- Two 10 kΩ resistors.
- Two 1 kΩ resistors.
- Two buttons: boot and reset.


Examples
- ADC: read a potentiometer and send values over UART.
- Blink: blink an LED.
- Bootloader: enter the bootloader at startup.
- Button: control an LED with a button.
- Button and RGB LED: change color with a button.
- UART: send and receive text through a CH340 adapter.
- Data flash: save the last LED color.
- DHT11: show temperature and humidity on an OLED.
- DHT20: wiring notes; sensor code is not implemented yet.
- DS1307: show the date and time on an OLED.
- Fade: fade an LED with software PWM.
- Hardware PWM: fade an LED with PWM1.
- SSD1306: write text to an I2C OLED.
- Unique ID: send chip configuration bytes over USB CDC.
- USB CDC TX: send text over USB.
- USB CDC RX: echo bytes received over USB.
- Watchdog: reset after a simulated hang.
Documentation
- Pinout: LaTeX sources, peripheral groups, pin mappings, and diagram build instructions.
- SDCC: install the compiler and build examples.
- Bootloader: enter upload mode.
- Flash: upload firmware with wchisp.
- Hardware: KiCad designs.
- Links: related resources.
Related projects
Third-party projects
Parts
8| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | Conn_01x02 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J1, J2, J3, J4, J6 |
| 2 | 5.1k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2 |
| 1 | USB_C_2.0 | Connector_USB:USB_C_Receptacle_GCT_USB4085 | P1 |
More from nicola-strappazzon/CH552
2- 2 layers40.6 × 27.9 mm

- 2 layers61 × 17.8 mm

Similar boards
- 2 layers20.5 × 24.8 mm

- 2 layers14.4 × 10.5 mm

OSO SWAB B1-00 Sensor Watch Accelerometer
joeycastillo/Sensor-Watch
A board replacement for the classic Casio F-91W wristwatch
8 parts2.1k - 2 layers7.9 × 39.1 mm

Brain board STM32F407 SD wing it
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
8 parts1.2k - 2 layers59.9 × 25.7 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
8 parts1kGPL-3.0 - 2 layers52 × 12.6 mm

USB
shanteacontrols/OpenDeck
A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.
8 parts960Apache-2.0 - 2 layers87.5 × 48.5 mm

7 input macropad
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
8 parts915 - 2 layers36.2 × 63.1 mm

PicoMemcard pico
dangiu/PicoMemcard
Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico
8 parts694GPL-3.0 - 2 layers36 × 10 mm

PCB4-PWR BTN Rev.A
OLIMEX/DIY-LAPTOP
Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop
8 parts578Apache-2.0
Questions
How big is the USBC2 PCB?
It measures 17.8 × 14 mm and has 2 copper layers, 1.6 mm thick.
What parts does the USBC2 use?
8 parts. 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 USBC2 KiCad files?
From the nicola-strappazzon/CH552 repository on GitHub, at the commit this page was made from: the board is hdw/USBC2/USBC2.kicad_pcb and its schematic assets/src/adc/schematic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the USBC2 design in my own project?
Its repository publishes it under the LGPL-2.1 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).