Add connectors and decoupling
- Place three connectors in the schematic: one for a 5 V input, one for the pump, and one 2‑pin connector for the external probes.
- Add decoupling capacitors near the 5 V input and on the comparator power pins.
Implement the probe sensing network
- Add a low-bias resistive divider across the 2‑pin probes with series resistors to limit current and prevent corrosion.
- Include a small RC filter at the sensing node to reduce noise and stabilize the input signal to the comparator.
- Optionally add an ESD clamp for extra probe protection, connecting the sense node to the comparator input.
Create the comparator stage
- Place a rail-to-rail comparator and connect the filtered sensing node to its non‑inverting input.
- Set up an adjustable threshold network (using a trimmer or fixed resistors) on the inverting input referencing a divided 5 V source.
- Add a positive feedback resistor network to implement hysteresis, ensuring robust switching when conductivity is lost.
Add the pump driver and protection circuitry
- Introduce a logic‑level N‑MOSFET as a low‑side switch to control the pump; connect its gate through a resistor and provide a pulldown resistor.
- Wire a flyback diode across the pump terminals to protect against inductive voltage spikes.
- Include a bulk capacitor on the 5 V input to handle transient pump inrush currents if necessary.
Connect nets and finalize the design
- Connect the comparator output to control the N‑MOSFET gate, ensuring proper signal flow from sensing to actuation.
- Label all nets clearly (e.g., VIN, GND, PROBE+, PROBE-, SENSE, THRESH, COMP_OUT, PUMP+, PUMP-).
- Run ERC/DRC to verify design integrity before preparing the PCB layout.