Repository navigation
Build
Generated page — do not edit here. The source of truth is
docs/BUILD.mdin the repo, at commit33c0cdd. Edits made in the wiki are overwritten by the next publish, and a wiki page cannot be reviewed in the same diff as the code it describes.
This is the assembly procedure. Follow it in order.
HARDWARE.md holds pin research, measurements, rejected explanations, and circuit history. It is
not a build sequence. If the two files appear to conflict, stop: this file controls assembly,
and the conflict must be resolved before hardware is connected.
Do not install a RAK4631 Core and do not connect the pack data wire to any GPIO.
The safe procedure currently ends at step 22. Steps after that do not exist yet because the powered-off isolation circuit and powered contention limit have not passed their bench gates (#101, #102).
- RAK19007 WisBlock base board
- RAK5802 RS-485 module with spring terminals
- RK900 weather sensor
- RAK9154 solar battery pack and its 5-pin Sensor Hub Load harness
- 12 V-to-5 V buck converter
- multimeter
- Saleae Logic Pro 8 for any unqualified signal
- current-limited 3.3 V bench supply for the pack-data qualification
Keep the candidate/donor RAK4631 CPU/radio Core somewhere outside the assembly area until step 22 passes.
- Disconnect USB.
- Unmate the RAK9154 connector.
- Disconnect the buck from its input.
- Confirm with the meter that the buck output, base-board
VDD, pack pin 4, and the free data lead are not energised. Record the readings; do not proceed on a non-zero reading. - Remove the RAK4631 Core if one is fitted.
- Fit the RAK5802 in its documented WisBlock IO slot.
- At pack pin 2 (
P−), make one soldered and heat-shrunk junction containing:- buck input negative;
- RK900 negative;
-
GROUND A; -
GROUND B.
- Land
GROUND Aon the RAK19007 base-boardGNDpad. - Land
GROUND Bin the RAK5802GNDspring terminal. - Short the meter probes together and record the lead-resistance reading.
- Measure pack pin 2 to the base-board
GNDpad. Record the resistance. It must remain stable while the harness and each termination are moved gently; an overload/open or changing reading fails this step. - Measure pack pin 2 to the RAK5802
GNDterminal in the same way. Record the resistance. An overload/open or changing reading fails this step. - Connect pack pin 1 (
P+) to both:- buck input positive;
- RK900 12 V positive.
- Connect RK900
Ato RAK5802A/RX. - Connect RK900
Bto RAK5802B/TX. - Join pack pins 3 and 5 at the pack connector. Terminate the resulting data lead so it cannot
touch anything. Do not put it in
SDA,A1,IO1, or any other node terminal. - Leave pack pin 4 (
3V3_In) disconnected and insulated.
Your wiring must match this before taking measurements. Red lines end unconnected. The RAK4631 Core is not fitted, the pack connector is not mated, and the buck output is not connected.
flowchart LR
subgraph PACK["RAK9154 harness — pack end UNMATED"]
P1["pin 1 — P+"]
P2["pin 2 — P−"]
P35["pins 3 + 5 joined"]
P4["pin 4 — 3V3_In"]
end
J["soldered + heat-shrunk<br/>ground junction"]
subgraph BUCK["12 V → 5 V buck"]
BINP["VIN+"]
BINN["VIN−"]
BOUT["5 V output<br/>DISCONNECTED"]
end
subgraph WEATHER["RK900 weather sensor"]
RKP["12 V+"]
RKN["GND"]
RKA["A"]
RKB["B"]
end
subgraph BOARD["RAK19007 base board — NO CORE"]
BGND["GND pad<br/>GROUND A"]
NOVDD["VDD<br/>NO CONNECTION"]
subgraph MOD["RAK5802"]
MGND["GND terminal<br/>GROUND B"]
MA["A/RX"]
MB["B/TX"]
MSDA["SDA<br/>NO CONNECTION"]
end
end
FREE["insulated data lead<br/>NO CONNECTION"]
FREE4["insulated pin 4 lead<br/>NO CONNECTION"]
P1 --> BINP
P1 --> RKP
P2 --> J
J --> BINN
J --> RKN
J --> BGND
J --> MGND
RKA --> MA
RKB --> MB
P35 --> FREE
P4 --> FREE4
style FREE fill:#ffd6d6,stroke:#b22222,stroke-width:3px
style FREE4 fill:#ffd6d6,stroke:#b22222,stroke-width:3px
style MSDA fill:#ffd6d6,stroke:#b22222,stroke-width:3px
style NOVDD fill:#ffd6d6,stroke:#b22222,stroke-width:3px
style BOUT fill:#ffd6d6,stroke:#b22222,stroke-width:3px
style BGND fill:#d7f8d7,stroke:#2e7d32,stroke-width:3px
style MGND fill:#d7f8d7,stroke:#2e7d32,stroke-width:3px
-
With every source still disconnected and no Core fitted, meter from the base-board edge-header
BATpad to each of:-
IO1; -
A1; - RAK5802
SDA.
Record all three displays. Each must show the meter's open/overload indication. Any finite or unstable reading fails the board; do not install a Core.
-
-
If this is the same pack and harness as capture 13 in
EVIDENCE.md, record that existing pack-side qualification in the build sheet and continue. If either the pack or harness changed, repeat steps 20–21. -
Qualify a changed pack or harness with no Core and no base board in the measurement loop:
- bench supply OFF;
- bench-supply negative to pack pin 2;
- bench-supply positive to pack pin 4;
- Saleae ground to pack pin 2;
- Saleae analog channel 0 to the joined pin 3+5 data lead;
- nothing else on the data lead;
- set the supply to 3.3 V with a 50 mA current limit;
- energise pin 4 and capture at least 60 seconds.
This repeats the setup that produced capture 13. Do not substitute the RAK19007
VDDpad: its cited datasheet does not establish a 3.3 V source with the Core removed [CIT-RAK19007-DS]. -
Export the analog capture and run
scripts/owprobe.py <analog.csv>. Record its output and raw capture path inEVIDENCE.md.- Exit 0 qualifies only the pack-side voltage under this captured condition.
- Exit 1 is inconclusive; correct the measurement setup and repeat.
- Exit 2 fails; isolate the lead and stop.
-
Confirm all of the following:
- the RAK4631 Core is still not fitted;
- the pack data lead is insulated and reaches no node terminal;
- both ground-path readings are recorded;
- all three
BAT-isolation readings are recorded; - the applicable pack-side analyzer result is recorded.
Then stop. Do not mate the pack connector to a Core-equipped node.
All five items are required:
- A reviewed isolation schematic. The current candidate is TI
SN74CBTLV1G125, whose datasheet specifies bidirectional operation and at most 10 µAIoffwithVCC = 0 Vand either data terminal up to 3.6 V [CIT-SN74CBTLV1G125]. - An exact output-enable circuit. TI requires
OEpulled toVCCso the switch is open during power transitions; no pull-up value or control GPIO has been approved. - A selected current-limiting network that meets both the nRF52840 limits and measured 9600-baud
HIGH/LOW thresholds. The existing 1 kΩ resistor does not pass by precedent: it was fitted when
SDAfailed. - A no-Core powered-off test proving the Core-side switch terminal remains isolated while the pack side is active.
- A two-sided analyzer capture during the production exchange proving the voltage and current at both ends of the current-limiting element.
Until those results are in EVIDENCE.md, there is no step that says to install the donor Core.
Copy this block into the bench record:
Date:
Base board identifier (or NOT IDENTIFIED):
Pack/harness identifier (or NOT IDENTIFIED):
Meter lead resistance:
Pack pin 2 -> base-board GND:
Pack pin 2 -> RAK5802 GND:
BAT -> IO1:
BAT -> A1:
BAT -> SDA:
Pack-side capture/evidence entry:
Step 22 PASS/FAIL: