Getting Started with Flux


I started the circuit in your project and rendered the existing 3D enclosure. The complete circuit is not finished yet.
Current 3D model

DrainCheck enclosure with cover lifted

3D Model

The enclosure retains four corner screws. The blue shapes represent estimated electronics sizes—not detailed circuit boards. Actual board mounting, wiring fit, and closure strength remain unverified; it is not print-ready.
Circuit work completed
  • Added the U1.
  • Added and wired two 10 kΩ echo-input pulldowns: R1 and R2.
  • Preserved the planned upstream D4/D5 and downstream D6/D7 interfaces.
  • Marked unfinished sensor connections HOLD.
Remaining: SEN0208 has no matching library part. Completing the drawing requires a source-backed sensor symbol—not a substitute. Manufacturer supply and interface guarantees are still needed before purchase or power-up.
Checks report three unfinished single-pin nets and one VIN power finding; the latter reflects the module symbol’s omission of built-in USB power. No custom PCB or physical testing was completed. I saved the checkpoint in the Project Specification.
Execution stopped because your ACUs ran out.

Waiting for input


Prototype Execution Handoff
Binding sensor decision — 2026-11-10
User explicitly chose: retain the SEN0208 baseline under electrical HOLD; resolve supply and interface guarantees before purchase or power-up; do not substitute sensors. This supersedes earlier open sensor-choice language. MB7389 research is historical only, not an authorized development or replacement path. Preserve existing firmware and pin assignments; no sensor purchase, connection or energization is released.
Current-source recheck: the manufacturer product page and current wiki still do not provide guaranteed trigger VIH/VIL, echo VOH/VOL with loading conditions, absolute maximum ratings or startup/peak current limits. No revision-specific manufacturer clarification has been received. A tutorial is application evidence, not a complete guaranteed DC interface specification. Historical forum statements cannot settle the current-revision guarantee.
The controlling @first-assembly-and-commissioning now contains a ready-to-send manufacturer clarification request and evidence acceptance criteria. The request has NOT been sent. Manufacturer evidence remains necessary; no claim of electrical resolution or physical testing is made. Existing four-screw closure and actual-hardware qualification tasks remain open and unchanged.
Session state
Active bench prototype development, 2026-11-10. User approved starting the controlled modular bench prototype; do not ask again for concept approval. No physical hardware is known available; no custom schematic/PCB, purchases, upload, commissioning or field installation completed. This records batch advanced safe inventory/software preparation but did NOT resolve the main sensor supply/interface sourcing blocker. See the active sequence and exact user-only evidence checklist in First Assembly and Commissioning.
Completed digital package
  • Selected official Arduino UNO Rev3 A000066 and two identical current-revision DFRobot SEN0208 V2.0 heads in Mode 0. Confirm current revision before purchase; older documentation conflicts. Same nominal 5 V rails and the UNO tutorial suggest direct-interface compatibility, but guaranteed sensor VIH/VIL/VOH/VOL are not established; no unconditional no-level-converter claim or electrical release is made.
  • Materials/wiring file prototype-materials-and-wiring~cl, firmware guide firmware-guide~7w, specification project-specification~jj, industrial design brief industrial-design-brief~ms updated/created.
  • Builder reports successful PlatformIO uno build, independent rebuild from restored bundle, 4928 bytes flash and 293 bytes static RAM, no observed compiler/linker warnings; 15 plain host C++ assertions also passed ASan/UBSan. Python synthetic serial capture and plotting tested. These are software checks, NOT hardware validation or independent electrical signoff.
  • Bundle: draincheck-bench-v1. Durable source/log/binary restoration asset: https://cdn.flux.ai/document_assets/draincheck-bench-v1-d222f8b6-f357-4558-aed8-5c642cbf3335 . See Firmware Guide for tested restoration commands.
  • Firmware sequences sensors 250 ms apart per 10 s cycle, raw data/quality CSV, bounded waits, session time and invalid UTC by default. Survey calibration false and Z_UP_MM/Z_DOWN_MM NAN. Diagnosis intentionally always unknown, not functioning blockage classifier.
Continuation completed — 2026-11-10
Software verification is now independently reproduced: corrected log read, clean UNO build4928 flash/293 static RAM,15 native assertions, ASan/UBSan with no diagnostics, Python syntax/CLI/helpers all PASS. No source changes. Added @first-assembly-and-commissioning and corrected supply gate in materials/guide. Manufacturer product page namesVersion2.0 but conflicts internally on supply3.0–5.5V versus detailed3.3–5V; do not assume USB nominal5V guarantees sensor max compliance. Obtain received-revision tolerance confirmation plus host/cable rail extrema/transients and actual current/entitlement before energizing heads. Whole-system electrical signoff is blocked FIRST by sourcing: no unambiguous manufacturer supply limit/guaranteed interface evidence or qualified supply/interface design has been established. AFTER that closes, physical rail/current, timing and acoustic evidence is required. Measurements cannot replace missing design ratings. Historical outstanding paragraph below is superseded for software only; mechanical handoff is unchanged.
Previous outstanding verification (historical)
Independent reviewer uy returned partial review: no concrete errors in source/wiring inspected. Manufacturer pinout/timing match code: TRIG pins 4/6, ECHO 5/7, external 10k pulldowns, 20us trigger, 45ms echo timeout, 250ms separation/10s pair interval; invalid datum/UTC and always-unknown behavior verified by source reading. All 20 restored files matched SHA256. Independent compile/tests NOT reproduced because a malformed tail command aborted shell chain before build. Retained test logs also not read. On computer draincheck-fw at /tmp/review/draincheck-bench-v1, continue with tail -n 15 logs/*.log, pio run -e uno, pio test -e native, guide sanitizer command, python3 tools/check_helpers.py. Builder success reports remain not independently reproduced, not refuted. Whole-system power margin and USB supply tolerance/current allowance remain unclosed. No revision-source conflict beyond already documented seller confirmation requirement. No need repeat datasheet research.
Mechanical work — separate ownership
Earlier “no CAD exists” statements are obsolete. Existing provisional dry-bench CAD is nominal 100×140×40.4mm, with user-approved four visible corner screws and unresolved closure. This electrical/software batch did not edit mechanical assets or the enclosure handoff. Use @enclosure-work-handoff and current Project Specification for mechanical state; no fit-ready, closure-qualified or IP claim.
Research-only alternative — no substitution or purchase
@prototype-materials-and-wiring records two MaxBotix MB7389-100 as an alternative at approximately USD219.90 per pair versus historical SEN0208 USD32, before delivery/tax. Its documented supply range and manufacturer UNO example improve evidence, but numeric DC I/O guarantees remain unresolved. The existing firmware's 45ms wait is incompatible with its delayed pulse output; new scale/sentinel/acquisition firmware and tests plus rig/mount review would be needed. The user has now explicitly retained SEN0208 and prohibited substitution; this alternative is archived research only.
Sourcing blockers first, then physical evidence and next work
First close the engineering sourcing gate: unambiguous manufacturer supply/interface approval or a qualified compatible supply/interface design. Then, with actual hardware and instruments available, qualify rail/current and carry out gated timing/acoustic tests. No actual hardware is known available to verify upload, current demand/USB allowance, echo timing, acoustic cross-talk, accuracy, recovery/endurance. Whole-system power margin remains open. Need received revision confirmation and actual rig survey before calibration. Current sensor specified range begins 30 cm with wide beam: do not assume small tabletop tank suitability. Check actual selected revision documentation and rig geometry. No public-drain obstruction or hazardous-atmosphere deployment. Next safe steps: inventory and basket without purchase, engineering resolution of guaranteed supply/interface ratings, independent UNO-alone dry preparation, then released harness commissioning with supervisor only when actual hardware/instruments exist. Software reproduction is already complete; do not redo it merely to imply progress on the electrical blocker. Do not report prototype as physically working.
  • Binding sensor decision — 2026-11-10

  • Session state

  • Completed digital package

  • Continuation completed — 2026-11-10

  • Previous outstanding verification (historical)

  • Mechanical work — separate ownership

  • Research-only alternative — no substitution or purchase

  • Sourcing blockers first, then physical evidence and next work