mirror of
https://github.com/D-Modem/hardware.git
synced 2026-11-28 17:48:05 -08:00
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:
7 files changed
+36338
-2
No files matched your search
@@ -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
|
||||
@@ -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)
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
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 |
Reference in new issue
Block a user