mirror of
https://github.com/D-Modem/hardware.git
synced 2026-11-28 17:48:05 -08:00
docs: rewrite the netlist and placement notes in Simplified Technical English
The prose lines come from the generator scripts, so the scripts change too. Nets, pins, parts and values do not change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6 Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
10 files changed
+24
-22
No files matched your search
@@ -2,7 +2,7 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial Line: placement fixed by the stick
|
||||
|
||||
Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the USB-C end; y = 0 on the centre line. Board top = the side facing the top half.
|
||||
The script `stick.py` makes this file. All coordinates are in mm. The point x = 0 is at the outer face of the RJ11 end, and +x is toward the USB-C end. The point y = 0 is on the centre line. The board top is the side that faces the top half.
|
||||
|
||||
| Item | Position | Notes |
|
||||
|---|---|---|
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial WB: placement fixed by the stick
|
||||
|
||||
Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the USB-C end; y = 0 on the centre line. Board top = the side facing the top half.
|
||||
The script `stick.py` makes this file. All coordinates are in mm. The point x = 0 is at the outer face of the RJ11 end, and +x is toward the USB-C end. The point y = 0 is on the centre line. The board top is the side that faces the top half.
|
||||
|
||||
| Item | Position | Notes |
|
||||
|---|---|---|
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial W: placement fixed by the hood
|
||||
|
||||
Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, +x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. Board top = the side facing the hood's top half.
|
||||
The script `w_hood.py` makes this file. All coordinates are in mm. The point x = 0 is at the front face of the DB25 flange, and +x is toward the USB-C end. The point y = 0 is on the centre line of the hood, and +y is toward the USB-C side. The board top is the side that faces the top half of the hood.
|
||||
|
||||
| Item | Position | Notes |
|
||||
|---|---|---|
|
||||
@@ -13,8 +13,8 @@ Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front fa
|
||||
| RF keep-out | x 39.0–57.5, y -26.4–9.10 (`rf-keepout.dxf`) | no copper on any layer, no parts |
|
||||
| USB-C (top) | mouth at x = 57.8, centred y = 16.0 | HRO TYPE-C-31-M-12; overhangs the tongue edge by 0.7 |
|
||||
| LEDs, 0603 (top) | BT (21.0, 23.0), TR (25.0, 23.0), CD (29.0, 23.0), RD (33.0, 23.0), SD (37.0, 23.0) | under light tubes; nothing else taller than 1.2 mm within 1.5 mm |
|
||||
| Pairing button (top) | (24.0, -20.0) | TS-1088, 2.0 mm tall; reached through a pinhole |
|
||||
| Pairing button (top) | (24.0, -20.0) | TS-1088, 2.0 mm tall; push it through a pinhole |
|
||||
| Height limits | top ≤ 4.8 mm, bottom ≤ 4.8 mm | inside the hood; USB-C is 3.26 |
|
||||
| Keep clear | x < 9.16: board narrows to ±18.0 for the thumbscrew pockets | |
|
||||
|
||||
Thumbscrews (Keystone 2400, 4-40 × 5/16″) engage the computer's jack posts by 4.5 mm.
|
||||
The thumbscrews (Keystone 2400, 4-40 × 5/16″) engage the jack posts of the computer by 4.5 mm.
|
||||
@@ -277,8 +277,9 @@ def main():
|
||||
def write_placement():
|
||||
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 D-Modem Authors -->",
|
||||
f"# {NAME}: placement fixed by the stick", "",
|
||||
"Generated by `stick.py`. Coordinates in mm; x = 0 at the RJ11 end's outer face, +x toward the "
|
||||
"USB-C end; y = 0 on the centre line. Board top = the side facing the top half.", "",
|
||||
"The script `stick.py` makes this file. All coordinates are in mm. The point x = 0 is at the outer face "
|
||||
"of the RJ11 end, and +x is toward the USB-C end. The point y = 0 is on the centre line. "
|
||||
"The board top is the side that faces the top half.", "",
|
||||
"| Item | Position | Notes |", "|---|---|---|",
|
||||
f"| Board outline | `board-outline.dxf` | x {BOARD_X0}–{BOARD_X1}, y ±{BOARD_Y} |",
|
||||
f"| RJ11 (top) | opening at x = {RJ_X0}, rear contact row at x = {RJ_PINS_X:.2f}, centred y = 0 | "
|
||||
|
||||
@@ -346,9 +346,10 @@ def main():
|
||||
def write_placement(engage):
|
||||
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 D-Modem Authors -->",
|
||||
"# pico-serial W: placement fixed by the hood", "",
|
||||
"Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, "
|
||||
"+x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. "
|
||||
"Board top = the side facing the hood's top half.", "",
|
||||
"The script `w_hood.py` makes this file. All coordinates are in mm. "
|
||||
"The point x = 0 is at the front face of the DB25 flange, and +x is toward the USB-C end. "
|
||||
"The point y = 0 is on the centre line of the hood, and +y is toward the USB-C side. "
|
||||
"The board top is the side that faces the top half of the hood.", "",
|
||||
"| Item | Position | Notes |", "|---|---|---|",
|
||||
f"| Board outline | `board-outline.dxf` | front edge x = {BOARD_X0}, main board to x = {BOARD_X1}, "
|
||||
f"USB tongue to x = {TONGUE_X1:.1f}; width ±{BOARD_Y:.1f} (±{BOARD_FRONT_Y:.1f} for x < {BOARD_NARROW_X1:.2f}) |",
|
||||
@@ -358,10 +359,10 @@ def write_placement(engage):
|
||||
f"| RF keep-out | x {KEEP_X0}–{KEEP_X1}, y {KEEP_Y0}–{KEEP_Y1:.2f} (`rf-keepout.dxf`) | no copper on any layer, no parts |",
|
||||
f"| USB-C (top) | mouth at x = {USB_X1:.1f}, centred y = {USB_YC:.1f} | HRO TYPE-C-31-M-12; overhangs the tongue edge by 0.7 |",
|
||||
"| LEDs, 0603 (top) | " + ", ".join(f"{n} ({x}, {LED_Y})" for n, x in LEDS) + " | under light tubes; nothing else taller than 1.2 mm within 1.5 mm |",
|
||||
f"| Pairing button (top) | ({PAIR[0]}, {PAIR[1]}) | TS-1088, 2.0 mm tall; reached through a pinhole |",
|
||||
f"| Pairing button (top) | ({PAIR[0]}, {PAIR[1]}) | TS-1088, 2.0 mm tall; push it through a pinhole |",
|
||||
f"| Height limits | top ≤ {Z_IN - PCB_T / 2 - 0.3:.1f} mm, bottom ≤ {Z_IN - PCB_T / 2 - 0.3:.1f} mm | inside the hood; USB-C is {USB_H} |",
|
||||
f"| Keep clear | x < {BOARD_NARROW_X1:.2f}: board narrows to ±{BOARD_FRONT_Y:.1f} for the thumbscrew pockets | |",
|
||||
"", f"Thumbscrews (Keystone 2400, 4-40 × 5/16″) engage the computer's jack posts by {engage:.1f} mm."]
|
||||
"", f"The thumbscrews (Keystone 2400, 4-40 × 5/16″) engage the jack posts of the computer by {engage:.1f} mm."]
|
||||
open(os.path.join(OUT, "placement.md"), "w").write("\n".join(L) + "\n")
|
||||
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial Line netlist
|
||||
|
||||
Generated by `build_netlist.py`; edit that script, not this file.
|
||||
The script `build_netlist.py` makes this file. Do not edit this file. Edit the script.
|
||||
|
||||
99 parts, 76 nets. DNP = not fitted by default.
|
||||
This board has 99 parts and 76 nets. DNP = not installed by default.
|
||||
|
||||
## Nets
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial W netlist
|
||||
|
||||
Generated by `build_netlist.py`; edit that script, not this file.
|
||||
The script `build_netlist.py` makes this file. Do not edit this file. Edit the script.
|
||||
|
||||
85 parts, 86 nets. DNP = not fitted by default.
|
||||
This board has 85 parts and 86 nets. DNP = not installed by default.
|
||||
|
||||
## Nets
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial WB netlist
|
||||
|
||||
Generated by `build_netlist.py`; edit that script, not this file.
|
||||
The script `build_netlist.py` makes this file. Do not edit this file. Edit the script.
|
||||
|
||||
92 parts, 68 nets. DNP = not fitted by default.
|
||||
This board has 92 parts and 68 nets. DNP = not installed by default.
|
||||
|
||||
## Nets
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
<!-- Copyright (C) 2026 D-Modem Authors -->
|
||||
# pico-serial netlist
|
||||
|
||||
Generated by `build_netlist.py`; edit that script, not this file.
|
||||
The script `build_netlist.py` makes this file. Do not edit this file. Edit the script.
|
||||
|
||||
81 parts, 82 nets. DNP = not fitted by default.
|
||||
This board has 81 parts and 82 nets. DNP = not installed by default.
|
||||
|
||||
## Nets
|
||||
|
||||
|
||||
@@ -814,8 +814,8 @@ def write_kicad(path):
|
||||
def write_md(path):
|
||||
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 D-Modem Authors -->",
|
||||
f"# pico-serial{' W' if W else ' Line' if LINE else ' WB' if WB else ''} netlist", "",
|
||||
"Generated by `build_netlist.py`; edit that script, not this file.", "",
|
||||
f"{len(parts)} parts, {len(nets)} nets. DNP = not fitted by default.", "",
|
||||
"The script `build_netlist.py` makes this file. Do not edit this file. Edit the script.", "",
|
||||
f"This board has {len(parts)} parts and {len(nets)} nets. DNP = not installed by default.", "",
|
||||
"## Nets", "", "| Net | Pins |", "|---|---|"]
|
||||
for net in sorted(nets, key=natural):
|
||||
pins = ", ".join(f"{r}.{p} ({parts[r]['pins'][p][0]})" if parts[r]["pins"] is not TWO else f"{r}.{p}"
|
||||
|
||||
Reference in new issue
Block a user