Skip to the content
2 layers38.1 × 24.1 mmCharging interlock rev a, the printed circuit board in 3D

Charging interlock rev a

dsorensen228/sherman1

Desktop robot project with C++ personality and display runtimes, Python hardware services, Pico 2 firmware, and PCB and enclosure design.

Size
38.1 × 24.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
9
Pads
48
Tracks, vias
86, 3
Routed
Yes
KiCad
KiCad 8 (file 20240108)
Created
16 Oct 2026
Updated
16 Oct 2026

Overview

Charging interlock rev a is an open-source printed circuit board by dsorensen228, from the dsorensen228/sherman repository on GitHub. It is a 2-layer board of 38.1 × 24.1 mm with 17 parts on 9 nets, routed with 86 tracks and 3 vias.

It is built around the SN74HC08N and 2N3904BU. Its parts include 7 resistors, 3 connectors, 1 capacitor, 1 IC and 1 transistor. It belongs with the robots and motor control and computers and single-board computers boards and the RP2040 boards of this library.

Main components

2

README

electronics/pcb/charging-interlock-rev-a/README.md

Sherman Charge-Interlock PCB, Revision A

This 38.10 mm × 24.13 mm two-layer through-hole board is the dedicated compact implementation of the W1 automatic, redundant charge-present motor inhibit from ADR 0004. Plugging power into the Adafruit #4755 remains the only V1 charging action.

Status: three bare boards and parts for two populated assemblies were ordered 2026-09-01. Receiving inspection and electrical qualification remain pending. Installing the board in an unrestrained mobile Sherman is not released until the bench truth table and power-order fault matrix in electronics/TESTING.md pass.

Top assembly view

Ordered fabrication configuration

The OSH Park order used charging-interlock-rev-a-gerbers.zip without unpacking it and the following fabrication settings. The selected service level and final paid total remain in the vendor receipt rather than this repository.

The submitted-order contents and receiving checklist are recorded in order-manifest.md.

SettingValue
Layers2
Size38.10 mm × 24.13 mm (detected from the outline)
MaterialFR-4
Thickness1.6 mm / 0.063 inch
Copper1 oz outer layers
FinishOSH Park ENIG
Solder mask / legendVendor default; front legend required
AssemblyNone—bare PCB only
Quantity3 bare boards ordered; at least 2 good boards required

Populate two: one for Sherman and one complete tested spare. Keep the third bare as a fabrication spare unless receiving inspection rejects one of the first two.

The generated layout uses 0.4064 mm signal tracks, 0.6096 mm supply/ground tracks, 0.3048 mm minimum copper clearance, 0.6096 mm minimum via drill, and 0.8128 mm minimum component drill. These are deliberately conservative relative to the selected vendor's standard two-layer process.

Connector pinout—component side, text readable

Square copper pads are pin 1. Do not use ribbon color as identity; continuity check each completed harness endpoint.

ConnectorPin 1Pin 2Pin 3Pin 4Pin 5
J1 PICOPico pin 36 3V3(OUT)Pico pin 23 GNDPico pin 5 GP3Pico pin 16 GP12Pico pin 9 GP6 / CHARGE_ABSENT observer
J2 CHARGER#4755 VBUS#4755 PGOOD#4755 GND——
J3 OUTPUTSPololu #2808-M CTRLDRV8833 SLP/nSLEEPdriver/power-gate GND——

J1.5 is an input-only observation at the Pico. Firmware must never drive it. J2.2 PGOOD is active-low/open-drain. Q1 supplies a second immediate inhibit from raw VBUS.

Ordered parts for two populated boards

bom.csv is the per-board BOM. The ordered and required totals are:

PartNeeded for 2OrderedMouser #
TI SN74HC08N PDIP-1422595-SN74HC08N
TE 1-2199298-3 14-pin DIP socket22571-1-2199298-3
onsemi 2N3904BU25512-2N3904BU
KEMET C315C104K5R5TA 100 nF X7R21080-C315C104K5R5TA
Yageo MFR-25FRF52-10K 10 kOhm 1%810603-MFR-25FRF5210K
Yageo MFR-25FRF52-47K 47 kOhm 1%210603-MFR-25FRF52-47K
Yageo MFR-25FBF52-100K 100 kOhm 1%210603-MFR-25FBF52-100K
Yageo MFR-25FRF52-4K7 4.7 kOhm 1%210603-MFR-25FRF52-4K7
Samtec TSW-140-07-L-S 2.54 mm male header22 positions40 positions200-TSW14007LS

The order covers both PCB assemblies with the stated overage. It does not cover the four separate 10 kOhm pull-downs at the DRV8833 AIN1/AIN2/BIN1/BIN2 inputs; those come from general wiring stock. R7 on this PCB is already the 4.7 kOhm SLEEP_EN pull-down, so do not add a second one at the driver.

The resistors mount vertically at R1–R7; insulate the folded lead with heat-shrink if it could touch the resistor body or an adjacent lead. Install the DIP socket first, align its notch with the U1 outline/notch, and insert U1 only after resistance and supply-short checks pass. Q1 is the exact onsemi 2N3904BU; with its flat face following the board outline, pins are E-B-C at 1-2-3.

Assembly and first-power sequence

  1. Bare-board inspect both sides; reject shorts, broken annular rings, damaged mask, or incorrect outline/drills.
  2. With no parts installed, verify no continuity between 3V3, VBUS, and GND; verify all same-name connector/pad paths from netlist.csv.
  3. Install resistors and C1, then the U1 socket, Q1, and headers. Do not install U1 yet.
  4. Recheck resistor values in circuit where meaningful and verify no supply short. Apply current-limited 3.3 V to J1.1/J1.2; confirm the socket supply pins are correct, then remove power and install U1.
  5. Keep the battery, motor rail, driver VIN, and motors disconnected. Perform the Section 10 truth table in wiring-guide.md.
  6. Only after both populated boards pass, label one SHERMAN and one SPARE and record the measurements in the P3-PWR-001 evidence packet.

Regeneration and verification

generate.py is the editable source of truth. It deterministically creates the KiCad board, assembly SVG, CSVs, Gerbers, drill files, job file, verification report, and order ZIP:

sh
python3 electronics/pcb/charging-interlock-rev-a/generate.py
python3 -m unittest electronics.tests.test_charging_interlock_pcb

The generator performs pad/track clearance and full-net connectivity checks. The order ZIP was also independently parsed as a two-copper-layer stack with top/bottom mask, front legend, profile, and separate plated/non-plated drills.

References: TI SN74HC08N, onsemi 2N3904 datasheet, and OSH Park two-layer specifications.

Parts

17
QtyValueFootprintReferences
410kSherman:R_Axial_Vertical_P2.54mmR1, R4, R5, R6
1100kSherman:R_Axial_Vertical_P2.54mmR3
1100nFSherman:C_Disc_D5.0mm_W2.5mm_P2.54mmC1
12N3904BUSherman:TO-92_InlineQ1
14.7kSherman:R_Axial_Vertical_P2.54mmR7
147kSherman:R_Axial_Vertical_P2.54mmR2
1CHARGERSherman:PinHeader_1x03_P2.54mm_VerticalJ2
1OUTPUTSSherman:PinHeader_1x03_P2.54mm_VerticalJ3
1PICOSherman:PinHeader_1x05_P2.54mm_VerticalJ1
1SN74HC08NSherman:DIP-14_W7.62mm_SocketU1

The 13 most common of 17 parts.

Similar boards

  • 4 layers207 × 78.7 mmRpihw, the printed circuit board in 3D

    Rpihw

    quorten/rpihw

    Raspberry Pi SPI devices board design

    101 partsUnlicense
  • 2 layers74.6 × 94.5 mmE1 power dist 2s, the printed circuit board in 3D

    E1 power dist 2s

    Telfair8632/sr71-600

    Twin-engine 600 mm RC Blackbird: parametric FreeCAD CAD, a 14-level Pico 2 firmware verification ladder, and a complete QA-evidenced digital build package

    41 parts2MIT
  • 2 layers125.2 × 61.9 mmPDP-8-Serial IC, the printed circuit board in 3D

    PDP-8-Serial IC

    sierrafoxtrot/PDP-8_Serial_AIO

    A W070 compatible serial interface for the original DEC PDP-8

    61 partsCERN-OHL-W-2.0
  • 2 layersSchematics, the printed circuit board in 3D

    Schematics

    jamestiotio/compstruct

    SUTD 2020 50.002 Computation Structures Code Dump

    13 parts3MIT
  • 2 layers25.5 × 43.5 mmBlkhurst USB C, the printed circuit board in 3D

    Blkhurst USB C

    blkhurst/kicad-usb-c

    This USB-C Powered AND Gate is the first PCB I have designed using KiCad, and serves as a proof of concept for integrating USB-C power into future projects. The design includes:

    12 parts
  • 2 layers100 × 140 mmFULL PC, the printed circuit board in 3D

    FULL PC

    Iluhaprog/IN-machine

    Homemade computer architecture. Schemes, model and tools.

    97 parts

Questions

How big is the Charging interlock rev a PCB?

It measures 38.1 × 24.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Charging interlock rev a use?

17 parts, built around the SN74HC08N and 2N3904BU. 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 Charging interlock rev a KiCad files?

From the dsorensen228/sherman repository on GitHub, at the commit this page was made from: the board is electronics/pcb/charging-interlock-rev-a/charging-interlock-rev-a.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Charging interlock rev a design in my own project?

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