Skip to the content
2 layers80 × 125 mmPcb1, the printed circuit board in 3D

A current-limited, inrush-safe low-side load switch for a battery-backed UPS, built entirely from an NE555 timer and a dual op-amp — no dedicated hot-swap/current-limiter IC.

Size
80 × 125 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
15
Pads
65
Tracks, vias
160, 6
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Aug 2026
Updated
18 Aug 2026

Overview

Pcb1 is an open-source printed circuit board by LeoChizh, from the LeoChizh/ups_boards repository on GitHub. It is a 2-layer board of 80 × 125 mm with 27 parts on 15 nets, routed with 160 tracks and 6 vias.

It is built around the LM358, NE555P and IRFZ44N. Its parts include 8 resistors, 6 capacitors, 2 ICs, 2 diodes and 2 crystals.

Main components

3

README

README.md

UPS Current-Limited Load Switch

A current-limited, inrush-safe low-side load switch for a battery-backed UPS, built entirely from an NE555 timer and a dual op-amp — no dedicated hot-swap/current-limiter IC.

Schematic

What it does

  • Switches the return path to a load (in this build: a Raspberry Pi + WiFi router) through an N-channel MOSFET (Q1, IRFZ44N).
  • A current-sense amplifier (U1A) feeding a PWM comparator (U1B, both halves of one LM358) fold back the MOSFET's duty cycle as current rises, instead of a hard on/off cutoff or a linear-mode limiter (which would dissipate far more heat at these currents).
  • The PWM ramp comes from an NE555 astable (U2), tapped directly off the timing capacitor node rather than OUT.
  • A zener on the 555's CONT pin (D1, R1) pins the ramp's amplitude to a fixed voltage, so the current limit doesn't drift with input voltage (verified across 12–13.8V).
  • With R6 = 10Ω, R7 = 1k (current-sense gain 101×) and RSense1 = 0.01Ω: foldback begins around 4A, full cutoff around 8A — independent of supply voltage.
  • The switched node also carries a 3×47000µF capacitor bank, so the same foldback loop doubles as inrush-current limiting when charging that bank from empty.

Files

  • pcb2/pcb1.kicad_sch, pcb2/pcb1.kicad_pcb — the design (KiCad 10)
  • pcb2/myLibrary.pretty/ — custom footprint for the current-sense shunt resistor
  • pcb2/kicad_export_commands.sh — regenerates the ERC/DRC reports, netlist, and laser-burn artwork (copper layer, mirrored/negative variants, and a silkscreen+values placement guide) from the KiCad source

Fabrication

Single-sided board. Components are inserted from one face; the copper (opposite face) has its solder mask removed with a laser engraver, then the main power-carrying traces are reinforced with solder for the ~8A current path. See pcb2/pcb1_Fcu_mirrored.svg / pcb2/pcb1_Fcu_mirrored_negative.svg for the burn artwork and pcb2/pcb1_Silkscreen_Values.svg for the component placement guide.

Status

Built and running — powers a Raspberry Pi 4 and WiFi router off a 12V battery bank, verified across repeated input power cycling with no interruption to the load.

System schematic

This load switch is one module in the larger UPS. The full system schematic shows how it connects to the rest: mains input through breakers into the AC/DC supply and battery charger, a DPDT relay (K1) for mains/battery switchover, over-discharge protection on the battery, and this load switch driving the output USB-C chargers.

System schematic

ups_schema/ holds this top-level schematic (KiCad 10, schematic-only — no PCB layout, since it's a system diagram rather than a board to fabricate).

Build photos

Enclosure, closedEnclosure, open
Enclosure frontEnclosure interior

This board is mounted on the enclosure door alongside DIN-rail breakers, an AC-DC power supply (230VAC→12VDC), a battery charger, a main relay (230VAC-coil controlled), and an over-discharge protection board. The front panel carries a voltmeter and two 12V-powered USB-C charging ports.

Parts

27
QtyValueFootprintReferences
4MountingHole_4.3mm_M4_ISO14580_PadMountingHole:MountingHole_4.3mm_M4_ISO14580_Padmount, mount, mount, mount
347000uFCapacitor_THT:CP_Radial_D35.0mm_P10.00mm_SnapInC1, C2, C3
210RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6, R8
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3, R5
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R7
10R01myLibrary:R_Shunt_d1.2mm_L10mmRSense1
1100nfCapacitor_THT:C_Rect_L9.0mm_W3.3mm_P7.50mm_MKTC6
110nfCapacitor_THT:C_Rect_L7.0mm_W3.5mm_P5.00mmC5
110nfCapacitor_THT:C_Rect_L7.2mm_W3.5mm_P5.00mm_FKS2_FKP2_MKS2_MKP2C4
1470kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
1680RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
18V2Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
1IRFZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1InputConnector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_3-G-5,08_1x03_P5.08mm_HorizontalX1
1LEDLED_THT:LED_D3.0mm_ClearD2
1LM358Package_DIP:DIP-8_W7.62mmU1
1NE555PPackage_DIP:DIP-8_W7.62mmU2
1OutputConnector_Phoenix_MSTB:PhoenixContact_MSTBA_2,5_3-G-5,08_1x03_P5.08mm_HorizontalX2

The 26 most common of 27 parts.

Similar boards

  • 2 layers45.5 × 35.5 mmPWM, the printed circuit board in 3D

    PWM

    AvishkaVishwa/12V-DC-Motor-Speed-Controller-PCB-Design-using-KiCAD

    using 555 timer is at Astable mode

    16 parts4
  • 2 layers55 × 52.3 mmPWMControllerCooler, the printed circuit board in 3D

    PWMControllerCooler

    rafliard23/laptopCooler-hardware

    Hardware component of my custom laptop cooler project

    21 partsMIT
  • 2 layers153.5 × 125.2 mmPlaca Chute, the printed circuit board in 3D

    Placa Chute

    LuizAmaral19/PCBs_SSL-EL_2026

    34 parts
  • 2 layers48 × 48 mmMiliohmetro V1.0, the printed circuit board in 3D

    Miliohmetro V1.0

    agusff/Proyecto-Miliohmetro

    Proyecto de un milihometro casero para la medicion precisa de resistencias de bajo valor. Trabajo realizado para la catedra de Medidas Electronicas I UTN FRP

    12 parts
  • 2 layers52.5 × 29.5 mmVoltage Regulator, the printed circuit board in 3D

    Voltage Regulator

    BrandonMIsabell/stm32-voltage-regulator-pcb

    Routed a custom 5V linear regulator PCB in KiCad to power an STM32 Nucleo board, utilizing an LM358 op-amp and IRFZ44N MOSFET for closed-loop feedback control Fabricated physical hardware from custom Gerber/Drill files…

    9 parts
  • 2 layers72.5 × 82.5 mmDummy load, the printed circuit board in 3D

    Dummy load

    picli3/dummy-load

    Carga electrónica o dummy load basada en LM358 y MOSFET, pensada para probar fuentes de alimentación y convertidores bajo condiciones controladas.

    27 parts
  • 2 layers50 × 100 mmPCB Final Inversor 555, the printed circuit board in 3D

    PCB Final Inversor 555

    MateoCignetti/ProyectoFinal

    Esta obra está bajo una [Licencia Creative Commons Atribución-NoComercial-CompartirIgual 4.0 Internacional][cc-by-nc-sa].

    31 parts2
  • 2 layers95 × 40 mmLM35 PWM 555, the printed circuit board in 3D

    LM35 PWM 555

    EmersonEE/My_KiCad

    23 parts

Questions

How big is the Pcb1 PCB?

It measures 80 × 125 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pcb1 use?

27 parts, built around the LM358, NE555P and IRFZ44N. 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 Pcb1 KiCad files?

From the LeoChizh/ups_boards repository on GitHub, at the commit this page was made from: the board is pcb2/pcb1.kicad_pcb and its schematic pcb2/pcb1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pcb1 design in my own project?

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