Skip to the content
2 layers18.3 × 14.2 mmStm8s001ch330, the printed circuit board in 3D

USB Dongle STM8S001J3M3 with CH330N, e.g. for STM8 eForth

Size
18.3 × 14.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
17
Pads
53
Tracks, vias
126, 12
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
26 Dec 2020
Updated
26 Nov 2021

Overview

Stm8s001ch330 is an open-source printed circuit board by TG9541, from the TG9541/stm8s001ch330 repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 18.3 × 14.2 mm with 14 parts on 17 nets, routed with 126 tracks and 12 vias.

It is built around the STM8S001J3M3, CH330N and MMBT3904. Its parts include 4 capacitors, 4 resistors, 2 ICs, 2 connectors and 1 diode. It belongs with the retro computing and games boards and the STM8 boards of this library.

Main components

3

README

README.md

STM8S001J3M3 with CH330N USB Serial Dongle

Order from OSH Park

This is a design for an easy to use and easy to make key-chain sized STM8S001J3M3 dongle with CH330N USB-UART, e.g. for STM8 eForth (which turns it into an interactive development environment). It can also be for interfacing, e.g., 1Wire or I2C sensors, as an IR-code transmitter, or prototyping software for "Low density" STM8S µCs (which all have 8K Flash, 1K RAM and 128-640 bytes EEPROM). If you're an 8bit computing and retro-computing affectionado: the typical performance is like a "6502 @ >20MHz" and it's about as easy to program.

image

The STM8S001J3M3 UART works in "half-duplex" mode (PD5/UART_TX) with the CH330N USB-UART in wired-or configuration (D1). The internal pull-up of PD5 should be active (the STM8 eForth STM8S001J3 base image takes care of that). This configuration allows IAP (in application programming) in Forth and ICP (in circuit programming) through PD1/SWIM through pin8 of the µC.

schematics

All components, including the PCB and the SMD USB-A connector are easy to obtain (e.g. here for the USB connector - refer to the BOM is in the docs folder).

image

Signals on Header J2

J2 provides the following signals:

PinLabelPin STM8S001GPIOFeatures
15V4VDD5V from USB or external supply
2GND2VSSGND
3SDA5PB5I2C_SDA w/ 4k7 pull-up
-5PA3TIM2_CH3, [SPI_NSS], [UART1_TX]
4SCL6PB4I2C_SCL w/ 4k7 pull-up, [ADC_ETR]
5LSSPC3NPN "Low Side" switch w/ 47R, e.g. IR LED @ 100mA
6PC37PC3TIM1_CH3, [TLI], [TIM1_CH1N] same as LS NPN base
-7PC4TIM1_CH4, CLK_CCO, AIN2, [TIM1_CH3]
-7PC5SPI_SCK, [TIM2_CH1]
7SWIM8PD1SWIM
-8PC6SPI_MOSI, [TIM1_CH1]
-8PD3TIM2_CH2, TIM2_CH2, ADC_ETR
-8PD5UART1_TX, AIN5
8PD61PD6UART1_RX, AIN6
-1PA1[OSC_IN]

Note: the circuit relies on the USB port short-circuit protection!

Example use-cases

Populating the PCB

Populating the PCB by hand is easy. I recommend starting with D1, then U1, U2, C1 and C2. On the front side populate Q1 and the passive components first, then J1 and finally J2.

dongle

The following components are optional (e.g. if J2 isn't needed): R1, R2, R3, R4, Q1 and J2.

Parts

14
QtyValueFootprintReferences
34k7Resistor_SMD:R_0603_1608MetricR1, R2, R3
2100nCapacitor_SMD:C_0603_1608MetricC1, C3
110nCapacitor_SMD:C_0603_1608MetricC4
11N4148Diode_SMD:D_MiniMELFD1
11uCapacitor_SMD:C_0603_1608MetricC2
147Resistor_SMD:R_0603_1608MetricR4
1CH330NPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_HorizontalJ2
1MMBT3904Package_TO_SOT_SMD:SOT-23Q1
1STM8S001J3MPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1USB_AConnector_USB:USB_A_CNCTech_1001-011-01101_HorizontalJ1

Similar boards

  • 2 layers33.3 × 6.3 mmStm8s001rs485, the printed circuit board in 3D

    Stm8s001rs485

    TG9541/stm8s001rs485

    A narrow KiCad made PCB with STM8S001J3, RS485 driver and DS1621S Thermometer, e.g., for STM8EF-MODBUS

    21 parts20MIT
  • 2 layers50 × 50 mmIlonanpa, the printed circuit board in 3D

    Ilonanpa

    SadaleNet/ilonanpa

    ilo nanpa li ilo pi nasin nanpa pi toki pona.

    81 parts13BSD-2-Clause
  • 2 layers20 × 14 mmSTM8S001J3 tiny board, the printed circuit board in 3D

    STM8S001J3 tiny board

    HexRx/STM8S001J3_tiny_board

    A tiny dev board for STM8S001J3 MCU

    10 parts4MIT
  • 2 layers85 × 90 mmFurnace 230V, the printed circuit board in 3D

    Furnace 230V

    brrastak/furnace

    Schematics of furnace for glass fusing

    82 parts
  • 2 layers40 × 20 mmESP8266, the printed circuit board in 3D

    ESP8266

    windowsair/wireless-esp8266-dap

    CMSIS-DAP compatible wireless debugger for ESP8266/ESP32/ESP32C3/ESP32S3. Optional 40MHz SPI acceleration, etc. 适配多种ESP芯片的无线调试器

    39 parts690MIT
  • 2 layers36.1 × 21 mmLinux ch32v003, the printed circuit board in 3D

    Linux ch32v003

    tvlad1234/linux-ch32v003

    Linux on a $0.15 RISC-V microcontroller

    16 parts289MIT
  • 2 layers38.3 × 20.8 mmESP AHT10-Extra, the printed circuit board in 3D

    ESP AHT10-Extra

    c-/ESP-AHT10-Extra

    minimalist ESP-8266 temperature/humidity sensor

    27 parts20
  • 2 layers60 × 40 mmForcegauge, the printed circuit board in 3D

    Forcegauge

    szbeni/forcegauge

    Traning for climbing. Load cell with HX711 and real time plotting,

    77 parts18GPL-3.0

Questions

How big is the Stm8s001ch330 PCB?

It measures 18.3 × 14.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Stm8s001ch330 use?

14 parts, built around the STM8S001J3M3, CH330N and MMBT3904. 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 Stm8s001ch330 KiCad files?

From the TG9541/stm8s001ch330 repository on GitHub, at the commit this page was made from: the board is stm8s001ch330.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Stm8s001ch330 design in my own project?

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