HUXMechanical project
WorkshopDocumentsV1-PROOF wiring atlas — Rev CV1-PROOF · R05 current build

V1-PROOF wiring atlas — Rev C#

Revision dated October 17, 2026. This is a source-checked build-plan drawing. The physical harness and circuit release remain open. Rev C puts each board where it mounts in the R05 body. It adds the harness run lengths and a connector standard. The Electrical page leads with the full system schematic by location. Download the seven-page printable atlas or search the conductor register.

The harness assembly guide has one card for each cable. Each card shows the parts, proposed wire colors, connector positions and checks. The full engineering register remains available below the cards.

Each XH or motor connector has a shaded plug view and numbered end views. The wire-entry view reverses the socket-face order. Select a color to highlight its position. The adjacent list gives the function and the other endpoint. Board views show the separate mating pins.

These illustrations use the proposed schedule. Verify position 1 against the physical parts before assembly.

Assembly review — October 17, 2026#

The previous register required several tables to assemble one cable. It did not specify physical wire colors for new cables. The new guide groups the information by harness. H6 is the first example, with two wires and two XHP-2 housings.

The guide defines a proposed insulation color for each new wire. Vendor motor colors stay unchanged. Black is motor OUT2 on H6–H9. Green is encoder ground on H8 and H9. Read the endpoint labels as well as the colors.

The connector strips are position schedules. They are not physical face views. The guide explains the mirror effect between the mating face and the wire-entry face. Verify the actual orientation before contact insertion.

Pico interface correction required. PH-C groups physical pins 16–21 into one six-position header. Pins 16–20 are on one row. Pin 21 is on the opposite row. One straight header cannot span this group. See the official Pico 2 pinout.

Do not remove the existing Pico headers until the interface is resolved. The electrical endpoint assignments remain unchanged. A revised connector split or an adapter needs a separate layout check.

Cut-length limits. SP1 needs three individually measured legs. Its position is about 30 mm from the Pico housing. The 95 mm sensor route and 335 mm driver route do not specify these three cuts. H10 also needs separate measurements after the pack connector and fuse holder are selected.

Mating parts remain open. H4 and H10 need an exact XT30 contact-sex schedule. H11 and H12 need button terminals and button-side XH mating parts. The custom boards need physical header positions. None of these changes releases a harness for power.

SheetDrawingCoverage
EL-01Complete system wiring by locationRear elevation of the R05 body. Each board in its mount position. Every harness conductor with its connector position and a register ID
EL-02Pico 2 + IMUComponent-side pin maps and the seven-wire main SPI connection
EL-03Wheel harnessExact DRV8874 pad order, motor lead colors, the leg junction board and the wheel GPIOs
EL-04Power + kill chainFused pack, Pololu 2813 latched rail switch, 74HC14 heartbeat gate, logic branch and the open items
EL-05Both wheel motors — every wireTwo complete channels through the leg junction board, with terminal names
EL-06HarnessesOne card for each of the twelve harnesses: the two ends, the housings and the cut length of each branch
EL-07Connector loadingEach harness connector with its positions, pins, nets and mating wire

What changed in Rev C#

Rev B drew the circuits in a logical order. Rev C draws them in their mount positions. The sheet is a rear elevation: the CTRL deck at the top, then the BUS deck, the PWR deck and the tray. The left lane holds the near-wall items and the right lane holds the far-wall items. The user asked for this layout on 2026-10-17.

Rev C also removes a conflict. Rev B drew the old kill gate, with a latching gate on SLEEP, an ARM input on GP19 and a pack divider on GP28. The kill chain of 2026-10-15 and firmware/bench/src/pins.h use a different circuit. GP10 drives both nSLEEP pins directly. GP22 sends the heartbeat to the gate. GP28 reads the switched rail.

Rev C draws that circuit. The gate is still a design, with no part ordered or tested.

The servo branch is out of the V1-PROOF sheets. V1-PROOF has no powered hips, by the decision of 2026-10-16. The two ST3215 servos, the 9 V regulator and the bus interface stay in stock for the next version. The old EL-04 file name remains for the site links.

Side naming#

Robot LEFT is the near wall. The R05 CAD and the assembly guide use near wall and far wall. The electrical sheets and the firmware use left and right. The user set this mapping on 2026-10-17. The near wall is the wall that you see in the side view of the assembly guide. EL-01 shows the robot from the rear, so the left wheel is at the left of the sheet.

Mount positions#

The positions come from cad/prints/two-leg-body-r05/build.py and parameters.json of 2026-10-16. The body coordinates are X rearward, Y into the body from the near wall and Z up.

BoardMount positionCentre, mm
P1 Pico 2CTRL deck, far half(0, −97.5, 193)
U1 LSM6DSOCTRL deck, near half(0, −41.5, 190)
PDB power distributionBUS deck, near half, regulator cassette(0, −38.5, 145)
SpareBUS deck, far half, the former servo bus cassetteno board
KC kill chainPWR deck, near half, power-cut cassette(0, −38.5, 85)
DB driver boardPWR deck, far half, driver cassette(0, −96.5, 85)
JLEG leg junctionunder the PWR deck, centre(0, −67.5, 52)
Left gearmotor pigtail exitunder the body, near side(7, −42.6, −95)
Right gearmotor pigtail exitunder the body, far side(7, −92.4, −95)
Pack lead exittray, rear end, assumed(48, −50, −10)

Both drivers stay on one board on the far half of the PWR deck, as the R05 assembly guide says. The user confirmed this on 2026-10-17. Each gearmotor reaches the body with one six-wire vendor pigtail.

The leg junction board#

The Pololu 4752 pigtail is 200 mm long and ends in a 1x6 0.1 in female housing. The left pigtail cannot reach the driver board. The route model gives 216 mm. Both pigtails can reach a point under the PWR deck. The route model gives 179 mm.

Rev C adds a small junction board, JLEG, under the PWR deck. The user accepted this unified junction on 2026-10-17. It has two 1x6 male headers for the pigtails. The motor leads pass across the board to JPL and JPR, then to the driver board. The four encoder channels pass through 2.2 kΩ / 3.3 kΩ dividers, the bench values from the electronics bench guide. The 3.0 V outputs go to the Pico on one five-position connector.

This changes the R05 module table. The far cassette of the BUS deck, planned for the servo bus and the encoder conversion, becomes a spare position. The JLEG board layout and its mount under the deck remain open. Measure the pigtail route on the frame before you fix the position.

Connector standard#

JST XH 2.50 mm is the proposed standard for the low-voltage harness connectors. The selected boards use 2.54 mm grids. Do not assume direct fit. A six-position header accumulates 0.20 mm of pitch difference. Check the exact board footprint and connector dimensions before solder work.

The JST XH specification lists 3 A with 22 AWG wire. SXH-001T-P0.6 accepts 22–28 AWG with insulation diameter 0.9–1.9 mm. The current rating depends on the selected wire and assembly. It does not release the motor or power circuit.

PartUse
B2B-XH-A to B6B-XH-ABoard headers, top entry. Use S#B-XH-A side entry where the cassette height is tight.
XHP-2 to XHP-6Housings
SXH-001T-P0.6Contacts, 22 to 28 AWG
24 AWGSignals
22 AWG5 V, 3V3 and the motor OUT1 / OUT2 leads
20 AWG, XT30The pack, the fuse and the switched rail
1x6 0.1 in male headerThe Pololu pigtail housing stays as received

One kit covers the housing, header and contact counts of this harness. The harness register lists the kit, the crimp tool and a pre-crimped alternative, with the prices seen on 2026-10-17. Record the paid order in purchases.md.

The Pico end. The received Pico 2 has pre-soldered pins. The user proposed direct XH attachment on 2026-10-17. The assembly review found the PH-C row conflict described above. Resolve this interface before header removal.

Pico 2 headers#

The model proposes eight Pico connector groups. PH-C crosses the two rows and needs correction. The table records logical assignments, not a released physical layout.

HeaderPinsPositionsFunction
PH-Ap4–p74Encoder inputs GP2–GP5
PH-A2p8–p103GND, left EN GP6, left PH GP7
PH-Bp11–p155Right EN GP8, right PH GP9, GND, nSLEEP GP10, left nFAULT GP11
PH-Cp16–p216SPI1 to the IMU: GP12–GP16 and GND
PH-Dp24–p296Right nFAULT GP18, GND, heartbeat GP22. GP19–GP21 empty
PH-Ep31–p344Left CS GP26, right CS GP27, AGND, rail sense GP28
PH-Fp36–p3943V3(OUT), GND, VSYS. 3V3_EN empty
PH-Gp1–p33Optional UART0 link. No cable in V1-PROOF

The 3V3 output of PH-F feeds the IMU and the driver pull-ups through one splice, SP1, about 30 mm from the Pico header.

Twelve harnesses#

The wires build as twelve harnesses. Every connector housing belongs to one harness. EL-06 shows one card for each harness.

H1 is the CTRL deck harness. It runs from PH-C and PH-F to the IMU, the PDB and the driver 3V3 input. H2 is the right trunk. It runs from PH-A to PH-E down to the driver board, the leg junction board and the kill-chain board.

The other ten are two-wire or six-wire runs between two housings. The driver board gets its own two-position 3V3 input, J3V3, so that no housing is shared.

HarnessFromToWiresLongest cut
H1 CTRL deckP1.PH-C, P1.PH-FU1.JMAIN, U1.JINT, PDB.JPICO, DB.J3V311335 mm
H2 Right trunkP1.PH-A, PH-A2, PH-B, PH-D, PH-EDB.JSIG-L, DB.JSIG-R, DB.JCTL, JLEG.JENC, KC.JHB19395 mm
H3 Logic busKC.JBUSPDB.JIN2280 mm
H4 Switched railKC.XRAILDB.XRAIL295 mm
H5 Encoder supplyPDB.J5VJLEG.J5V2295 mm
H6 Left motor powerDB.JMLJLEG.JPL2100 mm
H7 Right motor powerDB.JMRJLEG.JPR2100 mm
H8 Left motor pigtailMLJLEG.JML_IN6200 mm, vendor
H9 Right motor pigtailMRJLEG.JMR_IN6200 mm, vendor
H10 Pack leadBATF1, KC.XPACK3200 mm
H11 KILL buttonSWKKC.JKILL2600 mm, fixture
H12 ARM buttonSWAKC.JARM2600 mm, fixture

Bundles and run lengths#

The bundles below are the detail behind the harness cards. The route model is a Manhattan path. It goes from the board to the front cable notch of its deck lane, then along the front face of the body. It then goes through the notch of the other lane to the board. The cut length is the path length plus 10 percent, plus 15 mm at each end for the termination, rounded up to 5 mm. The lengths are estimates. Cut each run long, route it on the frame, trim it and record the measured length.

BundleNameWiresAWGModel pathCut length
B1Sensor, P1 to U172459 mm95 mm
B23V3 feed, P1 to DB222275 mm335 mm
B3Left driver signals, P1 to DB524275 mm335 mm
B4Right driver signals, P1 to DB524275 mm335 mm
B5Driver sleep, P1 to DB124275 mm335 mm
B6Encoder signals, P1 to JLEG524287 mm350 mm
B7Kill-chain sense, P1 to KC324329 mm395 mm
B8Pico power, PDB to P1222269 mm330 mm
B9Logic bus, KC to PDB222226 mm280 mm
B10Switched rail, KC to DB22058 mm95 mm
B11Encoder supply, PDB to JLEG222238 mm295 mm
B12Left motor power, DB to JLEG22262 mm100 mm
B13Right motor power, DB to JLEG22262 mm100 mm
B14Left motor pigtail, vendor6——200 mm fixed
B15Right motor pigtail, vendor6——200 mm fixed
B16Pack, BAT to KC320154 mm200 mm
B17KILL button, fixture224—600 mm
B18ARM button, fixture224—600 mm

Bundles B2 to B7 run together down the front face of the far half. The route from the Pico to the driver board is 275 mm. The Pico is on the top deck and the drivers are on the bottom deck. A Pico position on the PWR deck can cut these runs to about 60 mm. The user accepts the 335 mm runs (2026-10-17), so the Pico stays on the CTRL deck.

Diagram conventions#

Colors identify the rail families or the signal families. The motor lead colors keep their documented function, and outlined white is encoder B. Dots show connected branches. Crossings without dots do not connect. Dashed boards mark circuits whose parts remain unselected.

EL-01 shows every harness conductor with a global ID and a connector position at each end. The register IDs refer to the searchable conductor register. The harness register adds the bundle, the gauge and the cut length. EL-05 labels wheel terminals without separate wire IDs.

IDs are references for the proposed harness. They do not establish released wire gauges or circuit designs. Functional blocks are not connector face views. EL-02 and EL-03 provide closer pin maps and implementation notes.

Sensor harness — source checked#

The Pico 2 component side faces the viewer, with the Micro-USB at the top. Physical pins run 1–20 down the left and 40–21 down the right. GPIO numbers are different from physical pin numbers.

Pico signalPhysical pinSparkFun SEN-18020 pad
GND18GND
3V3(OUT)363V3
GP15 / SPI1 MOSI20SDA / SDI
GP14 / SPI1 SCK19SCL
GP12 / SPI1 MISO16SDO
GP13 / chip-select17CS
GP16 / data-ready input21INT1

Before SPI, open the 0x6B/0x6A address jumper and leave its selection pads unbridged. We also recommend that you open both I2C pull-up traces. Keep the SCX and SDIX ground jumpers intact. Qwiic and the auxiliary SPI pads are unused. The main SPI connection uses the six-pad main header and INT1.

The drawing rotates the SparkFun component view clockwise 90 degrees. This puts the main pads on the left. Board outlines and pad spacing are proportional. Internal component graphics are simplified. Inspect the received board revision, labels and jumper state before you solder.

We independently compared these sources: Raspberry Pi Pico 2 pinout, SparkFun hardware overview, SparkFun schematic, and SparkFun PCB layout.

Wheel harness — source checked#

Each Pololu 4752 gearmotor needs its own DRV8874 driver. Red and black connect to OUT1 and OUT2 through the junction board. Black is a switched motor lead. Encoder green is GND, blue is regulated 5 V, yellow is A and white is B. A and B pass through the dividers on JLEG to 3.0 V.

The pigtail is six leads, 200 mm long, in a 1x6 0.1 in female housing. The Pololu 4752 page says that you can remove the crimped wires or cut the housing off. We keep the housing.

The drawing shows the DRV8874 driver component side up, in the orientation of the vendor. Feed the switched rail through VIN. VM is access to the reverse-protected motor bus. Ground PMODE and IMODE directly. nSLEEP is active low and comes from GP10 for both carriers. Each open-drain nFAULT gets a 10 kΩ pull-up to 3V3 on the driver board.

CS returns through a 1 kΩ series resistor. The VREF divider from 3V3 gives about 2.8 V, which sets the limit near 2.5 A with the 2.49 kΩ carrier resistor. Measure it. EN low brakes. nSLEEP low sets the outputs to off.

InterfaceLeft GPIO / physical pinRight GPIO / physical pin
Encoder AGP2 / 4GP4 / 6
Encoder BGP3 / 5GP5 / 7
EN / PWMGP6 / 9GP8 / 11
PH / directionGP7 / 10GP9 / 12
nFAULTGP11 / 15GP18 / 24
CS via 1 kΩGP26 / 31GP27 / 32

We independently compared these sources: Pololu 4752, 4035 carrier and pinout, carrier schematic, and TI DRV8874 datasheet, current regulation and fault modes. The GPIO assignments agree with firmware/bench/src/pins.h. Wheel direction and encoder sign need lifted-wheel checks.

Power and kill chain — functional plan#

The pack lead passes through the inline fuse F1 to the kill-chain board. The Pololu 2813 latched switch turns the rail on and off. The switched rail feeds both driver VIN pads through one XT30 pair. The 5 V regulator sits before the switch, so the logic stays on through a kill. The kill-chain logic has its own LD1117V33 regulator from the unswitched bus.

External regulated 5 V enters VSYS, physical pin 39, through a Schottky diode on the power distribution board. Do not assume that the onboard USB diode of the Pico 2 isolates an external regulator from USB backfeed. Feed the LSM6DSO IMU from 3V3(OUT). Qualify the loaded rail voltage and the power-off injection at all GPIO/ADC interfaces.

FunctionProposed Pico endpoint
Driver nSLEEP, both carriersGP10 / pin 14
Heartbeat to the kill-chain gateGP22 / pin 29
Switched rail via 100 kΩ / 22 kΩ dividerGP28 / pin 34
Optional UART0 manual linkGP0 / pin 1; GP1 / pin 2
NCGP17 / pin 22, GP19 / pin 25, GP20 / pin 26, GP21 / pin 27

The KILL and ARM buttons go on the bench fixture, not on the robot, as the kill chain says. The fuse value, the rail wire gauge, the return-energy clamp and the ON / OFF priority of the 2813 remain open. Stages K0 to K6 remain open.

What was double checked#

Rev C keeps the Rev B source checks. They cover the Pico 2 pins, the IMU pads, the DRV8874 pad order and the six motor lead functions. The automated generation rejects duplicate Pico 2 pin allocations and checks the SPI and ADC physical pins. The conductor graph checks terminal coverage and endpoint/net conflicts for 20 GPIO endpoints and 12 motor pigtail leads. Geometry checks reject overlapping wires of different nets, endpoint touches between different nets and wires hidden inside component bodies.

Rev C adds a consistency check. The wires drawn on EL-01 must equal the wire list of cad/wiring/harness.py, with the same nets. The harness model checks that every loaded connector position has one wire and that every XH connector has two to six positions. The route model checks that both pigtails can reach JLEG.

These checks verify the drawing data. They cannot prove physical wiring, the behavior of a TBD circuit or the actual cable length. This is source verification, not a measured assembly pass. The received inventory, Pico bring-up record and electrical qualification checklist keep their current status.

cad/wiring/README.md describes the editable drawing source and the reproducible exports. The endpoint register and the harness data are review aids, not a firmware implementation.