Skip to the content
PCBKitNew board
2 layers65 × 86 mmDischarge, the printed circuit board in 3D

Discharge

sufst/pcb19

Monorepo for all schematics and PCB designs

Size
65 × 86 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
13
Pads
50
Tracks, vias
72, 5
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
4 Oct 2022
Updated
6 Aug 2026

Overview

Discharge is an open-source printed circuit board by sufst, from the sufst/pcb repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 65 × 86 mm with 21 parts on 13 nets, routed with 72 tracks and 5 vias.

It is built around the IPD80R4K5P7. Its parts include 6 resistors, 5 connectors, 3 diodes, 1 transistor and 1 switch.

Main components

1

README

README.md

PCBs

About

Central repository of all schematics and PCB design files.

FolderProjectProject Code
ailAccumulator Indicator Light Logicail
ail-ledAccumulator Indicator Light Ledail-led
batakBatak Game (non-car)batak
break-lightRear Break Lightbreak-light
bspdBrake System Plausibility Devicebspd
can-nodeVoltage Reader and Broadcastercan-node
curr-ampCurrent Sensor Amplifiercurr-amp
dashDashboarddash
dischargeDischarge Relay Breakoutdischarge
hv-senseHigh Voltage Sensehvs
latchingLatch Circuitlatching
loom*Loom Designloom
lvbmsLow Voltage Battery Management Systemlvbms
prechargePrecharge Controllerprecharge
segmentSegmentsegment
telemetryOn-Car Telemetrytelemetry
test-rigPCB Test / Demo Rigtest
top-level*Full Car Schematic
trcTSAC Relay Controllertrc
tsalTractive System Active Lighttsal
vcuVehicle Control Unitvcu

We design our PCBs in KiCad (version 8+).

*Moved to https://github.com/sufst/loom

Version Control for KiCad Projects

Why?

  • Revert individual changes.
  • Document development history via commits and GitHub issues.
  • Easily view previous versions of designs.
  • Manage shared library of components.

Files

Files that should be in this repo, under version control:

  • Project files (.kicad_pro).
  • Schematic files (.kicad_sch).
  • PCB files (.kicad_pcb).
  • Custom footprints (.kicad_mod).
  • Custom symbols (.kicad_sym).
  • Footprint library tables (fp-lib-table).
  • Symbol library tables (sym-lib-table).
  • 3D models of components (.step files).
  • Simulation code (e.g. .asc files from LTSpice).

Files that should never be in here:

  • Exports such as BOMs, gerbers, netlists, renders, etc.
  • Local project settings (.kicad_prl).
  • Project backups (.zip files generated in <project name>-backups, .bak .bck -bak files).
  • Cache files (fp-info-cache).

The .gitignore should prevent the addition of files we don't want to keep in here, but before you commit make sure to do a quick check of what is actually being added.

Shared Resources

The common folder is used for resources which can be shared across multiple projects. This includes:

  • Images (images subdirectory).
  • 3D models (step subdirectory).
  • Custom symbols (sufst-lib.kicad_sym).
  • Custom footprints (sufst-lib.pretty).
  • SUFST standard sheet layout (sheet-layout.kicad_wks).

Note: Since projects were previously in their own individual repos, many designs still have their own libraries, step files, etc. These will gradually be migrated to the SUFST library.

Library Paths

When you configure the library paths for a project (sym-lib-table and fp-lib-table data), make sure to always use a path relative to the project with the ${KIPRJMOD} substitution.

  • Correct: ${KIPRJMOD}/../common/sufst-lib.kicad_sym
  • Incorrect: /Users/<your name>/Documents/sufst/pcb/common/sufst-lib.kicad_sym

If an absolute path is used, when someone else opens the project that path will not exist and the library paths will not be valid. -lib-table files should never contain an absolute path.

Git Limitations

It is not possible to resolve merge conflicts within individual design files, which is an unfortunate limitation of using git with KiCad. While KiCad files are in a text format, they aren't really designed to be edited manually. It is therefore essential that only one person is editing a particular file in a project at a time (including the shared library). Once someone starts working on a file, until it is merged into the main branch nobody else can edit that file. A good way to get round this is to use the "hierarchical sheets" feature to divide schematics into multiple files (if it can be done in a logical way).

Releases

Release Files

When a PCB is fabricated, a new 'release' for the given project should be created and stored within this repo in the releases/<PROJECT NAME> folder. This folder should contain the latest version (and ONLY the latest version) of the following files:

  1. Exported gerbers and drill files in a ZIP archive called fabrication.zip.
  2. Schematic sheets as a PDF (Schematic.pdf).
  3. Layout as a PDF in colour, with border and title block (Layout.pdf).
  4. HTML iBOM created using the "Interactive HTML BOM Plugin" (ibom.html).

Additionally, a file called info (no extension) should be created (if it doesn't already exist) containing release information in the following format:

txt
version: <VERSION NUMBER>
date: <RELEASE DATE>
fabrication: <COMPANY>

Version numbers should be in the format v1.0.1 and dates should be in the format YYYY-MM-DD. For example:

txt
version: v1.0.1
date: 2023-01-23
fabrication: JLCPCB

The release folder for a project should then have the following structure and file names:

txt
<PROJECT NAME>
├── Layout.pdf
├── Schematic.pdf
├── fabrication.zip
├── ibom.html
└── info

When creating a new release, make sure to overwrite/replace all the existing files.

Release Tag

The release commit should then be tagged with the following command:

sh
git tag <PROJECT CODE>-<VERSION_NUMBER>

Tagging should be done after merging to main! Example command:

sh
git tag segment-v1.0.1

To push tags to GitHub:

sh
git push --tags

Parts

21
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
2LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2
10Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5
12.7kSUFST:HSA25R7
127kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
130kSUFST:HSA25R1
130kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1HV+Connector_Molex:Molex_Micro-Fit_3.0_43650-0215_1x02_P3.00mm_VerticalJ2
1HV-Connector_Molex:Molex_Micro-Fit_3.0_43650-0215_1x02_P3.00mm_VerticalJ5
1IPD80R4K5P7Package_TO_SOT_SMD:TO-252-2Q1
1LOGOSUFST:sufst-textG***
1MMSZ5250BT1GDiode_SMD:D_SOD-123D3
1SHUTConnector_Molex:Molex_Micro-Fit_3.0_43650-0215_1x02_P3.00mm_VerticalJ3
1THERM_MOSFETConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1THERM_RESConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1pickering-67-1-cSUFST:pickering-67-1-cK1

Questions

How big is the Discharge PCB?

It measures 65 × 86 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Discharge use?

21 parts, built around the IPD80R4K5P7. 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 Discharge KiCad files?

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

Can I use the Discharge design in my own project?

Its repository publishes it under the GPL-3.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).

More from sufst/pcb

12
  • 4 layers194.3 × 92.8 mmVcu, the printed circuit board in 3D

    Vcu

    sufst/pcb

    Monorepo for all schematics and PCB designs

    212 parts19GPL-3.0
  • 2 layers93.9 × 84 mmBatak, the printed circuit board in 3D

    Batak

    sufst/pcb

    Monorepo for all schematics and PCB designs

    176 parts19GPL-3.0
  • 4 layers83.4 × 46.3 mm16Ch Sensor Hub, the printed circuit board in 3D

    16Ch Sensor Hub

    sufst/pcb

    Monorepo for all schematics and PCB designs

    173 parts19GPL-3.0
  • 4 layers58.5 × 57.5 mm8Ch Sensor Hub, the printed circuit board in 3D

    8Ch Sensor Hub

    sufst/pcb

    Monorepo for all schematics and PCB designs

    114 parts19GPL-3.0
  • 2 layers282 × 44 mmTem, the printed circuit board in 3D

    Tem

    sufst/pcb

    Monorepo for all schematics and PCB designs

    104 parts19GPL-3.0
  • 4 layers52.1 × 67.8 mmSensor board, the printed circuit board in 3D

    Sensor board

    sufst/pcb

    Monorepo for all schematics and PCB designs

    97 parts19GPL-3.0
  • 2 layers73 × 60.3 mmTsal, the printed circuit board in 3D

    Tsal

    sufst/pcb

    Monorepo for all schematics and PCB designs

    97 parts19GPL-3.0
  • 2 layers235 × 73.6 mmDash PCB, the printed circuit board in 3D

    Dash PCB

    sufst/pcb

    Monorepo for all schematics and PCB designs

    97 parts19GPL-3.0
  • 2 layers72 × 60.5 mmCan node, the printed circuit board in 3D

    Can node

    sufst/pcb

    Monorepo for all schematics and PCB designs

    93 parts19GPL-3.0
  • 4 layers60 × 47.5 mmBSPD, the printed circuit board in 3D

    BSPD

    sufst/pcb

    Monorepo for all schematics and PCB designs

    73 parts19GPL-3.0
  • 2 layers150 × 20 mmBrake light, the printed circuit board in 3D

    Brake light

    sufst/pcb

    Monorepo for all schematics and PCB designs

    67 parts19GPL-3.0

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463