Commit Graph

101 Commits

Author SHA1 Message Date
33b62d7052 Drogheda: T12 (MFF2 repoint as a replayable script) + kicad submodule bump
scripts/2026-09-15_v6_T12_sim_dual_footprint.py moves the U22 edits into the
T-script chain. Idempotent, dry-run by default, .T12bak backups, UUID invariant
guard, and a gate-0 assertion on the MFF2 land pattern. Verified to reproduce the
hand edits byte-for-byte. Part 2 (nano-SIM holder + 0R selects) pending the
holder datasheet.
2026-09-15 10:58:36 -06:00
564c3e450d auto-sync 2026-09-10 18:00 2026-09-10 18:00:14 -06:00
b877f0458c auto-sync 2026-09-09 18:00 2026-09-09 18:00:15 -06:00
7f7a3d5d39 kicad submodule: C123 placement fix -> 47d1a1e
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-07 16:55:54 +00:00
61e10d8145 kicad submodule: external docs (git guide + Copper Plan EN/ES) -> 1a99fb3
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-07 16:47:21 +00:00
cb93840518 v6 Copper Plan: U18 V_BCKP (pin 36) decoupling fix
- pin 36 is V_BCKP on /3V3 (always-on), deliberately not /3V3_GNSS:
  RTC + ephemeris survive when U21's switched rail is off
- no /3V3 cap existed within 19 mm of the pin; spare Cu4 (100nF,
  already /3V3-GND) reassigned to sit at pin 36
- C123 clarified: U18 has only two VCC pins; C123 is the U21-output
  third 100nF, not a VCC-pin cap

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-05 01:11:02 +00:00
5e2dc775d7 v6 Copper Plan: add master proximity table (§8)
- every discrete mapped to its owner designator with distance class
  (glued <=3mm / close <=5mm / block <=15mm), computed from the live
  netlist + hand curation (ESD at connectors, ADC filters at MCU,
  comp caps at their regulator, DB1-4 -> U13, C106-108 -> U16 VDD)
- designators added to existing per-block tables (Leo's request)
- sch<->pcb designator audit: P1-P12 in sync, 0 value mismatches,
  only expected diffs (U22 fp TBD, MH5/6 board-only, PF* ERC flags)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-04 01:08:49 +00:00
538b62b72c v6 connector renumber (submodule b007c7c) + Copper Plan map
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-04 00:53:32 +00:00
94da1ad0eb v6 silkscreen + gravity placement (submodule) 2026-09-03 23:50:25 +00:00
c3af7afd9c v6 cluster placement (submodule c7d2552) + Copper Plan update
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-03 16:50:09 +00:00
230c1d5a2c v6 NTC2/PA7 fix (submodule ba70f62) + Copper Plan placement/EMC guide
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-03 00:00:54 +00:00
53021a296a v6 PCB copper wipe for re-layout 2026-09-02 22:59:32 +00:00
1044e706e5 auto-sync 2026-09-01 18:00 2026-09-01 18:00:17 -06:00
0a50ff7d21 v6 T11 accelerometer (submodule 23ed361) + T11 script
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-09-01 22:06:21 +00:00
7fea0a5c11 v6 T10 sensor set (submodule 83ed72e) + T10 script 2026-08-31 21:48:32 +00:00
0823de6c29 v6 T9 power input (submodule b92a187) + T9 script 2026-08-31 21:09:09 +00:00
a29f65d953 v6 PCB dead-copper cleanup (submodule ab2e67a) 2026-08-31 18:14:25 +00:00
5bb2e12668 kicad → submodule (hbox-kicad)
03-Architecture-Hardware/kicad is now its own repository so it can live on
GitHub and be pull-mirrored to the Gitea instance (Helgen-Services/HBox_PCB
on git.helgen.online).

History was extracted with:
  git subtree split --prefix=03-Architecture-Hardware/kicad
so all 70 board commits survive in the submodule, with new hashes.
Parent history is untouched; tag pre-kicad-submodule-2026-08-26 marks the
state before this change.
2026-08-27 20:57:37 +00:00
Claude (Cowork)
daafd5c440 v6 T4 sync: Leo Update-PCB-from-Schematic - LTE island on the board (275 footprints)
All pad->net checks pass: VBAT 55/56/57 + bulk + TVS, OR-diodes into U20, RTCM path
through U24 with DNP bypasses, PWRKEY/RST FETs, SIM ESD, TP8. U22 skipped as expected
(MFF2 footprint TBD). LED re-drive verified on copper: Rmled1.1 -> /3V3, D4G1.1 ->
/MODEM_LED_K -> Q22.3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-27 20:55:14 +00:00
Claude (Cowork)
4b8bdf4916 v6 T4c: ERC fixes - RF_IN retyped passive, PF18 PWR_FLAG on SIM_VDD
Leo's ERC flagged exactly two errors after the T4 sync:
 1. U18 pin 2 RF_IN [Input] undriven - my hand-built ZED-F9P symbol typed the RF port as a
    logic input. RF ports are conventionally passive; retyped in Drogheda-sym AND the
    schematic's lib_symbols cache (1 substitution each, asserted). Its real connection
    arrives with the Block S bias tee in T6.
 2. U22 pin 1 VCC [Power input] undriven - SIM_VDD is fed by the modem's USIM1_VDD, whose
    EasyEDA pin type is not a power output. Idiomatic fix: PF18 PWR_FLAG on SIM_VDD,
    consistent with PF1-PF17.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-25 22:27:42 +00:00
Claude (Cowork)
4f6e1bb347 v6 T4: Blocks O+P+Q+R - A7670SA LTE island complete in the schematic (33/33 net checks pass)
Block O (modem): U19 A7670SA-LASC (C18548276, LGA-124) - 19 signal nets + 39 GND + 66 NC,
all 124 pads accounted for. UART via 1.8V-side nets (_M suffix); USB joins J9 directly
(VBUS A4/A9/B4/B9 + DP/DM); USB_BOOT -> TP8; VDD_EXT -> 1V8_MODEM (shifter reference only);
NETLIGHT (1.8V) -> R109 4.7k -> Q22 MMBT3904 low-side, reusing the existing Rmled1+D4G1 LED
string re-driven: MODEM_LED label -> 3V3, D4G1 cathode GND label -> MODEM_LED_K.

Block P (3.8V rail): 24V -> D20 SS34 || MAIN5V -> D21 PMEG3050EP (C50603) -> VIN_MODEM ->
U20 AP64350SP-13 (C2071691, 40V/3.5A) -> L20 4.7uH -> VBAT_MODEM. Values from datasheet
DS41976: FB 0.8V (R110 75k / R111 20k = 3.8V), RT R117 200k = 500kHz (pin must not float),
COMP R116 14k + C141 3.3nF + C142 47pF, BST C129 100nF, EP -> GND. EN = MODEM_PWR_EN (PC10)
with R113 100k pull-down: rail DEFAULTS OFF (invariant #1); EN low >= 2s = HARD_CYCLE
(invariant #3). Bulk: 2x 220uF/10V (C2827940) + 22uF/1uF/100nF/33pF/10pF + R112 1k bleed +
D22 SMAJ5.0A TVS (C113952). VERIFY at layout: D22 pad-1-is-cathode against the fp marker.

Block Q (SIM): U22 MFF2_SIM symbol (new in Drogheda-sym; FOOTPRINT TBD "Drogheda:MFF2_5x6_TBD"
- build from the chosen carrier chip datasheet; PCB sync will flag it, expected). SIM_VDD
100nF + PESD5V0S1BA on DATA/CLK/RST (D23-25, C2827694, orientation cloned from D14).

Block R (level shift): 2x 74LVC2T45DC (C730237, direction-fixed). U23 DIR=GND: 3V3 DIN_4G ->
1.8V DIN_4G_M. U24 DIR=1V8: DOUT_4G_M -> DOUT_4G (also feeds U18 RXD2) and MODEM_STATUS_M ->
MODEM_STATUS (PC9). R106 100R taps DOUT_4G -> USART6_RX (PC7). DNP 0R bypasses R107/R108
across the RTCM path. Q20/Q21 2N7002 open-drain on PWRKEY/RESET with 100k pull-downs -
MCU absent leaves the modem free (invariant #1). PWRKEY timing: SIMCom >=50ms on / >=2.5s off.

CORRECTIONS this pass: (1) the schematic has 382 WIRE SEGMENTS - the earlier "zero wires"
finding was a regex artifact (multi-line xy); label-on-pin work was unaffected (all verified
against the PCB), but the LED relabel needed a wire-graph trace, now in the script.
(2) 9 stale no_connect markers removed from MCU pins that now carry labels (PC1-PC3, PA7,
PC8-PC12). (3) A7670SA is a 124-pad LGA, not the 88 claimed in the modem survey.

NEXT: Leo runs ERC + Update PCB from Schematic (U22 will complain - footprint TBD, skip it),
then T5 = LTC4040 input-limit errata fix + U7/L7 disposition, T6 = RF Block S + netclasses.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-25 22:20:39 +00:00
Claude (Cowork)
c81b2202ac v6 T3 CLOSED: Leo's Update-PCB-from-Schematic - Block N on the board; -04B pin table verified
PCB (Leo, KiCad GUI 14:44): U18 + U21 + C119-C124 + R105 placed in the GNSS island
(U18 at 76.8, 101.4 r90 - freed MOD1 area, bottom-left). All nets verified on the board:
/3V3_GNSS 9 pads, U18 GND = 56 pads (8 + the 48-pad ground array), MCU side confirmed
(ANT_DETECT U16.9, ANT_SHORT_N U16.10, RTK_STAT U16.11, TIMEPULSE U16.23, RESET_N U16.53).
The sync also deleted MH7/MH9/MH10 - exactly the shield-bolt holes the delta doc retired;
MH4/5/6 (enclosure) and MH11 (heatsink clamp) survive. Footprints 224 -> 230.

Schematic diff vs previous commit: none (243 symbols / 666 labels / 125 no-connects
identical) - KiCad format normalization only.

-04B PIN CHECK CLOSED: the ZED-F9P-04B datasheet (UBX-21044850) pin table matches the
-15B transcription EXACTLY, all 54 pins. Spec refinement: VCC ramp is a WINDOW,
20-8000 us/V (3.3 V in 66 us .. 26.4 ms) - a normal LDO soft-start sits comfortably
inside it. Keep the bench measurement, drop the alarm.

NEXT: T4 LTE island. Needs the vendor part first:
  easyeda2kicad --full --lcsc_id=C18548276 --output <kicad>/Drogheda-v6
Standing: v6 zone fills still stale (GUI refill pending); DRC not meaningful until then.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-25 14:49:16 +00:00
Claude (Cowork)
3494413eaf v6 T3: Block N - ZED-F9P (U18) + low-noise LDO (U21) placed and wired
Leo generated the vendor part with easyeda2kicad (C5120257) -> Drogheda-v6.kicad_sym /
.pretty / .3dshapes, now registered in sym-lib-table and fp-lib-table.

CROSS-CHECK: the EasyEDA/LCSC symbol independently CONFIRMS the datasheet transcription -
pads 1-54 match the u-blox pin assignment function for function, and the 21 Reserved pads
are identical. Pads 55-102 are 48 extra GND pads (the ground array under the module), which
our symbol was missing; T3a2 adds them stacked on the pin-1 coordinate so one GND label
serves all. Symbol is now 102/102 pins, footprint = Drogheda-v6:LCC-LGA-102_L22.0-W17.0_FM660.

Block N as wired (verified by rebuilding connectivity from label-on-pin geometry):
  GNSS_TX      U16.16 + U18.43        GNSS_RX  U16.17 + U18.42
  DOUT_4G      U18.26 (RXD2, RTCM in - modem end lands in T4)
  USART1_RX    U16.43 + Rdfu1.1 + U18.27 (TXD2 uplink; K1.1 also on this net per the PCB)
  GNSS_RESET_N U16.53 (PC12) + U18.49 + R105 10k pull-up to 3V3_GNSS
  GNSS_TIMEPULSE  U16.23 (PA7) + U18.53
  GNSS_ANT_DETECT U16.9 (PC1) + U18.4
  GNSS_ANT_SHORT_N U16.10 (PC2) + U18.6
  GNSS_RTK_STAT   U16.11 (PC3) + U18.20  <- hardware answer to are-corrections-being-used
  3V3_GNSS = U21.5 + U18.33/34 + C120-C124 + R105; U21 fed from SW_5V (stays MCU-gated)
  V_BCKP   = U18.36 on the UNGATED 3V3 so ephemeris survives a power-cycle
  33 no-connects: the 21 reserved pads plus V_USB, USB_DM/DP, ANT_OFF, SDA, SCL, TX_READY,
  D_SEL (open = UART mode), SAFEBOOT_N, EXTINT, GEOFENCE_STAT and the LDO NC/NR pin.

T3c fixes two coordinates the generators emitted as 3.552713679e-15 (i.e. zero); KiCad is
not guaranteed to accept exponent notation. See the script header for the lesson: a first
attempt used a bare numeric regex over the whole file and corrupted 264 UUIDs, because
segments such as 895e-4153 parse as scientific notation. Reverted from backup and redone
scoped to (at ...) forms only, with a UUID-integrity guard. Verified 2298 UUIDs, 0
malformed, 0 exponent coordinates.

STILL OPEN: the PCB has no U18/U21/passive footprints yet - that is a KiCad
Update-PCB-from-Schematic. And confirm the -04B datasheet pin assignment on paper.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 23:25:44 +00:00
Claude (Cowork)
8be9f41473 v6 T3a: ZED-F9P + generic SOT-23-5 LDO symbols added to Drogheda-sym
ZED-F9P: all 54 pins, numbers 1-54 complete and unique, transcribed from the u-blox
datasheet Table 11 (ZED-F9P-15B_DataSheet_UBX-23009090). Left column = power/RF/antenna
(17), right = interfaces/control/status (16), bottom = the 21 reserved pins. Body 55.88 x
50.8 mm. LCSC C5120257 carried as a property.

FINDING that changes Block N: the ZED-F9P HAS hardware status outputs - RTK_STAT (pin 20)
and GEOFENCE_STAT (pin 19). RTK_STAT: 0 = RTK fixed, blinking = receiving and using
corrections, 1 = no corrections. That is a HARDWARE answer to the question the June and
10-Ago RCAs could not answer. Wire RTK_STAT to PC3. (Earlier note implying only the UM980
had such pins was wrong.) ANT_OFF (pin 5) also exists.

LDO_SOT23-5: generic AP2112K / TPS7A20 pinout (1=VIN 2=GND 3=EN 4=NC/NR 5=VOUT) so U21
can be any SOT-23-5 low-noise LDO without a symbol change.

OPEN - blocks the PCB side of T3, not the schematic:
 * No ZED-F9P FOOTPRINT exists. Not in the project libs, not derivable from the datasheet
   (no land pattern) and the integration manual's drawings do not survive PDF text
   extraction. EasyEDA/LCSC is blocked by the egress allowlist from here.
   Fix: run locally -> pip install easyeda2kicad && easyeda2kicad --full --lcsc_id=C5120257
 * PRE-FAB CHECK: confirm the -04B datasheet carries the SAME pin assignment as the -15B.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 23:12:28 +00:00
Claude (Cowork)
cfb7a0d923 v6: re-fork from v5.5+ (4b73b9e) and replay T1+T2 - Leo's copper touch-up now inherited
Leo's post-fork V5 work was copper-only: GND stitching +4 seg/+2 vias, /SYS5V -2 seg,
zones refilled 45 -> 48 polys. No footprints added/removed/moved, no pad-net changes,
schematic byte-identical. Rather than hand-merge a routing delta, v6 was re-forked from
the new v5 and the T1/T2 generator scripts replayed - deterministic and re-runnable.

Verified v6 vs v5: GND 212 seg / 176 vias, /SYS5V 57 seg, 48 filled polys all identical;
footprints 228 -> 224 (MOD1/J7/J8/SW4G1 gone); segments 1980 -> 1974 and vias 321 -> 320
(the 7 ripped /USART1_TX items). Net assertions all pass:
  /USART6_TX = U16.37 + K1.10 | /USART6_RX = U16.38 | /USART1_RX = U16.43 + Rdfu1.1 + K1.1
  /DIN_4G = K1.5 + K1.6 | /USART1_TX, /DOUT_4G, /MODEM_RST retired until T3/T4.

KNOWN: v6 zone fills are inherited from v5 and still carry cutouts for the 4 deleted
footprints - needs a GUI refill (MCP refill segfaults). Cosmetic until the layout phase.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 23:02:56 +00:00
Claude (Cowork)
4b73b9e679 v5.5+: Leo's copper touch-up - GND stitching +4 seg/+2 vias, /SYS5V -2 seg, zones refilled (45 -> 48 filled polys)
No footprints added, removed, moved or rotated; no pad-net changes; schematic untouched.
Captured before re-forking v6 so the v6 PCB inherits this work byte-for-byte.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 23:02:13 +00:00
Claude (Cowork)
d4795539e7 v6 T0-T2: fork hbox-watchdog-v6 from v5.5; delete MOD1/J7/J8/SW4G1; K1 pin10 PA9 -> PC6
T0  hbox-watchdog-v6.{sch,pcb,pro,dru} forked from v5.5 @ e6ac8cc (new files on main,
    same precedent as v4 -> v5). All internal project refs renamed, paren-balanced.
T1  Deleted the simpleRTK2B Pro socket (MOD1), both XBee sockets (J7/J8) and the modem
    reset button (SW4G1) from schematic and PCB, plus the 25 on-pin labels that carried
    their connectivity. The schematic has ZERO wires - connectivity is labels on pins -
    so no wire/junction surgery was needed.
T2  Relay K1 pin 10 (NO contact) moves from PA9 /USART1_TX to PC6 /USART6_TX, giving the
    MCU ownership of the modem RX line while K1 de-energised still feeds the receiver's
    GGA straight to the modem (MCU-dead fail-safe). PA9 freed -> no_connect. USART6_RX
    added on PC7. Retired /USART1_TX copper ripped (7 items).

Verified: /USART6_TX = U16.37 + K1.10 | /USART1_RX = U16.43 + Rdfu1.1 + K1.1 | PA9 free.
Nets awaiting T3/T4 silicon: /DOUT_4G, /MODEM_RST, /GNSS_TX, /GNSS_RX, /USART6_RX.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 22:51:21 +00:00
Claude (Cowork)
e6ac8cc808 v5.5: zone refills complete (F.Cu 35 / B.Cu 7 / In1 2 / In2 1 filled polys) - checkpoint before the v6 fork
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YJ4eAB6zjQT49RVwpgfKdt
2026-08-24 22:46:23 +00:00
aed10f8a40 auto-sync 2026-08-22 18:00 2026-08-22 18:00:10 -06:00
ae05c9f028 auto-sync 2026-08-21 18:00 2026-08-21 18:00:13 -06:00
4a8036bc48 v5.5: outline rebuilt closed 140.0x100.0mm, MH4 -> (193.192,90.323) centerline 7mm from right edge (BAT_PLUS/MODEM_LED rerouted around hole), npth_inside_courtyard -> ignore 2026-08-21 03:11:05 +00:00
eb486326ea auto-sync 2026-08-20 18:00 2026-08-20 18:00:15 -06:00
c3e8e48780 checkpoint: v5.5 as saved by Leo before Claude fixes (pre-audit report included) 2026-08-20 16:37:33 +00:00
329bd41137 auto-sync 2026-08-19 18:00 2026-08-19 18:00:05 -06:00
69bd360fd0 auto-sync 2026-08-18 18:00 2026-08-18 18:00:14 -06:00
0dd3171ced auto-sync 2026-08-14 18:00 2026-08-14 18:00:14 -06:00
624aa63048 auto-sync 2026-08-13 18:10 2026-08-13 18:10:25 -06:00
21cda79ff0 auto-sync 2026-08-12 18:00 2026-08-12 18:00:16 -06:00
a7ac49b59d auto-sync 2026-08-11 18:00 2026-08-11 18:00:15 -06:00
31f1870c47 catch-up sync 2026-08-10 15:47:51 -06:00
6e9f6e06cf auto-sync 2026-08-08 18:00 2026-08-08 18:00:15 -06:00
811f110174 auto-sync 2026-08-07 18:00 2026-08-07 18:00:15 -06:00
0dd2d63432 auto-sync 2026-08-04 18:00 2026-08-04 18:00:16 -06:00
13ea054090 auto-sync 2026-08-03 18:00 2026-08-03 18:00:18 -06:00
bc9750d258 auto-sync 2026-08-02 18:00 2026-08-02 18:00:05 -06:00
066ebe883c auto-sync 2026-08-01 18:00 2026-08-01 18:00:16 -06:00
b505cb35c2 v4 production package for JLCPCB: gerbers, BOM, CPL + audit
Fabrication Toolkit export of hbox-watchdog-v4 (EinarBoard 2.0), verified
before ordering. Board is 155.00 x 100.00 mm, 4 layers, 1.6 mm.

New in production/:
  HBOX_v4_PROD.zip             15 gerber + drill files
  HBOX_v4_PROD_bom.csv         102 lines, 25 with an LCSC number
  HBOX_v4_PROD_positions.csv   187 rows
  HBOX_v4_PROD_designators.csv toolkit by-product, not a JLC input

hbox-watchdog-v4.kicad_pcb is modified only because the toolkit's AUTO FILL
refilled zones and re-saved on export. Diffed before/after: 0 footprints
moved, 0 rotated, 0 changed side; tracks 1989 -> 1989, vias 351 -> 351,
zones 5 -> 5, filled polygons 41 -> 41. Zone fill data only.

Verification (details in the order walkthrough):
  - Row counts matched a prediction registered before the export existed:
    CPL 187, BOM 102, 35 machine-placed. No duplicate designators, no
    collisions from the toolkit's uppercasing of refdes, nothing truncated.
  - All 30 pre-registered rotation predictions matched exactly, 0 mismatches.
    The five previously-unproven packages resolved as J10 +0 deg and
    U10/U11/U13/U15 +270 deg.
  - Every non-zero rotation correction is externally backed: six packages
    (SOT-23, SOIC-8, SOIC-8-1EP, QFN-24-1EP, CP_Elec_6.3x7.7, Arduino_UNO_R3)
    are byte-identical to the v3 CPL that JLC built; the other four (LQFP-48,
    SOIC-16, SOIC-16W, TSSOP-28) match KiBot's published JLCPCB rotation
    table. KiBot's generic ^QFN- rule says 270 where the toolkit applied +90
    to U6 - v3 hardware settles it in the toolkit's favour.
  - Positions: 22 rows carry an AUTO TRANSLATE offset. 19 of 22 identical to
    the v3 export, 20 of 22 equal the pad bounding-box centroid to 0.02 mm.
    J10 is the only machine-placed part with a translation and it matches the
    centroid exactly.
  - Gerbers: 4 copper layers populated, both mask, both silk, F.Paste 40
    apertures. B_Paste empty is correct (the one bottom-side part has no
    paste). 523 PTH holes 0.30-1.63 mm, 6 NPTH at 3.20/3.25 mm.

Open before ordering: J10 (C12074 HR911105A) is the only through-hole part
carrying an LCSC number, so JLC's standard SMT line will not place it.
Also gitignore **/_to_delete/ (scratch folder for manual deletion).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GSKKes8GsS4YHAMWJ44tCm
2026-08-01 06:57:17 +00:00
bfbf065e92 C14: netclass-scoped HV24 rule at 0.5 mm + copper fixes to satisfy it
The .kicad_dru held one unconditional (min 0.15mm).  A custom rule outranks
the netclass table and an unconditional rule matches every pair on the board,
so it was silently overriding the HV24 netclass's 0.5 mm everywhere: the
netclass said 0.5, DRC only ever enforced 0.15.

Rule file, three mutually-exclusive rules so order and specificity agree:
  1. neither item HV24                          -> 0.15 mm  (unchanged)
  2. either item HV24                           -> 0.50 mm
  3. except U2 pad-to-pad (its own land pattern)-> 0.15 mm

Rule 3 covers exactly one pair: U2 (MP1584EN, SOIC-8-EP) pad 7 (24V) to pad 9
(exposed thermal pad, GND) at 0.355 mm.  That is the manufacturer's qualified
land pattern, set by the package and not by routing.  U2's courtyard contains
9 pads and all 9 belong to U2, so the condition cannot match foreign copper;
the 24 foreign tracks/vias crossing that courtyard are excluded by the
A.Type == 'Pad' test and stay at the full 0.5 mm.

Copper: 13 of the 14 HV24-to-foreign gaps under 0.5 mm were routing, and all
13 are fixed.  No component was moved or rotated.

  3 width reductions (a narrower track can never reduce a clearance):
    479e5357  24V      -> U2.7     1.0 -> 0.6   U2's pads are 0.6 tall, so the
                                                pad was already the bottleneck
    854214dc  FREQ_FAN -> U2.6     1.0 -> 0.6   1.14 mm long, R~0.93 mohm,
                                                ~8 mV at 3 A; IPC-2221 gives
                                                ~1.9 A at 10 C rise for 0.6 mm
    30ed4012  24V      -> DzG1.3   1.5 -> 0.8   leaf branch into a BZX84C15
                                                SOT-23 clamp, sub-mA
  5 track-vertex moves (never a via centre, never a pad centre):
    /3V3_MODEM x3   corridor walks 0.55 mm east off the 24V bus
    /USB_CC2   x2   opposite ends of one 6.05 mm segment pivot apart, opening
                    pad Rrp1.1 and the GND via at the same time

Verification (shapely geometry over every pad/via/track, diffed against the
unedited baseline so nothing pre-existing is miscounted as new):
  HV24 inter-item pairs under 0.5 mm     13 -> 0
  cross-footprint pairs under 0.15 mm     0 (unchanged)
  pairs this edit created                 0 at 0.15, 0 at 0.30, 0 at 0.50
  per-net connectivity      180/180 nets whole, 0 orphan copper clusters
  static DRC   0 violations, byte-identical to the C13 run
  fab sweep    0 findings (edge clearance, drills, annular rings, outline)
  thinnest new margin  0.5650 mm (pad Rrp1.1 <-> trk 1fed5fbb), looser than
                       five pre-existing HV24 pairs on this board
  /24V_IN and IGN_IN copper byte-identical; 24V differs only in two width tokens

Pour reflow: the 0.5 mm rule widens the zone pullback around HV24 from 0.3 to
0.5 mm.  Simulated the refill on all four pours at both values — the anchor
partition is identical (F.Cu 547 anchors / 35 groups, B.Cu 222/2, In1 33/5,
In2 220/7), so pressing B strands nothing.  Area loss 115 mm2 on F.Cu, 4.6 mm2
on each of the other three.

Press B to refill zones before running DRC.
2026-08-01 05:45:07 +00:00
449588649a C13: clear the last KiCad 10 DRC error - stranded GND_POUR_FCU island (EinarBoard 2.0)
Leo's post-C12 DRC run left exactly one error:

  [unconnected_items] Zone 'GND_POUR_FCU' [GND] on F.Cu <-> Zone 'GND_POUR_FCU' [GND] on F.Cu

KiCad prints only the zone anchor (60.1917, 40.3231) for both endpoints, so the
report cannot localise the stranded island. Located it analytically instead.

Root cause: U11 pad 9 [GND] @ (91.1275, 55.7600). It is the only GND item on the
board whose item-only connectivity cluster never reaches the In2.Cu GND plane
(two independent fill-independent proofs agree: layer-reach and In2-anchor). An
island survives KiCad's isolated-island removal only if some item props it up,
so pad 9 was propping up a GND_POUR_FCU island that touches nothing else.
island_removal_mode cannot fix that - it needs copper.

Pad 9 is fenced on all four sides (LQFP-48 lead ring, pad 8's westward /3V3_ETH
escape, pad 10's eastward /ETH_RSET escape, the /ETH_RXP chain under the body).
A 0.05mm grid router reached only 227 of 20883 legal cells and found no way to
touch existing GND copper without a via, so a through via is mandatory. A
0.005mm sweep of every legal via site in that pocket picked the best one on the
board's existing drill inventory - no third drill size added.

  + F.Cu GND track w0.3  (91.1275,55.7600) -> (90.1000,55.7600) -> (89.9950,55.8900)
  + F.Cu-B.Cu GND via 0.6/0.3 @ (89.9950,55.8900)
  * U11 pad 9 -> (zone_connect 2)

Both track legs hold +0.2000mm clearance - the structural ceiling for a 0.3mm
track between 0.3mm leads on 0.5mm pitch. The via holds +0.1758mm copper and
+2.9705mm hole. The site sits inside GND_POUR_FCU, GND_POUR_BCU, P3V3_PLANE_IN1
and GND_PLANE_IN2 and outside MAGJACK_NO_POUR, with the nearest In2 signal
copper 1.10mm away, so the barrel lands on solid In2 GND plane.

zone_connect 2 mirrors the landed C12 treatment of pad 29: pads 8 and 10 each
knock 0.5mm of pour out around themselves, covering the whole pad-9 lane
(0.10mm tall < min_thickness 0.25), so the pour cannot reach pad 9 in any
connect mode. Solid mode removes the pad from the minimum-spoke test rather
than leaving a starved thermal behind.

Verified on the output file:
  drc_c12.py   0 hard clearance violations, same 49 sub-epsilon marginals as C12
  proof_c13.py 0 GND clusters without an In2 GND-plane anchor (was 1)
  fcu_only.py  0 F.Cu-only GND clusters (was 1 = pad 9)
  24V / /24V_IN / IGN_IN copper byte-identical (45 segments)
  segments 1984->1986  vias 351->352  zones 5->5  footprints 189->189

Backup: .mcp-backups/hbox-watchdog-v4.kicad_pcb.pre-C13 (md5 042efd5d)
Pushed:  md5 94d36711d60985eef109913fcee36b09, 3502885 bytes

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GSKKes8GsS4YHAMWJ44tCm
2026-08-01 02:08:00 +00:00
2662a3277a housekeeping: untrack KiCad ~*.lck session locks, archive v4-drc.rpt
The .lck files are per-session editor locks picked up by an auto-sync commit;
they should never be versioned. v4-drc.rpt is Leo's KiCad 10 DRC run that C12
was built against (84 raw / 83 unique, 7 errors) - kept as the before-record.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GSKKes8GsS4YHAMWJ44tCm
2026-08-01 01:10:32 +00:00