Dedicated Sensor Zone Layout
You really need to separate the board into “Wet” and “Dry” areas. The “Wet Area” (sensor electrodes, probe connectors) should have a separate location. Most importantly, separate these zones by a physical “moisture barrier” on the PCB in the form of a continuous, unbroken slot (routed gap) in which no copper traces run through on the same layer.
It acts like a barrier and dramatically retards moisture and contaminant transport by way of capillary flow along the laminate interface. All signals that cross this barrier must go through conditioning circuits (buffers, filters) at a distance within the Dry Zone, consider them a firewall.
Aggressive Guarding and Shielding
For capacitive or high impedance resistive sensing, you have to use an active guard ring. It is a copper trace that surrounds 100% of the high impedance sensor input trace and is driven by a low impedance buffer at the line voltage of the sensed signal. This guard ring should be added on every layer where the sensitive trace runs and connected through vias to it.
Material and Finish Selection
The plain
FR-4 substrate and the HASL finish are not adequate long-term underwet protection. You need to order
high-Tg, low-water-absorption laminates (e.g.,
polyimide or some high-performance FR-4 variants) to achieve dimensional and dielectric stability. For exposed pads or traces in the Wet Zone, apply an
Immersion Gold (ENIG) or hard gold plating finish over the copper.
Layout Optimization
Component Spacing: Maintain a minimum distance (typically >0.5mm) between component bodies and the PCB surface to prevent capillary “bridging” and ensure coating flows underneath.
No Unsealed Test Points in Wet Zones: Standard exposed copper test points become corrosion initiation sites. If test points are absolutely needed, they must be designed as sealed, plated-through holes or placed outside the coated area with explicit instructions for masking.
Edge Definition: Provide a clear, continuous “coating dam” (a drawn keep-out line) on the
fabrication drawing to define the coating area and ensure complete coverage at the board edges where moisture ingress is most likely.
Managing Stresses from Wiring and Enclosures
Sensor probe wires soldered to the PCB act as levers. You must include strain relief features directly at the solder joint. This can be a tiedown hole near the connector pad for a cable zip-tie or a designed “strain relief loop” in the wire secured by epoxy.
Furthermore, if the water level indicator circuit board is mounted inside an enclosure, ensure the mounting holes are isolated from the ground plane near sensitive analog areas. Mechanical stress from screws or vibration can transfer to the board, inducing micro-fractures or altering stress-sensitive components’ values.