Skip to the content
2 layersRusty bc250-atx, the printed circuit board in 3D

Baremetal Rust F/W on CH32V003 for make the BC250 compatible with ATX

Copper layers
2
Thickness
1.6 mm
Parts
10
Nets
29
Pads
47
Tracks, vias
56, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
17 Apr 2026
Updated
20 Apr 2026

Overview

Rusty bc250-atx is an open-source printed circuit board by suapapa, from the suapapa/rusty-bc250-atx repository on GitHub, published under the MIT licence. It is a 2-layer board with 10 parts on 29 nets, routed with 56 tracks and 0 vias.

Its parts include 4 connectors, 3 resistors and 3 ICs.

README

README.md

Rusty BC250 ATX

rusty-bc250-atx_00

ATX PSU soft-power adapter for the AMD BC250 mining board. The BC250 lacks native ATX PS_ON circuitry; this firmware bridges that gap using a CH32V003 microcontroller.

Features

FunctionDescription
PS_ON controlDrive ATX PS_ON via optocoupler — active LOW at ATX connector, active HIGH at MCU
HOST_ON senseDetect BC250 running state via optocoupler (12 V → 3.3 V isolated)
Power buttonDebounced momentary button with short-press / long-press detection
Force off4-second hold → hard-cut ATX PS_ON regardless of HOST_ON state
LED outputPower status indicator (15 mA limited; J1 bypass up to 250 mA)

Board Assembly

The prototype PCB shown below was manufactured using a 3D printer.

  • sch/ — KiCad schematic and PCB design
  • pcb_3dprint/ — STL and OpenSCAD files for 3D-printed PCB prototyping

rusty-bc250-atx_01 rusty-bc250-atx_02

Power State Machine

text
IDLE
 └─ short press ──────────→ assert PS_ON ──→ POWERING_ON

POWERING_ON
 ├─ HOST_ON low ──────────→ RUNNING
 └─ timeout 5 s ──────────→ de-assert PS_ON ──→ IDLE   (PSU failed to start)

RUNNING
 ├─ hold 3 s ─────────────→ LED fast-blink warning
 ├─ hold 4 s ─────────────→ force de-assert PS_ON ──→ IDLE
 └─ HOST_ON lost 500 ms ──→ de-assert PS_ON ──→ IDLE

Hardware

  • MCU — CH32V003F4U6 (RISC-V RV32EC, TSSOP-20)
  • Programmer — WCH-LinkE via SWIO (PD1)
  • See PINMAP.md for pin assignments
  • See CIRCUIT.md for circuit diagrams
  • See BOM.md for the full bill of materials

Building

Rust nightly toolchain is required (riscv32ec target is not yet stable). The correct toolchain is pinned via rust-toolchain.toml.

bash
cargo build --release

Flashing

Install wlink:

bash
cargo install --git https://github.com/ch32-rs/wlink

Connect a WCH-LinkE probe to the board (SWIO → PD1, GND, 3.3 V), then:

bash
cargo run --release

Serial debug output (SDI print) is enabled automatically and streamed by wlink.

License

Licensed under the MIT License.

Parts

10
QtyValueFootprintReferences
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2
2Optocoupler_DC_PhotoNPN_AKECPackage_DIP:DIP-4_W7.62mm_Socket_LongPadsU2, U3
1100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3
15V_SBConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ4
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ6
1PWR_LEDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ1
1PWR_SWConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ5
1~Library:CH32V003_CoreBoard_2U1

Similar boards

  • 2 layers57 × 55.2 mmLogicAnalyzer, the printed circuit board in 3D

    LogicAnalyzer

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    10 parts5.1kGPL-3.0
  • 2 layers32.2 × 15.4 mmProtector, the printed circuit board in 3D

    Protector

    byrantech/laptop

    anyon_e, a highly integrated, high end, open source laptop. Attempt the impossible.

    10 parts4.3kMIT
  • 2 layers26 × 18 mmConn, the printed circuit board in 3D

    Conn

    yaqwsx/KiKit

    Automation tools for KiCAD

    10 parts2.1kMIT
  • 2 layers44.3 × 30.5 mmLime2-SATA RevA, the printed circuit board in 3D

    Lime2-SATA RevA

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    10 parts1.5k
  • 2 layers17.8 × 43.2 mmNano Adapter, the printed circuit board in 3D

    Nano Adapter

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    10 parts1.1kGPL-3.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    10 parts1kGPL-3.0

Questions

What parts does the Rusty bc250-atx use?

10 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 Rusty bc250-atx KiCad files?

From the suapapa/rusty-bc250-atx repository on GitHub, at the commit this page was made from: the board is sch/rusty-bc250-atx/rusty-bc250-atx.kicad_pcb and its schematic sch/rusty-bc250-atx/rusty-bc250-atx.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rusty bc250-atx design in my own project?

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