Line stick: routed PCB, fab files, renders; CI checks its DRC

Fully routed: DRC 0 errors, 0 unconnected, matches its schematic (the
2.5 mm isolation rule included). Gerbers and the JLC placement file in
fab/; the two Skyworks chips and the RJ11 are hand-fitted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
This commit is contained in:
Claude committed 2026-10-22 15:52:07 +00:00
1 parent 7dc31c070e
commit 3e1b87be7e
7 files changed
+36338 -2

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: CERN-OHL-S-2.0
# Copyright (C) 2026 Neo-Desktop
#
# For both boards (the hood board and pico-serial W): the generated hardware
# For every board (the hood board, pico-serial W and pico-serial Line): the generated hardware
# files are up to date with the netlist script, the schematic passes ERC, and
# the PCB passes DRC and matches the schematic. (The PCBs aren't re-routed
# here: that needs Freerouting and takes minutes.)
@@ -42,6 +42,6 @@ jobs:
- name: DRC, and the PCBs match their schematics
run: |
for b in pico-serial pico-serial-w; do
for b in pico-serial pico-serial-w pico-serial-line; do
kicad-cli pcb drc --schematic-parity --severity-error --exit-code-violations -o drc.rpt hardware/kicad/$b.kicad_pcb || { cat drc.rpt; exit 1; }
done
+51
View File
@@ -299,3 +299,54 @@ Not reviewed by a person, nothing built.
- **Before ordering:** everything under "Before ordering" above, plus a
test print of the hood, to confirm the screw holes, LED and button
positions.
## pico-serial Line (phone-line stick)
![Line top](kicad/render-line-top.png)
![Line bottom](kicad/render-line-bottom.png)
A USB-C stick for a telephone line, shaped like Apple's USB Modem
([SPEC-L.md](../SPEC-L.md)): the RP2040 core and a Skyworks Si3056 +
Si3018 DAA. The modem itself is D-Modem-RE on the computer or phone
(`dmodemd --usb`). Every script takes `--variant line`; the shell is
`enclosure/stick.py`.
```sh
python3 hardware/netlist/build_netlist.py --variant line
python3 hardware/kicad/build_schematic.py --variant line
python3 hardware/enclosure/stick.py # the shell; needs CadQuery
python3 hardware/kicad/build_pcb.py --variant line --kicad-fp kicad-footprints \
--route --freerouting freerouting-1.9.0.jar --fab
```
**Status:** fully routed (190 vias, 1036 tracks). KiCad's DRC finds no
errors and nothing unconnected, and the PCB matches its schematic; ERC is
clean. Not reviewed by a person, nothing built: **have the line side and
the isolation gap checked by someone who knows telecom safety before it
goes near a phone line.**
- **Board:** 78.4 × 20.6 mm, 4 layers, on the outline `stick.py` sets.
The RJ11 at the front edge, its opening flush with the stick's end;
the USB-C at the back.
- **Line side** (front, about 30 mm): the surge suppressor, the 1.25 A
telecom fuse, the bridge, the Si3018 and its hook switch, DC
termination and caller-ID parts, on both sides of the board. **No
ground plane or pour** (Skyworks AN67): the planes and pours stop at
the isolation gap.
- **Isolation gap:** a 2.5 mm band across the board, every layer, with no
tracks, vias or pours; only the four Y2 capacitors (C1, C2: the data
path; C8, C9: TIP and RING to ground) straddle it. A DRC rule
(`pico-serial-line.kicad_dru`) also holds 2.5 mm between any line-side
and USB-side copper.
- **Net classes:** `TipRing` (TIP, RING, the bridge's +: the ringing
signal and loop current) 0.3 mm tracks, 0.4 mm clearance; `Line` (the
Si3018's low-voltage side) 0.25 mm.
- **USB side:** the Si3056 by the gap, the one screw, the two LEDs under
the shell's light tubes, the RP2040 with its flash underneath, then the
USB-C with its ESD, fuse and regulator.
- **Hand-fitted or consigned:** the Si3056 and Si3018 (DigiKey; the
Si3056 is "not for new designs") and the through-hole RJ11. They're in
neither the JLC BOM nor the CPL.
- **Not checked yet:** the RJ11's body against a real one (its drawing
gives the pins and pegs; the body's edges are read off it), and the
shell's fit (not printed).
@@ -0,0 +1,85 @@
Designator,Mid X,Mid Y,Layer,Rotation
C1,2.200mm,-77.000mm,Bottom,0
C4,5.600mm,-59.000mm,Bottom,90
C5,5.600mm,-56.000mm,Bottom,90
C6,0.000mm,-50.000mm,Bottom,0
C7,-5.000mm,-54.000mm,Bottom,0
C8,-4.900mm,-59.900mm,Bottom,0
C9,1.400mm,-60.650mm,Bottom,0
C10,1.400mm,-59.600mm,Bottom,0
C11,-6.000mm,-61.200mm,Bottom,0
C12,-6.000mm,-62.200mm,Bottom,0
C13,-6.000mm,-63.200mm,Bottom,0
C14,-2.000mm,-50.000mm,Bottom,0
C15,1.400mm,-61.700mm,Bottom,0
C18,5.600mm,-64.000mm,Bottom,90
D2,-8.600mm,-18.900mm,Bottom,90
D3,-4.000mm,-25.800mm,Bottom,0
D4,4.000mm,-25.800mm,Bottom,0
F2,0.000mm,-3.000mm,Bottom,0
Q1,-8.500mm,-14.400mm,Bottom,90
Q2,-5.000mm,-14.400mm,Bottom,90
Q3,5.000mm,-14.400mm,Bottom,90
Q4,8.500mm,-14.400mm,Bottom,90
Q5,8.300mm,-18.400mm,Bottom,0
R3,-2.200mm,-77.000mm,Bottom,0
R11,8.000mm,-36.000mm,Bottom,90
R12,9.000mm,-36.000mm,Bottom,90
R13,8.000mm,-38.400mm,Bottom,90
R16,-5.000mm,-7.200mm,Bottom,0
R18,2.600mm,-10.600mm,Bottom,0
R19,5.000mm,-7.200mm,Bottom,0
R20,5.500mm,-21.600mm,Bottom,0
R21,0.000mm,-18.400mm,Bottom,0
R22,-2.600mm,-10.600mm,Bottom,0
R23,2.200mm,-21.400mm,Bottom,0
R24,2.200mm,-22.600mm,Bottom,0
R25,-7.600mm,-23.600mm,Bottom,90
R26,7.600mm,-23.600mm,Bottom,90
R27,-1.400mm,-28.400mm,Bottom,0
R28,1.400mm,-28.400mm,Bottom,0
U2,0.000mm,-65.400mm,Bottom,0
C2,-7.600mm,-70.000mm,Top,90
C3,-7.600mm,-61.800mm,Top,90
C16,-0.700mm,-49.600mm,Top,90
C17,6.500mm,-48.550mm,Top,90
C19,6.000mm,-38.600mm,Top,90
C20,-6.000mm,-38.600mm,Top,90
C21,-0.400mm,-31.700mm,Top,90
C22,2.600mm,-31.700mm,Top,90
C23,5.000mm,-19.600mm,Top,0
C24,5.600mm,-29.700mm,Top,90
C25,1.400mm,-20.300mm,Top,0
C26,8.400mm,-21.000mm,Top,90
C27,8.400mm,-24.400mm,Top,90
C28,5.000mm,-17.500mm,Top,0
C29,-7.800mm,-31.700mm,Top,-90
C30,7.800mm,-31.700mm,Top,-90
D1,7.800mm,-64.400mm,Top,90
D5,8.600mm,-45.500mm,Top,90
D6,-8.600mm,-45.500mm,Top,90
F1,7.800mm,-69.600mm,Top,90
FB1,-8.400mm,-27.000mm,Top,90
FB2,8.400mm,-27.000mm,Top,90
J1,0.000mm,-75.450mm,Top,0
R1,-3.400mm,-68.100mm,Top,90
R2,2.800mm,-68.100mm,Top,90
R4,5.200mm,-67.600mm,Top,90
R5,4.200mm,-67.600mm,Top,90
R6,-0.650mm,-61.200mm,Top,90
R7,-1.750mm,-61.200mm,Top,90
R8,0.500mm,-49.600mm,Top,90
R9,-6.200mm,-52.000mm,Top,90
R10,5.600mm,-52.400mm,Top,90
R14,-3.400mm,-34.300mm,Top,0
R15,5.000mm,-34.300mm,Top,0
R17,-8.400mm,-23.400mm,Top,90
R29,7.100mm,-45.500mm,Top,90
R30,-7.100mm,-45.500mm,Top,90
RV1,-5.600mm,-18.600mm,Top,0
SW1,-8.400mm,-56.000mm,Top,90
SW2,8.400mm,-56.000mm,Top,90
U1,0.000mm,-56.000mm,Top,180
U3,-7.000mm,-65.600mm,Top,90
U4,-0.400mm,-68.000mm,Top,-90
Y1,3.800mm,-49.400mm,Top,0
1 Designator Mid X Mid Y Layer Rotation
2 C1 2.200mm -77.000mm Bottom 0
3 C4 5.600mm -59.000mm Bottom 90
4 C5 5.600mm -56.000mm Bottom 90
5 C6 0.000mm -50.000mm Bottom 0
6 C7 -5.000mm -54.000mm Bottom 0
7 C8 -4.900mm -59.900mm Bottom 0
8 C9 1.400mm -60.650mm Bottom 0
9 C10 1.400mm -59.600mm Bottom 0
10 C11 -6.000mm -61.200mm Bottom 0
11 C12 -6.000mm -62.200mm Bottom 0
12 C13 -6.000mm -63.200mm Bottom 0
13 C14 -2.000mm -50.000mm Bottom 0
14 C15 1.400mm -61.700mm Bottom 0
15 C18 5.600mm -64.000mm Bottom 90
16 D2 -8.600mm -18.900mm Bottom 90
17 D3 -4.000mm -25.800mm Bottom 0
18 D4 4.000mm -25.800mm Bottom 0
19 F2 0.000mm -3.000mm Bottom 0
20 Q1 -8.500mm -14.400mm Bottom 90
21 Q2 -5.000mm -14.400mm Bottom 90
22 Q3 5.000mm -14.400mm Bottom 90
23 Q4 8.500mm -14.400mm Bottom 90
24 Q5 8.300mm -18.400mm Bottom 0
25 R3 -2.200mm -77.000mm Bottom 0
26 R11 8.000mm -36.000mm Bottom 90
27 R12 9.000mm -36.000mm Bottom 90
28 R13 8.000mm -38.400mm Bottom 90
29 R16 -5.000mm -7.200mm Bottom 0
30 R18 2.600mm -10.600mm Bottom 0
31 R19 5.000mm -7.200mm Bottom 0
32 R20 5.500mm -21.600mm Bottom 0
33 R21 0.000mm -18.400mm Bottom 0
34 R22 -2.600mm -10.600mm Bottom 0
35 R23 2.200mm -21.400mm Bottom 0
36 R24 2.200mm -22.600mm Bottom 0
37 R25 -7.600mm -23.600mm Bottom 90
38 R26 7.600mm -23.600mm Bottom 90
39 R27 -1.400mm -28.400mm Bottom 0
40 R28 1.400mm -28.400mm Bottom 0
41 U2 0.000mm -65.400mm Bottom 0
42 C2 -7.600mm -70.000mm Top 90
43 C3 -7.600mm -61.800mm Top 90
44 C16 -0.700mm -49.600mm Top 90
45 C17 6.500mm -48.550mm Top 90
46 C19 6.000mm -38.600mm Top 90
47 C20 -6.000mm -38.600mm Top 90
48 C21 -0.400mm -31.700mm Top 90
49 C22 2.600mm -31.700mm Top 90
50 C23 5.000mm -19.600mm Top 0
51 C24 5.600mm -29.700mm Top 90
52 C25 1.400mm -20.300mm Top 0
53 C26 8.400mm -21.000mm Top 90
54 C27 8.400mm -24.400mm Top 90
55 C28 5.000mm -17.500mm Top 0
56 C29 -7.800mm -31.700mm Top -90
57 C30 7.800mm -31.700mm Top -90
58 D1 7.800mm -64.400mm Top 90
59 D5 8.600mm -45.500mm Top 90
60 D6 -8.600mm -45.500mm Top 90
61 F1 7.800mm -69.600mm Top 90
62 FB1 -8.400mm -27.000mm Top 90
63 FB2 8.400mm -27.000mm Top 90
64 J1 0.000mm -75.450mm Top 0
65 R1 -3.400mm -68.100mm Top 90
66 R2 2.800mm -68.100mm Top 90
67 R4 5.200mm -67.600mm Top 90
68 R5 4.200mm -67.600mm Top 90
69 R6 -0.650mm -61.200mm Top 90
70 R7 -1.750mm -61.200mm Top 90
71 R8 0.500mm -49.600mm Top 90
72 R9 -6.200mm -52.000mm Top 90
73 R10 5.600mm -52.400mm Top 90
74 R14 -3.400mm -34.300mm Top 0
75 R15 5.000mm -34.300mm Top 0
76 R17 -8.400mm -23.400mm Top 90
77 R29 7.100mm -45.500mm Top 90
78 R30 -7.100mm -45.500mm Top 90
79 RV1 -5.600mm -18.600mm Top 0
80 SW1 -8.400mm -56.000mm Top 90
81 SW2 8.400mm -56.000mm Top 90
82 U1 0.000mm -56.000mm Top 180
83 U3 -7.000mm -65.600mm Top 90
84 U4 -0.400mm -68.000mm Top -90
85 Y1 3.800mm -49.400mm Top 0
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB