

Rotary switch
Monorepo for all schematics and PCB designs
- Size
- 36 × 42 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 24
- Nets
- 17
- Pads
- 58
- Tracks, vias
- 37, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 4 Oct 2022
- Updated
- 6 Aug 2026
Overview
Rotary switch 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 36 × 42 mm with 24 parts on 17 nets, routed with 37 tracks and 0 vias.
It is built around the 1N5711W. Its parts include 11 resistors, 3 capacitors, 1 IC, 1 diode and 1 connector.
Main components
1README
README.mdPCBs
About
Central repository of all schematics and PCB design files.
| Folder | Project | Project Code |
|---|---|---|
| ail | Accumulator Indicator Light Logic | ail |
| ail-led | Accumulator Indicator Light Led | ail-led |
| batak | Batak Game (non-car) | batak |
| break-light | Rear Break Light | break-light |
| bspd | Brake System Plausibility Device | bspd |
| can-node | Voltage Reader and Broadcaster | can-node |
| curr-amp | Current Sensor Amplifier | curr-amp |
| dash | Dashboard | dash |
| discharge | Discharge Relay Breakout | discharge |
| hv-sense | High Voltage Sense | hvs |
| latching | Latch Circuit | latching |
| loom* | Loom Design | loom |
| lvbms | Low Voltage Battery Management System | lvbms |
| precharge | Precharge Controller | precharge |
| segment | Segment | segment |
| telemetry | On-Car Telemetry | telemetry |
| test-rig | PCB Test / Demo Rig | test |
| top-level* | Full Car Schematic | |
| trc | TSAC Relay Controller | trc |
| tsal | Tractive System Active Light | tsal |
| vcu | Vehicle Control Unit | vcu |
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 (
.stepfiles). - Simulation code (e.g.
.ascfiles 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-bakfiles). - 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 (
imagessubdirectory). - 3D models (
stepsubdirectory). - 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:
- Exported gerbers and drill files in a ZIP archive called
fabrication.zip. - Schematic sheets as a PDF (
Schematic.pdf). - Layout as a PDF in colour, with border and title block (
Layout.pdf). - 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:
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:
version: v1.0.1
date: 2023-01-23
fabrication: JLCPCBThe release folder for a project should then have the following structure and file names:
<PROJECT NAME>
├── Layout.pdf
├── Schematic.pdf
├── fabrication.zip
├── ibom.html
└── infoWhen 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:
git tag <PROJECT CODE>-<VERSION_NUMBER>Tagging should be done after merging to main! Example command:
git tag segment-v1.0.1To push tags to GitHub:
git push --tagsParts
24| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 330 | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11 |
| 4 | MountingHole_Pad | MountingHole:MountingHole_3.2mm_M3_DIN965_Pad | H1, H2, H3, H4 |
| 2 | LOGO | LOGO | G***, G*** |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 1N5711W | PCM_Diode_SMD_AKL:D_SOD-123 | D1 |
| 1 | 1u | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | Conn_01x04_Socket | Connector_Molex:Molex_Micro-Fit_3.0_43045-0412_2x02_P3.00mm_Vertical | J1 |
| 1 | SW_Rotary_1x12 | SUFST:ALPHA_12pos_rotary | SW1 |
| 1 | TPS7B6925-Q1 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U1 |
Questions
How big is the Rotary switch PCB?
It measures 36 × 42 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Rotary switch use?
24 parts, built around the 1N5711W. 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 Rotary switch KiCad files?
From the sufst/pcb repository on GitHub, at the commit this page was made from: the board is rotary-switch/rotary-switch.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Rotary switch 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 mm

- 2 layers93.9 × 84 mm

- 4 layers83.4 × 46.3 mm

- 4 layers58.5 × 57.5 mm

- 2 layers282 × 44 mm

- 4 layers52.1 × 67.8 mm

- 2 layers73 × 60.3 mm

- 2 layers235 × 73.6 mm

- 2 layers72 × 60.5 mm

- 4 layers69 × 68 mm

- 4 layers60 × 47.5 mm

- 2 layers150 × 20 mm

Similar boards
- 4 layers130 × 110 mm

- 4 layers100 × 65 mm

Si5351AVFO
etherkit/Si5351AVFO
After any schematic change, run tools/exportdocs.sh (needs KiCad 10 kicad-cli). It rewrites docs/Si5351AVFOschematic.pdf, the netlist, SVGs and docs/erc.rpt.
140 parts - 2 layers84 × 37 mm

- 2 layers56 × 65 mm

SeaTalk1
dotnet/iot
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
24 parts2.4kMIT - 2 layers26.2 × 45.5 mm

PL18 multiprotocol
pascallanger/DIY-Multiprotocol-TX-Module
Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.
24 parts1.9kGPL-3.0 - 2 layers58 × 35.5 mm

- 2 layers144 × 58 mm

Breakout 80pin 1393476-Connector
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
24 parts1.2k - 2 layers21.6 × 19.5 mm

Micron Logo LED
DraftShift/StealthChanger
Tool changing system for Vorons and other front mount printer motion systems, not just stealthburner.
24 parts1.2kGPL-3.0