From 2f2d3216111d7bf183a1e1eec1b06ca509c70f08 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 18 Oct 2026 11:35:27 +0000 Subject: [PATCH] docs: pico-serial W board in the hardware README; SPEC-W next steps Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8 --- SPEC-W.md | 14 ++++++++----- hardware/README.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 5 deletions(-) diff --git a/SPEC-W.md b/SPEC-W.md index c12e2be..e9bd3ec 100644 --- a/SPEC-W.md +++ b/SPEC-W.md @@ -364,8 +364,12 @@ pairing window open, steady = connected. throughput at 115,200 and 230,400. **Also test the radio inside a DB25 hood against a computer's back panel**: this decides the enclosure (§2.1). None of this needs a new board. -3. Add the W variant to `hardware/netlist/build_netlist.py`: the RM2, the - moved GPIOs, the button and fitted LEDs. -4. W board layout inside `hardware/enclosure/out/board-outline.dxf`, - following `placement.md` (RM2, keep-out, USB-C, LEDs, button, screw - holes). +3. ~~Add the W variant to `hardware/netlist/build_netlist.py`~~: done + (`--variant w`): the RM2, the moved GPIOs, the button and fitted LEDs; + schematic `hardware/kicad/pico-serial-w.kicad_sch`. +4. ~~W board layout~~: done, `hardware/kicad/pico-serial-w.kicad_pcb` + (see hardware/README.md, "pico-serial W"). Autorouted; needs a + person's review before ordering. +5. Firmware: `-DPS_BOARD=w` builds BLE NUS + control service, SPP and + pairing (firmware/README.md). Built, not yet run on a radio: prove it + on the Pico W bench rig (step 2) first. diff --git a/hardware/README.md b/hardware/README.md index 36fbe0f..8338037 100644 --- a/hardware/README.md +++ b/hardware/README.md @@ -242,3 +242,54 @@ python3 hardware/kicad/build_pcb.py --kicad-fp kicad-footprints \ - Bench test the SP3238E's leakage while shut down (SPEC §8). If it fails, the DCE chip changes to the TI TRS3238E (TSSOP-28) and its footprint changes too. + +## pico-serial W (Bluetooth) + +![W top](kicad/render-w-top.png) +![W bottom](kicad/render-w-bottom.png) + +The same circuit plus a Raspberry Pi RM2 radio module, on a larger board +for the 3D-printed hood ([SPEC-W.md](../SPEC-W.md), `enclosure/`). +Every script takes `--variant w`; its files are `pico-serial-w.*`. + +```sh +python3 hardware/netlist/build_netlist.py --variant w +python3 hardware/kicad/build_schematic.py --variant w +python3 hardware/kicad/build_pcb.py --variant w --kicad-fp kicad-footprints \ + --route --freerouting freerouting-1.9.0.jar --fab +``` + +**Status:** fully routed. DRC finds no errors and nothing unconnected, +and the PCB matches its schematic; ERC is clean. CI checks both boards. +Not reviewed by a person, nothing built. + +- **Circuit changes** (SPEC-W §3): the RM2 on GP23-25 and GP29, wired as on + Pico W (470 Ω and 10 kΩ into the shared GP24); 10 µF + 100 nF + 22 µF + at its supply; five LEDs, fitted (BT, TR, CD on RP2040 pins; RD and SD + on the RM2's own GPIOs); VBUS sense on the RM2's GPIO0; a pairing button + on GP28 (so no GP28 test pad). +- **Outline and fixed positions** come from `enclosure/w_hood.py`, not + from this script: the outline, three M2 screw holes, the RM2 (antenna + end flush with the board's back edge), the USB-C in its tongue, the + LEDs under the hood's light tubes and the button under its pinhole. + Change them there and both stay in step. +- **Front half:** the DB25, both RS-232 chips, the RP2040, flash, crystal + and buttons are placed as on the hood board. The front strip is 0.5 mm + narrower (thumbscrew pockets), so chip A and its charge pumps sit + 0.6 mm further in. +- **Antenna keep-out:** a rule area with no copper on any layer (tracks, + vias, pads, pours, planes) over the strip of board inside the RM2's + 35.5 × 18.5 mm keep-out. The rest of it is air inside the hood. +- **Screw holes:** 2.3 mm, unplated, with 5.4 mm kept free of copper and + parts (screw head and the hood's bosses). They're board-only footprints + (`lib/pico-serial.pretty/MountingHole_M2`), not in the schematic. +- **RM2 footprint:** `lib/make_footprints.py`, from the datasheet's + Figure 6: 21 pads, 1.5 mm pitch, reaching 0.5 mm past the module. Check + it against a real module before ordering. +- **Assembly:** the RM2 isn't stocked at LCSC, so it's marked + hand-fitted and is in neither the BOM nor the CPL. Solder it by hand or + send it to JLC as a consigned part. The DB25 is hand-soldered as on the + hood board. +- **Before ordering:** everything under "Before ordering" above, plus a + test print of the hood, to confirm the screw holes, LED and button + positions.