Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17,900 changes: 17,837 additions & 63 deletions PCB/DroidCANBridge.kicad_pcb

Large diffs are not rendered by default.

32 changes: 29 additions & 3 deletions PCB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ power and signals flowing left to right:
that tracks enclose.
- Silkscreen: reference designators and values are hidden (they remain on the Fab layer for
assembly drawings). The top labels each connector, jumper setting and the boot button, and the
FTDI pins from the cable's side (GND, CTS, VCC, RXI, TXO, DTR). The back carries the board name,
revision and the full pinout legend.
FTDI pins from the cable's side (GND, CTS, VCC, RXI, TXO, DTR). The back carries the PunderWorks
logo (`PunderWorks_Logo_14mm`, a board-only footprint in `libraries/DroidCANBridge.pretty`,
copied from DroidPowerSense with its source image in `libraries/logos/`), the board name and
version, the repo URL, and a 6.2 mm QR code to github.com/PunderWorks/DroidCANBridge.
- `scripts/pcb/place.py` produced the starting placement. Once the board is edited in KiCad, the
board file is the source of truth.

Expand Down Expand Up @@ -240,10 +242,34 @@ Accepted findings:
- `bom_check.py` flags H1/H2 for no MPN or LCSC: they are drill-only, nothing to buy.
- The WAGO "5V / G" edge labels sit between each terminal and the board edge, under the
overhanging levers: hidden from directly above, visible at an angle and with the levers open.
The back legend repeats the polarity.
The back pinout legend that repeated the polarity was replaced by the logo and QR code
(2026-11-08), so the edge labels are now the only polarity marking.
- KiCad's stock footprints draw silkscreen at 0.12 mm, under JLC's 0.15 mm line minimum. Common
practice; outlines may print faint. Not changed.

## Fab files

[`production/`](production/) holds the Gerbers and job file (2 layers, 1.6 mm) and the PTH/NPTH
drills with maps in `production/gerbers/`, and the purchasing BOM (`stackup bom`, with LCSC numbers
for JLCPCB) and the placement file in `production/bom/`. The placement file lists only the 20
JLCPCB-placed parts: the BOM's hand-soldered connectors and headers (J1-J8, marked Hand/DNP) are
left out. Check JLCPCB's placement preview for rotation and pin 1 on U1-U3, Q1, D1-D3 and SW1.

Regenerate everything after any board change. Refill and save the pours first, because the
exporters plot the fills stored in the board file:

```sh
K=/Applications/KiCad/KiCad.app/Contents/MacOS/kicad-cli; B=PCB/DroidCANBridge.kicad_pcb
$K pcb drc --refill-zones --save-board --severity-all -o /tmp/drc.rpt $B # refill, save, and check
$K pcb export gerbers --board-plot-params -o PCB/production/gerbers/ $B
$K pcb export drill --excellon-separate-th --generate-map --map-format gerberx2 -o PCB/production/gerbers/ $B
$K pcb export pos --format csv --units mm --side both --exclude-dnp -o PCB/production/bom/DroidCANBridge-pos.csv $B
stackup bom PCB/stackup/board.kdl --locked -o PCB/production/bom/DroidCANBridge-bom.csv
```

`stackup bom` exits 1 because H1/H2 have no MPN (see accepted findings) but still writes the CSV.
Then drop the BOM's Hand/DNP references from the placement file.

## Bench checklist (first board)

1. Before power: inspect U1/U2/U3 orientation, D_IN/D_FTDI bands (cathode toward VSYS), D_NRST and
Expand Down
Binary file added PCB/assets/DroidCANBridge-v1-front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added PCB/assets/DroidCANBridge-v1-rear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed PCB/assets/DroidCANBridge.png
Binary file not shown.
1,492 changes: 1,492 additions & 0 deletions PCB/libraries/DroidCANBridge.pretty/PunderWorks_Logo_10mm.kicad_mod

Large diffs are not rendered by default.

1,492 changes: 1,492 additions & 0 deletions PCB/libraries/DroidCANBridge.pretty/PunderWorks_Logo_14mm.kicad_mod

Large diffs are not rendered by default.

1,492 changes: 1,492 additions & 0 deletions PCB/libraries/DroidCANBridge.pretty/PunderWorks_Logo_18mm.kicad_mod

Large diffs are not rendered by default.

Binary file added PCB/libraries/logos/PunderWorks-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions PCB/production/bom/DroidCANBridge-bom.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Refs,Quantity,Value,Footprint,MF,MPN,LCSC,Mouser,DigiKey,Hand,DNP
"C4,C6,C7","3","100nF","Capacitor_SMD:C_0603_1608Metric","YAGEO","CC0603KRX7R9BB104","C14663","","","",""
"R4","1","10kΩ","Resistor_SMD:R_0603_1608Metric","UNI-ROYAL","0603WAF1002T5E","C25804","","","",""
"R1","1","120Ω","Resistor_SMD:R_0805_2012Metric","UNI-ROYAL","0805W8F1200T5E","C17437","","","",""
"R2,R3","2","1kΩ","Resistor_SMD:R_0603_1608Metric","UNI-ROYAL","0603WAF1001T5E","C21190","","","",""
"C2,C3,C8","3","1µF","Capacitor_SMD:C_0603_1608Metric","Samsung Electro-Mechanics","CL10A105KB8NNNC","C15849","","","",""
"J7","1","3V3 | VIO | 5V","Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical","XFCN","PZ254V-11-03P","C2937625","","","Yes","Yes"
"C1,C5","2","4.7µF","Capacitor_SMD:C_0603_1608Metric","Samsung Electro-Mechanics","CL10A475KO8NNNC","C19666","","","",""
"U1","1","AP2112K-3.3","Package_TO_SOT_SMD:SOT-23-5","Diodes Incorporated","AP2112K-3.3TRG1","C51118","621-AP2112K-3.3TRG1","","",""
"D3","1","BAT54S","Package_TO_SOT_SMD:SOT-23","MDD (Microdiode Semiconductor)","BAT54S","C408389","","","",""
"Q1","1","BSS138","Package_TO_SOT_SMD:SOT-23","onsemi","BSS138","C52895","","","",""
"J8","1","FTDI","Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical","XFCN","PZ254V-11-06P","C492405","","","Yes","Yes"
"J3,J4,J6","3","JST XH 2-pin","Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical","JST","B2B-XH-A(LF)(SN)","C158012","","","Yes","Yes"
"H1,H2","2","MountingHole","MountingHole:MountingHole_3.2mm_M3","","","","","","",""
"D1,D2","2","SS14","Diode_SMD:D_SMA","MDD (Microdiode Semiconductor)","SS14","C2480","","","",""
"U2","1","STM32C092FxPx","Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm","STMicroelectronics","STM32C092FCP6","C44847704","511-STM32C092FCP6","","",""
"U3","1","TCAN334G","Package_SO:SOIC-8_3.9x4.9mm_P1.27mm","Texas Instruments","TCAN334GDR","C189939","595-TCAN334GDR","","",""
"J5","1","TERM","Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical","XFCN","PZ254V-11-02P","C492401","","","Yes","Yes"
"SW1","1","TS-1187A-B-A-B","DroidCANBridge:XKB_TS-1187A-B-A-B","XKB Connection","TS-1187A-B-A-B","C318884","","","",""
"J1,J2","2","WAGO 2601-1102","DroidCANBridge:WAGO_2601-1102_Horizontal","WAGO","2601-1102","C7509568","","","Yes","Yes"
21 changes: 21 additions & 0 deletions PCB/production/bom/DroidCANBridge-pos.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Ref,Val,Package,PosX,PosY,Rot,Side
"C1","4.7µF","C_0603_1608Metric",124.300000,-104.400000,90.000000,top
"C2","1µF","C_0603_1608Metric",126.300000,-107.600000,0.000000,top
"C3","1µF","C_0603_1608Metric",129.000000,-107.800000,90.000000,top
"C4","100nF","C_0603_1608Metric",129.600000,-118.800000,90.000000,top
"C5","4.7µF","C_0603_1608Metric",131.600000,-118.800000,90.000000,top
"C6","100nF","C_0603_1608Metric",129.200000,-114.400000,90.000000,top
"C7","100nF","C_0603_1608Metric",120.000000,-111.800000,-90.000000,top
"C8","1µF","C_0603_1608Metric",133.200000,-119.300000,90.000000,top
"D1","SS14","D_SMA",119.600000,-103.600000,180.000000,top
"D2","SS14","D_SMA",119.600000,-107.800000,180.000000,top
"D3","BAT54S","SOT-23",136.062500,-119.300000,0.000000,top
"Q1","BSS138","SOT-23",136.600000,-128.199999,0.000000,top
"R1","120Ω","R_0805_2012Metric",108.800000,-118.500000,90.000000,top
"R2","1kΩ","R_0603_1608Metric",135.000000,-125.600000,0.000000,top
"R3","1kΩ","R_0603_1608Metric",134.775000,-131.200000,180.000000,top
"R4","10kΩ","R_0603_1608Metric",122.000000,-123.000000,90.000000,top
"SW1","TS-1187A-B-A-B","XKB_TS-1187A-B-A-B",116.500000,-124.500000,0.000000,top
"U1","AP2112K-3.3","SOT-23-5",127.600000,-103.500000,0.000000,top
"U2","STM32C092FxPx","TSSOP-20_4.4x6.5mm_P0.65mm",123.737500,-117.000000,180.000000,top
"U3","TCAN334G","SOIC-8_3.9x4.9mm_P1.27mm",114.800000,-113.905000,180.000000,top
Loading
Loading