Skip to the content
2 layers40.6 × 27.9 mmCH552, the printed circuit board in 3D

Basic projects with CH552G

Size
40.6 × 27.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
25
Pads
92
Tracks, vias
184, 27
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
29 Oct 2022
Updated
1 Nov 2026

Overview

CH552 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 40.6 × 27.9 mm with 23 parts on 25 nets, routed with 184 tracks and 27 vias.

It is built around the CH552G. Its parts include 6 resistors, 3 capacitors, 3 connectors, 2 switches and 2 inductors. It belongs with the 8051 (CH55x, STC, AT89) boards of this library.

Main components

1

README

README.md

CH552G 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.

CH552G SOP-16 pinout with colour-coded peripheral functions

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.

Minimum circuit

Breadboard circuit

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

23
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
2100nFLibrary:C1206C1, C2
210kLibrary:R1206R3, R4
21kLibrary:R1206R1, R2
25.1kLibrary:R1206R5, R6
2Conn_01x08Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ1, J2
2LEDLibrary:L1206L1, L2
11N4001Library:SMA_DO_214ACD1
14700nFLibrary:C1206C3
1BLLibrary:SW_Push_SMDSW2
1CH552GPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU1
1PolyfuseLibrary:F1206F1
1RSTLibrary:SW_Push_SMDSW1
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalP1

More from nicola-strappazzon/CH552

2
  • 2 layers17.8 × 14 mmUSBC2, the printed circuit board in 3D

    USBC2

    nicola-strappazzon/CH552

    Basic projects with CH552G

    8 parts37LGPL-2.1
  • 2 layers61 × 17.8 mmTQFP48, the printed circuit board in 3D

    TQFP48

    nicola-strappazzon/CH552

    Basic projects with CH552G

    3 parts37LGPL-2.1

Similar boards

  • 2 layers30.4 × 12.7 mmDaplink CH552P, the printed circuit board in 3D

    Daplink CH552P

    abgelehnt/Tiny-DAPLink

    小巧的使用CH552实现的DAPLink

    21 parts41GPL-3.0
  • 2 layers40 × 40 mmBottom, the printed circuit board in 3D

    Bottom

    Noteolvides/CubeTouch

    CubeTouch Docs

    35 parts14MIT
  • 2 layers38.6 × 15.7 mmLIPS V3.2, the printed circuit board in 3D

    LIPS V3.2

    milar111/L.I.P.S.

    OpenSource Affordable SipAndPuff device: Linear Interface for Paralysis Support

    21 parts13
  • 2 layers28.4 × 15.9 mmCH552-devkit, the printed circuit board in 3D

    CH552-devkit

    hexeguitar/CH552-devkit

    CH552 dev board with HW reboot into bootloader

    25 parts6MIT
  • 2 layers51 × 44 mmCh552g devbrd, the printed circuit board in 3D

    Ch552g devbrd

    eddyem/ch55x

    Some usefull things for working with ch55x chips

    19 parts5GPL-3.0
  • 2 layers105.9 × 83.1 mmBSidesDFW 2019, the printed circuit board in 3D

    BSidesDFW 2019

    gowenrw/BSidesDFW_2019_Badge

    This is where all the files for the BSidesDFW 2019 Badge will be stored. This includes code and art and cab and fab files. All the things.

    30 parts5MIT
  • 2 layers43.2 × 24.9 mmPip, the printed circuit board in 3D

    Pip

    jnthas/pinch

    Password storage for nerds

    37 parts5MIT
  • 2 layers100 × 61 mmWgr, the printed circuit board in 3D

    Wgr

    a5632645/final_design

    simple digital waveguide synthesizer & simple mpe midi keyboard(pitch bend and pressure)

    103 parts4

Questions

How big is the CH552 PCB?

It measures 40.6 × 27.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the CH552 use?

23 parts, built around the CH552G. 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 CH552 KiCad files?

From the nicola-strappazzon/CH552 repository on GitHub, at the commit this page was made from: the board is hdw/CH552G/CH552.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 CH552 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).