Skip to the content
PCBKitNew board
2 layers35.6 × 88.9 mmSwitch boxes, the printed circuit board in 3D

Switch boxes

atait/DIPcap

Variable capacitor based on DIP switches ranging from 1nF to 1mF

Size
35.6 × 88.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
36
Nets
32
Pads
119
Tracks, vias
133, 12
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Jun 2026
Updated
6 Jun 2026

Overview

Switch boxes is an open-source printed circuit board by atait, from the atait/DIPcap repository on GitHub. It is a 2-layer board of 35.6 × 88.9 mm with 36 parts on 32 nets, routed with 133 tracks and 12 vias.

It is built around the SMXS-08K-TP. Its parts include 27 capacitors, 4 connectors, 4 switches and 1 resistor.

Main components

1

README

README.md

DIPcap

A variable capacitor bank built from DIP switches. Six decades of coverage (1 nF to 1 mF) for under $10 to build.

DIPcap board

Kicanvas icon Explore the files on KiCanvas

What it is

DIPcap covers six decades with 24 switches arranged in three groups of eight, using a non-standard but deliberate value series that guarantees full range coverage with the optimal number of switches per decade.

The calibration guarantee is the interesting part: even with ±10% tolerance on individual capacitors, some combination of switches will converge on any target value.

DIPcap board

Specifications

ParameterValue
Range1 nF – 1,130 µF
Max voltage0-35V, or ±50V for values < 1 µF
Tolerance (dead reckoning)±10%
Parasitic capacitance (all off)28 pF (measured)
Output connectorBNC + screw terminal + pin header
Cost to build~$10/unit (panelized at 8)

Why these switch values?

The values per decade are 10, 18, 33, 56 (in units of the decade's base, e.g. ×100pF, ×1nF, etc.). This is not a standard E-series but is drawn from E12 so that common components are available.

Full coverage means every value between 10–100 (in normalized units) is reachable within ±10% by some switch combination, and the next lower decade handles the remaining gap.

The choice of four switches per decade follows from a coverage argument:

  • 2³ = 8 steps per decade — not enough; the gap between steps (100÷8 = 12.5) exceeds the range of the next lower decade group (0–10)
  • 2⁴ = 16 steps per decade — sufficient; four is the minimum power-of-2 count that guarantees full coverage

Schematic

Instructions

There are two ways to use DIPcap:

  1. Dead reckoning — set by remainder approximation to within ±10%
  2. Calibration — engage the series resistor, measure the RC time constant on a scope, and back out the exact capacitance regardless of component tolerance

The instructions are silkscreened on the back of the board.

What's next

DIPresi — the same concept applied to resistance. Binary-weighted resistor bank with DIP switches, covering several decades of resistance.

License

Hardware released under CERN-OHL-S v2. Design files are the Complete Source as defined by the licence.

© 2026 Alex Tait — source location: https://github.com/atait/dipcap

Parts

36
QtyValueFootprintReferences
43.3 uFCapacitor_SMD:C_0805_2012MetricC14, C15, C25, C27
3SMXS-08Katait-sensors:SW_DIP_SPSTx08_P2.54mm_easyEDASW2, SW3, SW4
2180 nFCapacitor_SMD:C_0805_2012MetricC10, C26
2Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ1, J3
11.0 nFCapacitor_SMD:C_0805_2012MetricC1
11.0 uFCapacitor_SMD:C_0805_2012MetricC13
11.8 nFCapacitor_SMD:C_0805_2012MetricC2
110 nFCapacitor_SMD:C_0805_2012MetricC5
110 uFCapacitor_SMD:CP_Elec_5x5.4C17
1100 kΩResistor_SMD:R_0805_2012MetricR1
1100 nFCapacitor_SMD:C_0805_2012MetricC9
1100 uFCapacitor_SMD:CP_Elec_10x10.5C21
118 nFCapacitor_SMD:C_0805_2012MetricC6
118 uFCapacitor_SMD:CP_Elec_6.3x5.7C18
1180 uFCapacitor_SMD:CP_Elec_10x12.5C22
12.2 uFCapacitor_SMD:C_0805_2012MetricC16
13.3 nFCapacitor_SMD:C_0805_2012MetricC3
133 nFCapacitor_SMD:C_0805_2012MetricC7
133 uFCapacitor_SMD:CP_Elec_6.3x5.8C19
1330 nFCapacitor_SMD:C_0805_2012MetricC11
1330 uFCapacitor_SMD:CP_Elec_10x10.5C23
15.6 nFCapacitor_SMD:C_0805_2012MetricC4
156 nFCapacitor_SMD:C_0805_2012MetricC8
156 uFCapacitor_SMD:CP_Elec_10x10C20
1560 nFCapacitor_SMD:C_0805_2012MetricC12
1560 uFCapacitor_SMD:CP_Elec_10x10C24
1BNCConnector_Coaxial:BNC_TEConnectivity_1478204_VerticalJ2
1Conn_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ4
1SW_Push_DPDTatait-sensors:SW_DPDT_XKB_SS-3235S-L3SW1

Questions

How big is the Switch boxes PCB?

It measures 35.6 × 88.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Switch boxes use?

36 parts, built around the SMXS-08K-TP. 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 Switch boxes KiCad files?

From the atait/DIPcap repository on GitHub, at the commit this page was made from: the board is dipcap-src/Switch-boxes.kicad_pcb and its schematic dipcap-src/Switch-boxes.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Switch boxes design in my own project?

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

More from atait/DIPcap

1
  • 2 layers202.2 × 229.8 mmSwitch boxes panelized, the printed circuit board in 3D

    Switch boxes panelized

    atait/DIPcap

    Variable capacitor based on DIP switches ranging from 1nF to 1mF

    881 parts

Similar boards

  • 2 layers65 × 30 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

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

    36 parts1kGPL-3.0
  • 2 layers55 × 70 mmArduino v1, the printed circuit board in 3D

    Arduino v1

    hackclub/OnBoard

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

    36 parts915
  • 2 layers50.4 × 24.8 mmLEDboardRev3, the printed circuit board in 3D

    LEDboardRev3

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    36 parts914
  • 2 layers45.7 × 31.8 mmLEDx16 board, the printed circuit board in 3D

    LEDx16 board

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    36 parts803MIT
  • 2 layers32 × 24 mmEsp onelayer3, the printed circuit board in 3D

    Esp onelayer3

    cnlohr/colorchord

    Chromatic Sound to Light Conversion System

    36 parts712
  • 2 layers69 × 53.8 mmTUSS4470 shield, the printed circuit board in 3D

    TUSS4470 shield

    Neumi/open_echo

    Open Source echo sounder / depth sounder / SONAR for bathymetry and research. Arduino based and compatible.

    36 parts530
  • 2 layers99.1 × 53.3 mmABSIS Mega, the printed circuit board in 3D

    ABSIS Mega

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    36 parts431
  • 2 layers16.1 × 119 mmConnectorL, the printed circuit board in 3D

    ConnectorL

    thpoll83/PolyKybd

    PolyKybd

    36 parts411CERN-OHL-W-2.0