ESP32 Water Level Sensor Board


continue
I can’t resume PCB editing because your account’s ACUs have run out. No changes were made this turn.
The last verified state still needs the lower board outline checked, the ESP32 socket connections routed, and final airwire and DRC checks. The socket rows are specified at 25.00 mm apart. Do not fabricate yet.
board is checked. continue
Created a project doc

PCB resume handoff

View Document

PCB resume handoff
User confirms the board outline is checked and requests continuation. Current screen capture shows an expanded rectangular green outline enclosing both ESP32 socket rows. This is visual evidence only; saved geometry, connectivity and DRC have not been inspected this turn.
Preserve
  • ESP32 socket row spacing: user measured exactly 25.00 mm.
  • Two 15-pin sockets replacing J5, mapped from the user's DevKit photo.
  • Existing sensor and power circuitry, J6 disconnect, and documented qualification limits.
  • No firmware.
Remaining work
  1. Inspect saved outline, socket placement, pin mapping, and RF keepout on every copper layer.
  2. Complete affected socket routing without unnecessary changes to existing circuitry.
Noted—the board outline is checked. Your current screen capture also shows both socket rows inside the expanded outline.
I saved the remaining work for resumption: verify socket pin mapping and antenna clearance, finish the socket routing, then check airwires and DRC. No PCB changes or validation were performed this turn, and no firmware was created.
Execution stopped because your ACUs ran out.

Waiting for input


Project Specification
Approved PCB scope — October 10, 2026
This section supersedes earlier statements that PCB work was deferred. User approved a 60×40 mm sharp-corner rectangular carrier, four conventional FR-4 copper layers, approximately 35 µm (1 oz) copper per layer, through-vias only, all 33 components on TOP, no new mounting holes, and continuous common-ground planes. External TL-136, LM2596 module and ESP32 DevKit remain harness devices: no invented module footprints or antenna keepouts. Firmware and schematic topology changes remain outside this batch. Electrical qualifications in the authoritative remediation section remain open.
Manufacturing base retained: Flux Standard Density (SDI) v3; saved companion target JLCPCB SDI 4 Layer v1. Physical stackup explicitly configured as Standard 4 Layer (Custom), with Mid-Layer 1 and Mid-Layer 2 both Ground Plane, Top/Bottom signal layers, conventional prepreg/core dielectrics and through-hole via span L1→L4. User routing-width additions customize the base profile; no manufacturing limits were loosened. The physical template is not a verified exact fabrication stackup order code.
Layer Routing Strategy

Table


Copper layer identifierPreferred orientationRole
Top0°Analog-critical and local support signals; horizontal preference
Mid-Layer 1noneUnbroken common GND reference; do not signal-route
Mid-Layer 2noneCommon GND reference; do not signal-route
Bottom90°Orthogonal routing partner, power/interface routing where useful
Exact run_auto_route input: layerOrientations: [{"layer":"Top","orientation":0},{"layer":"Bottom","orientation":90}]. Plane layers are omitted because this API accepts only numeric orientations. The current run_auto_route schema has no layerPreferredNets argument; these critical-layer preferences are design intent, not an enforced autorouter constraint: LOOP_SHUNT, FILTERED_LOOP, LIMITED_LOOP, ADC_AIN0_SAFE, QUIET_3V3 prefer Top for short analog paths and local supply loops. Preserve Kelvin-like taps at R1 endpoints; keep J4→J6→J5 1 A supply/return corridors in the left/bottom region, away from right-side analog returns. Ground remains one continuous reference, not a split plane. Reinspect these critical paths after routing.
Width preparation: RAW_24V/FUSED_24V/PROTECTED_24V 0.5 mm for 0.35 A budget; BUCK_5V/DEVKIT_5V_DISCONNECT 1.0 mm for 1 A DevKit allocation; GND and quiet/analog nets 0.127 mm (manufacturing minimum) for escapes. Plane return carries high current; J1/J3/J4/J5 relief conductor configuration is four 0.4 mm spokes (applies when thermal relief is used), avoiding blanket oversized GND traces. Two deterministic BUCK_5V neckdowns at U2 were generated; dense ADC/switch pads were already reachable at configured widths.
PCB preparation handoff
Completed board setup, all-top placement, routing rules, neckdown generation and preflight. No board-wide routing or autorouter was attempted. Board-check: valid yes, 33 components/13 nets, no routing feasibility issues (zero anomalies). Placement mutation/readback: zero overlaps, zero keepout violations, zero components outside board. Final DRC/placement warning query: 39 airwire Errors and 2 redundant neckdown Warnings; no other returned DRC/placement Errors or Warnings. These stubs are intentionally kept for routing. Generated GND fill and five automatic stitching vias are present. This is routing preparation, not manufacturing readiness.
Placement coordinates
All coordinates mm from board center; all components TOP. J1/J3/J4 rotated 90° toward left; J2 270° toward right; U1 180°; remaining parts retain 0°.

Table


ComponentXY
J1-2513
J3-251
J4-25-11
J22511
J6-13-16
J5-2-16
F1-1313
D1-135
U2-12
C2-44.5
C324.5
R521
R117.58
R4183
C418-1
C518-5
C718-9
R713.5-0.3
U395
C6610
U19-4
C19-9
D510.50.2
D613-2.5
R614-6
R24-7
R34-10
TP1-717
TP2-16-8
TP3010
TP41917
TP524-4
TP624-12
Remaining gates: routing and routed return-path review; C2/C3 effective capacitance; switch sequencing/acquisition bench qualification; exact external modules and sensor qualification. No sustained 24 V return-miswire or surge immunity claim. Disconnect the entire J5 harness before USB; J6 alone is insufficient.
Review remediation override — authoritative current revision
Prior 680Ω/no-downstream-limiter architecture and completion/sequencing claims below are superseded. Actual chain:100Ω precision shunt→R4=560Ω→C4/C5/C7 bank66µF→R7=330Ω1%→TMUX1511→ADS1115,with100k discharge. Native simulation nominal3.6814Hz,0.1%settling298.635ms,DC endpoints0.3956319/1.978159V anduncalibrated2merror−27.301mm;mandatorytwo-pointcalibration. R7boundsprecharged2.2Vcurrent6.734mAat1%minimum,not device-level sequencing/acquisition validation. Current scope-status contains exactratings/evidence/netlists and fresh0Error2metadataWarningERC. C2/C3actualcandidateGRM21BR71C225KA12Lassigned,but>=1µFeffectiveat5V/3.3Vremainsunqualified because suppliercurveonlytypical;vendorconfirmation/measurement requiredbefore release. Existingreviewfindingaddressed,no newreviewround. NoPCB/firmware/code;hardwareverificationremainsconditionaland externalmodulegates/USBentireJ5disconnectretained.
Project Overview
First-pass electrically connected schematic-only carrier for external TL-136 hydrostatic transmitter, external LM2596 adjustable buck module and ESP32 DevKit V1. Electrical completion is limited to the documented prototype operating scope, not manufacturing release or confirmed accuracy.
Intended Use
Prototype slow tank-level monitoring; not a safety controller.
What the Device Should Do
Measure 0–2 m water depth; desired absolute accuracy 1–2 cm, not yet established. Display updates approximately 1–2 s; 3–5 s settling acceptable.
Main Features
4–20 mA acquisition, external 16-bit ADS1115 I2C ADC, protected power and prototype test points.
Mechanical System Architecture
External sensor → cable → carrier → harness → external DevKit. External buck uses IN+/IN−/OUT+/OUT− harness. No module geometry, sockets, board outline or placement is assigned.
Electrical System Architecture
24 V → fused reverse-polarity protected distribution → transmitter and external buck; buck preset5V → removableJ6link → externalDevKit viaJ5harness. Independentquiet3.3VLDOsuppliesADC,analogisolationswitch,andI2Cpullups,neverDevKit. Sensorreturn →100Ωprecisionshunt →680Ω/66µFlowpass →TMUX1511 →ADS1115 →GPIO21SDA/GPIO22SCL. Kelvin signal taps at both shunt endpoints must avoid high-current returns while sharing one common reference; no split-ground performance claims.
Hardware Subsystems
Two-wire loop is conditional baseline pending exact sensor identification. Shunt specification: 100 Ω, 0.1%, ≤25 ppm/°C, ≥0.25 W. Nominal signal 0.4–2 V, maximum nominal dissipation 40 mW. Filter target roughly1–5Hz; actual680Ω plus3×22µFceramic andTMUX1511powered-offisolation gives simulated3.119Hznominal.100kADCdischarge deliberately adds loading; two-pointcalibrationmandatory.
Interfaces and Connections
24 V supply; conditional transmitter positive and return (no invented colors); buck IN+/IN− and OUT+/OUT−; DevKit VIN/5V, GND, GPIO21, GPIO22. Physical power disconnect required for USB programming if power ORing cannot be verified.
Power and Runtime Expectations
PROVISIONAL isolated SELV 24 V ±10% supply, 21.6–26.4 V. No battery requirement.
Power Tree and Power Budget
5VDevKit allocation1A includingRFbursts is a designallowance,notmeasured. Existingpower-budgetrecords1.004A5Vallocation,3mAquietrail,4mALDOinput,22mAloop,20mAprovisionalbuckquiescentand80%efficiency. Worstscreenreflectedinput≈0.346A;design0.35Apath.
Manufacturing and Assembly Expectations
Real footprints for carrier ICs and interfaces; external modules not substituted with bare ICs. No PCB placement or routing in scope.
Firmware-Relevant Hardware Requirements
PlannedADS1115address0x48,AIN0singleended,±4.096VPGA,16SPS,100kHzI2C,median/EMAandtwo-pointcalibration.125µV/code≈1.5625mmnominalquantizationfor2m/16mAspan;resolutionnotabsoluteaccuracy. Firmwarefilesdeferred.
Physical Design Expectations
Exact sensor variant, DevKit headers and buck module ratings/geometry unresolved. No inferred module footprint permitted.
Important Design Decisions
External ADC rather than ESP32 internal ADC; quiet LDO does not supply ESP32. Buck must be preset and measured at 5 V before DevKit connection. Do not use USB and module power simultaneously without verified isolation. No surge/lightning qualification claims.
Assumptions
Slow freshwater sensing; exact density/temperature, venting, calibration and sensor accuracy require verification. Generic seller titles cannot certify purchased sensor range or accuracy.
Change Notes
Electrical connections complete and zero concrete ERC Errors; two diode-library metadata Warnings justified in schematic-scope-status. Input uses72V0.75AholdRXEF075 and60VSS36seriesdiode; no high-clampTVS. Indoor regulated21.6–26.4V SELV only, provisional15–35°C ambient. Sustained24V-on-sensor-return, shorted transmitter, externalnegative-return faults, industrialsurges and lightning explicitly excluded. U3 isolates normal≤2.2Vloop from unpoweredADC;100k1%dischargebounds specified2µAleakageto±0.202V. Entire removableJ5four-wireDevKitharnessmust be disconnected beforeUSB;J6powerlinkalone does notisolateI2C. TP1–6added. Actualsimulation/evidence andremainingmodule/sensorqualificationare in existing scope-status;PCB/firmware deferred. No independentreviewyet; schematic cosmeticarrangement remainslimitedbyexposedtools.
  • Approved PCB scope — October 10, 2026

  • Layer Routing Strategy

  • PCB preparation handoff

  • Placement coordinates

  • Review remediation override — authoritative current revision

  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • Mechanical System Architecture

  • Electrical System Architecture

  • Hardware Subsystems

  • Interfaces and Connections

  • Power and Runtime Expectations

  • Power Tree and Power Budget

  • Manufacturing and Assembly Expectations

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Change Notes