Water Level Sensor Circuit Design

Based on Flux knowledge-base guidance and safe GPIO practices, here’s my recommendation:
  1. Pull-down resistor
    • Use a 100 kΩ pull-down on the Pico GPIO to define a solid LOW when no water bridge is present.
    • At 5 V this draws only 50 µA, minimizing corrosion and power drain.
  2. Voltage level shifting (only if you must keep the probe at 5 V)
    • Because the Pico’s GPIO is not 5 V-tolerant, add a simple divider:
      • R1 = 6.8 kΩ from the probe to the GPIO node
      • R2 = 10 kΩ from the GPIO node to ground
    • This yields ≈2.98 V at the pin—well above the ~2 V logic-high threshold and within 3.3 V tolerance.
  3. Better alternative
    • Power the probes from the Pico’s 3.3 V rail instead of 5 V and omit the divider. The 100 kΩ pull-down alone is then sufficient.
    • Or implement a capacitive water sensor using PCB pads (per soil-moisture-sensor best practices) to avoid galvanic corrosion altogether.
Part suggestions (all < 60 % power rating, AEC-Q200, good stock):

Table


FunctionPart
100 kΩ Pull-downCRCW0603100KFKEA
6.8 kΩ Divider R1CRCW08056K98FKEA
10 kΩ Divider R2RC0805FR-1310KL
Let me know which option you’d like to implement or if you’d prefer the 3.3 V-powered variant—then I can help place and wire them in Flux.
Use 3.3V rail
Implement 5 V divider
Ask wiring divider
Capacitive sensor option
U1
U3
U2
M3-
SDA0
Dir+2
PWM4
WHigh
M3-
M4-
M4-
M2-
Dir-3
M2+
SDA0
PWM1
M2+
PWM4
PWM1
Dir-4
PWM2
Dir+3
Dir-4
Dir+3
Dir+4
SCL0
Dir-3
M1-
M1+
WLow
WLow
SCL0
M1+
Dir-1
M2-
M3+
PWM3
M1-
Dir+1
Dir-2
Dir+2
M3+
WHigh
PWM2
Dir+4
M4+
Dir-1
Dir-2
M4+
PWM3
Dir+1
R6
Resistance
6.8kΩ
3.3v
5v
5v
12v
3.3v
R8
Resistance
10kΩ
J2
5v
J5
5v
U4
12v
R7
Resistance
10kΩ
3.3v
3.3v
R5
Resistance
6.8kΩ
Rpi1
J7
5v
J6
J4
3.3v
J3
J8

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    No assets added.

    ENGG1100

    ENGG1100 thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $6.62

    Digi-Key

    $5.86–$6.74

    LCSC

    $8.08

    Mouser

    $6.48

    TME

    $1.25

    Verical

    $1.06–$1.76

    Controls