V6 ChonkBus: bus ends, interlock, row isolation, segments, BOM
2026-10-29 (§6 added 2026-10-31: bus segments). Decision record for the row-switch system now drawn as block B29 (b29_chonkbus) and installed in JumperlessV6/MainBoard/MainBoard.kicad_sch (first install backup MainBoard-backups/pre-v6_MainBoard_2026-10-29_033249.zip; ROW-ISO fitted in a second install the same day, backup pre-v6_MainBoard_2026-10-29_091257.zip; undo with python3 v6gen/install_v6.py --revert). Later the same day: current sense, always-on voltage sense, expansion port and cost cuts are in V6_expansion_port_and_current_sense. Spec: v6gen/BUILD_SPEC.md section 8; write-up for the sheet: docs/V6_SCHEMATIC.md "2026-10-29". Prices: docs/V6_BOM.md (1000 boards).
0. Bottom line
- Two identical buses, same option list each. That is the mental model: "there are two 0.1 Ω ChonkBuses; any row can be on either; each bus can be TOP_RAIL, BOTTOM_RAIL, GND, DAC 0 or DAC 1 (one of these), plus the extension port, plus a shunt ammeter to the other bus." Making one bus GND-only would have saved nothing (the decoder makes exclusivity free) and cost the two-positive-supplies case.
- Hardware interlocks only where no override could ever be wanted; firmware everywhere else. A 74HC238 per bus turns 3 latch bits + 1 enable into at most one voltage source, so no latch content, bit-order bug or half-shifted chain can put two sources on one bus. Two single gates stop the shunt from closing while both buses carry a source. Everything else (bus = rail and extension port, a row on both buses, shunt with one sourced bus) is a plain latch bit, policed by a low-level firmware "bus manager" with an override flag.
- Break-before-make is inherent but not guaranteed: with the decoder the old switch opens (tOFF 5 µs typ) before the new one closes (tON 15 µs typ); the datasheet gives no maxima, so the firmware sequence is enable low → latch → new code + enable high → latch (two chain updates, ~20 µs apart).
- Row isolation: FITTED (your call later on 2026-10-29; the first install had it as footprints with 0R bridges). It costs +$4.47 in parts at 1k (30 × ET7460H $3.60, 8 × 74HC595 $0.49, 38 × 100 nF $0.38) plus ~16 net placements, i.e. about +6 % of parts, +3.5 % of unit cost; the 60 × 0R are now the option (
OPTION ROW-BRIDGE, dnp) for going back. Decide on the two bench tests (§4); the case for it is better than "–13/+18 V on idle rows" alone. - BOM as it stands (1000 boards, parts only, from the schematic, ROW-ISO fitted): main board $60.64, wig $18.62, total $79.26 (+ ~$2 of unpriced small parts; the display is in at its $8.49 sample AMOLED price — the TFT decision takes ~$5 off). Rough unit cost ex-works with assembly, mechanics, PCBs and packaging: ~$128 at 1k (SLS shell), ~$116 at 3k (moulded). §5 has the breakdown (pre-ISO numbers) and the caveats; the interactive version is the Cost Explorer.
1. What each bus can connect to (sheet b29_busends)
| Connection | Per bus | Mechanism | Control | Hardware-exclusive? |
|---|---|---|---|---|
| TOP_RAIL | yes | ET7460H switch, decoder code 1 | SRC_x_S0..2 + SRC_x_EN |
yes, one of the five |
| BOTTOM_RAIL | yes | code 2 | 〃 | yes |
| GND | yes | code 3 | 〃 | yes |
| DAC 0 | yes | code 4; tapped at R_SENSE+, the L272D U10 output ahead of the 2 Ω R57, so the bus path has no series resistance (the crossbar node DAC_0 keeps R57 and its INA219 U4) |
〃 | yes |
| DAC 1 | yes | code 5 (DAC_1) |
〃 | yes |
| nothing | — | code 0, codes 6–7, or enable low | ||
| Extension connector | yes | ET7460H, BUS_x ↔ BUS_x_EXT (B33 pins 25–28, two pads each) |
EXT_A / EXT_B |
no — free bit |
| Shunt ammeter to the other bus | shared | BUS_A →SW→ 0R1 →SW→ BUS_B, INA219 across the 0R1 |
SHUNT (gated) |
blocked while both buses are sourced |
| Crossbar node | — | dropped: a bus is reachable through any of its member rows (their CH446Q Y pins), so a dedicated K/L X-port switch would only duplicate that and spend a scarce port | ||
| +5 V | — | not offered (your 2026-10-02 rule: no fixed user supply); decoder codes 6/7 are free if that changes |
Parts: 2 × 74HC238PW (U29098/99), 6 × ET7460H sources (U29091..96, three per bus: TOP/BOTTOM, GND/DAC0, DAC1/EXT), 1 × ET7460H shunt (U29097, both halves), 0R1 1 % 1206 (R29063), INA219 U29102 at 0x44 (A1 = VS, A0 = GND; U3 is 0x41, U4 0x40) with 10 Ω + 10 Ω + 100 nF, 74LVC1G00 + 74LVC1G08 interlock (U29100/101). Totals for the whole block: 67 ET7460H fitted (+3 vs the old option B), 17 × 74HC595, same CH32 pins (PF0/1/5/11/14) and the same chain length (136 bits).
Shunt numbers: INA219 LSB 10 µV → 100 µA per LSB on 0.1 Ω, ±3.2 A full scale at PGA /8, ~0.3 Ω in the path (two switches + shunt). Current A→B reads positive; the INA219 bus-voltage register gives V(BUS_B). Uses: row on A + row on B + shunt = a 0.3 Ω ammeter in series with anything; BUS_A = TOP_RAIL, the circuit's supply rows on BUS_B, shunt closed = supply current with a software fuse (open A_n/B_n on overcurrent, 5 µs). Limit: the INA219 inputs take −0.3…+26 V, so the shunt may only be closed while both buses are at or above 0 V (GND, TOP_RAIL or a DAC set ≥ 0) — the same limit V5's ISENSE has. With both shunt switches open the INA219 floats on its own nodes (internal ~830 kΩ to GND), so a negative bus never reaches it. The limit goes away with a $0.15 INA181-footprint amplifier (3PEAK TP181 / Gainsil GS199 / TI INA199) run with −9V as its ground and REF at +1.65 V (window −9.3…+27 V absolute; INA296A1 at $1.69 reaches −14 V), or with a ground-referenced ST TSC2011 ($1.33, −20…+70 V); output through the 8:1 housekeeping mux into one CH32 ADC channel, with two dividers for an always-on bus voltage read — V6_expansion_port_and_current_sense §1.5–1.6 (2026-10-30); not drawn yet.
Latch bit map (chip 1 = nearest SW_SER): chips 1–15 A_1 B_1 … A_60 B_60; chip 16 SRC_A_S0 S1 S2 EN SRC_B_S0 S1 S2 EN; chip 17 (aux) XB2_SEL0..2 EXT_A EXT_B SHUNT + 2 test points; chips 18–25 (ROW-ISO, fitted) ISO_1..ISO_60 + 4 spare: 200 bits. SW_SER_EXT to the extension board comes through solder jumper JP29001: A (bridged) = U29127 QH′ (chain end), B = aux QH′ (for the ROW-BRIDGE option, 136 bits). 100 kΩ pull-downs on every logic input the chain feeds (decoder address/enable, SHUNT, XB2_SEL0..2) so nothing floats while the latch outputs are Hi-Z at reset: every source off, shunt open, every switch open.
2. Hardware vs firmware: the interlock decision
What goes wrong without any interlock: two sources on one bus (TOP_RAIL and GND, say) is the L272D short-circuit current through 0.2 Ω; the TPS65131 delivers ~0.6–0.8 A at ±9 V before it folds, so the crossbar rails sag, every CH446Q may lose its routing, and the ET7460H (0.8 A continuous) cycles on thermal shutdown. On V5 the equivalent fault runs through 130 Ω of crosspoints and is benign; here it is not. A firmware-only rule would stop the normal case but not a crashed CH32, a corrupted SPI transfer into the chain, or a bit-order mistake while the firmware is young.
So the split is:
| In hardware (no override possible) | In firmware (bus manager, override flag) |
|---|---|
| ≤ 1 voltage source per bus (74HC238; code 0 = none; enable = second lock and the break-before-make lever) | bus = source and extension port (your case: an extension board powered from the rail) |
| shunt cannot close while both buses are sourced (NAND + AND, $0.11) | extension port alone (external supply onto the bus, with the member rows isolated if it exceeds the crossbar range) |
| reset state = everything open (595 outputs Hi-Z + ET7460H 600 kΩ pull-downs + 100 kΩ pull-downs) | a row closed on both buses (bridges them through 0.2 Ω; never by default) |
| shunt with one sourced bus, both buses ≥ 0 V (INA219 limit) | |
source change sequence: SRC_x_EN low, latch, new code + EN high, latch |
|
| ISO_n closed for every row the matrix routes or senses (option fitted) |
The decoder costs $0.40 per board for two and saves two latch bits against five direct source bits per bus; the gates cost $0.11. The rejected alternatives: a fully firmware chain (cheapest, one brown-out away from a bad day), and asymmetric buses (one GND-only) which block two-positive-rail circuits (3V3 logic + 5 V peripheral) for no saving.
3. Row isolation: what the $4.47 buys
Sheet b29_isolation, fitted: one ET7460H switch per row between the breadboard row n and the crossbar side MX_ROW_n (CH446Q Y pin, lane-layer X port, BAT54S clamp), one package per two rows, 60 control bits. To go back (OPTION ROW-BRIDGE): fit the 60 × 0R 0402, leave the 30 switches, 8 latches and 38 capacitors out, move JP29001 to B (136-bit chain). Because the clamps and the lane layer sit on MX_ROW_n, the crossbar side was renamed on your sheet (60 labels at the CH446Q Y pins) so that the option is a pure fit/no-fit choice with no rewiring.
| Without (bridges) | With ROW-ISO | |
|---|---|---|
| Idle row | CH446Q Y port + BAT54S clamp: anything beyond the crossbar rails (±9.3 V, or +14.3/−4.3 V in the other range) is clamped; a stiff 12 V supply burns the 200 mA BAT54S, then the CH446Q (no series R in the row path, by decision) | three open ET7460H, nothing else: −13/+18 V recommended, −15/+20 V abs max, no clamp current at all |
| Row in use | as V5 | as V5 (ISO closed; clamp active) |
| Bus from the extension port at a voltage the CH446Q cannot take (12 V, −12 V) | not possible (member rows expose the matrix) | possible with the member rows isolated: V6 can distribute an external supply to the breadboard |
| Jumperless unpowered, circuit externally powered | rows clamped at ±0.3 V into dead rails: breadboard unusable | works as a plain breadboard if the ET7460H blocks with VCC = 0 (bench test; the datasheet is silent, the AW35331 states it) |
| Reset / "rows completely passive" rule | row always on its Y port | row attached to nothing until the firmware closes ISO_n — the rule holds by construction |
| Per row path | — | +0.1 Ω, +~40 pF, +≤0.35 µA leakage (85 °C max; nA typical), one more control bit; the lane layer cannot look at an isolated row (by design) |
| Cost | — | +$4.47 parts (30 × $0.12 + 8 × $0.061 + 38 × $0.01; the 0R are $0 at Elecrow), ~16 net placements (~$0.25), 30 more WLCSP-12 to route, +5 mA quiescent, chain 136 → 200 bits (20 µs at 10 MHz) |
It is fitted; run the two tests that decide whether it stays — (1) S/D blocking with VCC = 0 at −5/+8 V and at −12/+12 V, (2) off-capacitance and leakage of a row with three open switches — and keep it if (1) passes. If (1) fails, the feature shrinks to "idle rows take 18 V while the Jumperless is on" plus the external-supply bus; I would still keep it, but that is the point where the $4.47 is a judgement call rather than obvious.
4. Open items and bench list
- ET7460H: Ron outside ±VCC (spec only inside), VCC = 0 blocking, off capacitance (60 open switches on a bus; 3 on an isolated row), charge injection, thermal-shutdown cycling into a short, EN tied to VCC on all packages (OPTION ROWSW-EN from the old note still applies if you want one-pin shutdown).
- DAC 0 / DAC 1 as sources and DAC 0 taken at
R_SENSE+: a proposal; you have not confirmed either. U4 (INA219 on R57) becomes redundant once the bus shunt exists (−$0.47). - INA219 common-mode limit (−0.3 V): replace it with a floated TP181-class amplifier (see the later note, §1.5); the 470 Ω trick from V5 does not transfer to a 0.1 Ω shunt.
- Part numbers from LCSC search (not re-read datasheets): 74HC238PW,118 C60434 ($0.20@500/[email protected]), 74LVC1G00GW C12508 ($0.079@500), 74LVC1G08GW C12512 (~$0.03); the 1G00/1G08 pinout is the stock KiCad symbol (JEDEC single-gate). 0R1 1206 shunt: no part chosen ($0.03 estimate).
- 100 kΩ pull-downs: value not from a source (74HC input leakage 1 µA → 0.1 V); the old 10 kΩ on XB2_SEL0..2 became 100 kΩ.
- Extension connector pins 25–28 are now
BUS_A_EXT/BUS_B_EXT(behind the EXT switches); pad current rating still unknown (B33). The ExtensionBoard project follows (its cells are on those nets). - Firmware:
MatrixState/router must treat bus membership as a net attribute and (with ROW-ISO) close ISO_n on every routed or sensed row; the chain gains the source codes (3 bits + EN per bus) in place of the four per-source bits.
5. BOM
Parts, from the schematic (python3 v6gen/bom.py 1000, 1000 boards)
| Board | Priced | Unpriced pieces (my estimate) | Notes |
|---|---|---|---|
| Main | $56.18 (was $54.12 on 10-18) | 27 pieces ≈ $1.6 (TCA9534, 2 × CH217S, crystal, 1.27 mm 2×35 header, 0805 caps, pads) | +$2.06 for the bus ends: 2 × 74HC238 $0.40, INA219 $0.47, gates $0.11, 3 more ET7460H $0.36, 74HC238 of B34/B30 now priced $0.60, passives |
| Wig | $18.62 | 8 pieces ≈ $0.4 | unchanged: 480 LEDs $9.02, 9 × TMAG5273 $4.43, 80 clips $4.79 |
| Both | $74.80 | ≈ $2.0 | ≈ $77 |
| ROW-ISO (now fitted: main $60.64) | +$4.47 | 30 × ET7460H, 8 × 74HC595, 38 × 100 nF; 60 × 0R out |
Biggest lines: 480 LEDs $9.02 · 12 × CH446Q (yours) $10.80 · 67 × ET7460H $8.04 · display $8.00 (sample price; the 1.47″ TFT at ~$3 would take ~$5 off) · 80 clips $4.79 · 5 × CH446Q lane layer $4.50 · 9 × TMAG5273 $4.43 · CH32H417 $3.30 (estimate) · nav stick $2.34 · 2 × L272D $2.28 · TPS65131 $2.17 · PSRAM $1.42 · MCP4728 $1.38 · encoder $1.30 · 60 × BAT54S $1.04 · 17 × 74HC595 $1.03.
Unit cost, rough (constants from V6pile/bom/bom_model.py, placement count from the schematic)
| 1k, SLS shell, clip block outsourced | 3k, moulded | |
|---|---|---|
| Parts (above, incl. clips and display socket) | 76.8 | 73.0 (−5 %) |
| SMT assembly, ~1400 placements at $0.0127 (V5 rate; 480 are one LED) | 17.9 | 16.5 |
| Clip-block marriage (vs $14 hand labour the V5 way) | 2.5 | 2.5 |
| Clip tooling amortised | 2.7 | 0.9 |
| Shell | 5.7 (SLS) | 2.5 (mould + part) |
| Probe + cap | 6.5 (SLS) | 6.1 |
| PCBs (main 4L ~5.5, wig ~2.5, probe ~1) | 9.0 | 8.5 |
| Cable, box, flash/test | 2.3 | 2.3 |
| Ex-works | ≈ $123 | ≈ $112 |
| + ROW-ISO | +4.7 | +4.5 |
| Landed (×1.25 tariff + $1) | ≈ $155 | ≈ $141 |
Caveats: the component total is the solid part (every line sourced; see docs/V6_BOM.md for basis and dates); assembly, PCBs and mechanics are scaled from the V5 quotes, not quoted. This is well above the $77 "V6 lean" scenario in README_v6BOM.md because that model predates the display, the lane layer, the magnetometers, the ChonkBus and the CH32: those are ~$35 of the parts. At $339 via Crowd Supply the 1k figure gives ~38 % margin, ~51 % sold direct; the $220 target needs the lean board, not this one. The ROW-ISO decision moves that by under 2 points either way — it is not what decides the price.
6. Bus segments (added 2026-10-31)
Kevin's question: split the ChonkBus into sections that can be joined in various ways, for more flexibility and maybe fewer switches. The count argument first: a row that can be on net X, net Y or nothing is a 3-position selector, which is two SPST switches however it is wired, and isolation is a third switch in a spot no other switch occupies, so 3 switches per row (90 packages) is the floor for "two nets anywhere, every row isolatable, 0.8 A per row". Savings only come from moving the A/B choice to a group of m rows (one switch per row onto a group node P, two per group): m = 2 saves nothing (90), m = 3 → 80, m = 5 → 72, m = 15 → 64; the group shares one 0.8 A switch and one bus choice, the path is 0.2 Ω, and the conflicts land on the commonest patterns (breakout header with VIN and GND on adjacent rows, DIP corner pins). Kept the 90.
What segmentation buys is more nets, and that is now drawn as options (fourth sheet b29_bussplit, installed 2026-10-31):
- Each bus is four pieces of copper, odd / even rows × top / bottom side (
BUS_x_OT,_ET,_OB,_EB), chosen so that a part can be moved one row to reach the other supply (top/bottom alone would mean moving to the other half of the board). A row's A and B switches land on the segments of its parity and side, so every row still reaches one segment of each bus. - Four links per bus in a ring: odd/even on each side (
LINK_x_T,LINK_x_B) and top/bottom on each parity (LINK_x_O,LINK_x_E). As fitted, all eight links are 0R 1206 and nothing changes. The sources, extension switch, shunt and interlock stay on the odd-top segment. - OPTION BUS-SPLIT (+$1.60, +28 placements): the odd/even links become ET7460H switches, the even segment of each bus gets its own 74HC238 + three source switches (same five sources, no EXT), two more 74HC595 (16 bits) behind bypass jumper JP29002. Links open = up to four nets: e.g. bus A odd = 5V, bus A even = 3V3, bus B both = GND — the three-supply case that today sends one of them through the crossbar. Links closed = two full buses.
- OPTION BUS-SPLIT-SIDE (+$2.78 on top): the top/bottom links become switches, the two bottom segments of each bus get decoders, three more 74HC595 (24 bits) behind JP29003. Up to eight nets.
- Rules: a closed link is one switch (0.8 A, 0.1 Ω; a source feeding a row across a link is 0.3 Ω); one source per segment is hardware (each decoder one-hot), but two segments joined by a closed link with both decoders enabled is a firmware rule, like bus = source + EXT; the shunt measures between the two odd-top segments only; the parity constraint ("5V only on odd rows") is a UI job — the app says "move the chip one row".
- Latch chain: 200 bits as fitted; 216 with BUS-SPLIT, 240 with both;
JP29001A now takesB29_CHAIN_OUT, which is the isolation chain's end passed through the two bypass jumpers.
Costs in the explorer under "Bus segments"; parts list in docs/V6_BOM.md options table. The 90-package per-row structure is untouched, so this is a pure fit/no-fit decision later.
7. Names
ChonkBus, PowerBussy (yours); ChonkRail, FatBus, Beefy Bus, HardBus, Power Lane, HeavyLine. "ChonkBus" is the one that is both descriptive (chunky, bus) and says what it is in the UI ("put row 7 on ChonkBus A"); the latch/net names in the schematic stay BUS_A/BUS_B so nothing depends on the final pick.
8. Files
v6gen/blocks/b29_chonkbus.py(new; replacesb29_rowswitchinmerge_v6.MODULES),prep_base.py(60 label touches),b30_lane_afe.py,b32_power.py,b33_ext.py,ext_board.py,opt_misc.py,bom.py,prices.csv,kc.py;BUILD_SPEC.md§8;docs/V6_SCHEMATIC.md,docs/V6_HANDOFF.md,docs/V6_BOM.md/.csv.- Sheets:
v6gen/out/blocks/b29_{rowcells,isolation,busends,latches,bussplit}.kicad_sch+.png; staged projectv6gen/out/merged/MainBoard/; installed intoMainBoard/(fourth install 2026-10-31 added the segments). - Proof: base pins renamed 0 beyond the 79 intended (19 earlier + 60 rows), merged netlist = base + blocks, 1,426 parts added (191 of yours kept), ERC 2418 / 46 errors (the same 46 as before), KiCad re-save identical.

b29_bussplit (2026-10-31): the links and 0R bridges, the six option decoder sets, the five option latches with their bypass jumpers. Click for full size.Jumperless V6 design notes, written with Claude; updated 31 October 2026. Prices are LCSC unit prices on the date each section states.