⚠️ Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through our links, we may earn a small commission at no extra cost to you. Every product below was checked against its live Amazon listing before publishing. Prices change often, so we don’t list them here. Tap any Buy Here button to see the current price on Amazon.
Water Monitoring Buying Guide
💧 Best Water Quality Sensors for ESP32
pH, TDS, conductivity, turbidity, dissolved oxygen and temperature probes for aquariums, hydroponics, ponds and pools, chosen for how well they work with a 3.3V ESP32.
✅ 9 Probes and Kits Compared
✅ Verified Amazon ASINs
✅ ESP32 ADC Voltage Checked
✅ Honest Pros & Cons
An ESP32 is a natural brain for a water monitor: it reads a few analog probes, logs to an SD card or Home Assistant, and sends alerts over Wi-Fi when the pH drifts in a hydroponic reservoir or the oxygen level drops in a fish pond. The hard part is not the code. It’s choosing probes that give stable readings, survive in water, and output a voltage the ESP32 can actually measure.
This guide compares 9 water quality sensors: low-cost DFRobot Gravity analog kits for pH, TDS, EC, turbidity and dissolved oxygen, the digital Atlas Scientific EZO kits that talk I2C or UART, and a waterproof DS18B20 for the temperature compensation that pH, EC and TDS readings need.
💡 Before you buy: Check the output voltage of each analog board. The ESP32 ADC reads up to about 3.1V and is noticeably non-linear near both ends, so an external ADS1115 ADC gives far steadier pH and EC readings. Also plan for isolation: two or more probes in the same tank sharing one ground will interfere with each other unless the boards are electrically isolated. And remember that pH and EC probes are consumables that need calibration solutions and periodic replacement.
⚡ Quick Comparison: All 9 Sensors
| Sensor | Measures | Range | Output | Best For | Buy |
|---|
| 🥇 DFRobot Gravity pH V2 | pH | 0 to 14 pH, ±0.1 | Analog 0 to 3.0V | Best pH Sensor Overall | Buy Here → |
| 🌱 DFRobot Gravity TDS | TDS | 0 to 1000 ppm | Analog 0 to 2.3V | Best for Hydroponics and Drinking Water | Buy Here → |
| ⚡ DFRobot Gravity EC K=1 | Conductivity | 0 to 20 mS/cm | Analog 0 to 3.4V | Best for Nutrient Strength | Buy Here → |
| 🐟 DFRobot Gravity DO | Dissolved oxygen | 0 to 20 mg/L | Analog 0 to 3.0V | Best for Ponds and Aquaculture | Buy Here → |
| 🌫️ DFRobot Gravity Turbidity | Turbidity (relative) | Clear to cloudy | Analog 0 to 4.5V + digital | Best for Filter and Clarity Alerts | Buy Here → |
| 🌡️ DFRobot Waterproof DS18B20 | Temperature | -55 to 125°C | 1-Wire digital | Best for Temperature Compensation | Buy Here → |
| 🔬 Atlas Scientific pH Kit | pH | 0 to 14 pH | I2C or UART (EZO) | Best Precision Digital pH | Buy Here → |
| 🧪 Atlas Scientific Conductivity K 1.0 Kit | Conductivity | 5 to 200,000 µS/cm | I2C or UART (EZO) | Best Wide-Range EC | Buy Here → |
| 📟 Atlas Scientific Surveyor Analog pH Kit | pH | pH (consumer-grade probe) | Analog | Best Simple Analog Alternative | Buy Here → |
Specs come from DFRobot, Atlas Scientific and the live Amazon listings. Star scores below are our ratings.
🔍 What Matters in a Water Quality Sensor
🔌
Output and Voltage
Analog boards need an ADC input that matches their output swing. I2C or UART modules skip the ESP32 ADC entirely.
🧪
Probe Grade
Lab-grade probes are accurate but meant for spot checks. Continuous immersion needs industrial probes or regular recalibration.
🌡️
Temperature Compensation
pH, EC and TDS readings shift with water temperature. Add a waterproof temperature probe to correct them in code.
🛡️
Isolation
Several probes in one tank can cross-talk through the water. Isolated boards or isolator modules prevent that.
🧴
Calibration Supplies
Kits that include buffer solutions let you calibrate on day one. Check what’s in the box before ordering.
🏆 Detailed Reviews: The Top Two
🥇 BEST PH SENSOR OVERALL
DFRobot Gravity Analog pH Sensor Kit V2
⭐ 4.6/5 · Our Rating · ESP32-Friendly pH
Buy on Amazon →

The V2 version of DFRobot’s pH kit is the easiest way to add pH to an ESP32. Unlike older pH boards that swing up to 5V, its signal board runs from 3.3 to 5.5V and outputs 0 to 3.0V, so it plugs straight into an ESP32 ADC pin. It measures the full 0 to 14 pH range with ±0.1 pH accuracy at 25°C using a lab-grade probe on a 1 m cable with a BNC connector. The box includes two bottles each of pH 4.0 and pH 7.0 buffer, so you can do a two-point calibration right away, and DFRobot’s library and wiki have working calibration code. DFRobot rates the probe for laboratory use, so for 24/7 immersion expect to recalibrate regularly and replace the probe over time.
✅ Pros- 3.3V compatible output
- Buffer solutions included
- BNC probe is replaceable
- Excellent docs and library
❌ Cons- Lab probe drifts in long immersion
- Not isolated
- No pH 10 buffer
🎯 Verdict: The best starting point for ESP32 pH monitoring in aquariums, hydroponics and science projects.
👉 Check Price on Amazon →
🌱 BEST FOR HYDROPONICS AND DRINKING WATER
DFRobot Gravity Analog TDS Sensor
⭐ 4.5/5 · Our Rating · Cheapest Useful Probe
Buy on Amazon →

TDS (total dissolved solids) tells you how much mineral and nutrient content is in the water, which makes it the most useful single number for hydroponic nutrient mixing, RO filter checks and drinking water monitoring. DFRobot’s board measures 0 to 1000 ppm at ±10% full scale, runs from 3.3 to 5.5V at a few milliamps and outputs just 0 to 2.3V, right in the most linear part of the ESP32 ADC. The two-needle waterproof probe uses an AC excitation signal to avoid polarisation, so it can stay in the water for long periods. Pair it with a DS18B20 for temperature compensation and keep it out of water above 55°C.
✅ Pros- Ideal ESP32 voltage range
- Long-life waterproof probe
- Very low cost
- Simple library
❌ Cons- Tops out at 1000 ppm
- ±10% is indicative, not lab grade
- Needs separate temp sensor
🎯 Verdict: The first probe to buy for hydroponics, aquariums and water filter monitors.
👉 Check Price on Amazon →
🔧 Detailed Reviews: EC, Oxygen, Turbidity and Temperature
⚡ BEST FOR NUTRIENT STRENGTH · ⭐ 4.5/53. DFRobot Gravity Analog EC Sensor V2 (K=1)
0 to 20 mS/cm · ±5% F.S. · 3.0 to 5.0V · analog 0 to 3.4V · BNC probe on 1 m cable
Buy Here →

Electrical conductivity is what serious growers use to dose nutrients, and it covers a much wider range than the TDS board. This lab-grade K=1 probe reads up to 20 mS/cm (DFRobot recommends 1 to 15 mS/cm) at ±5% full scale, and the kit includes two bottles each of 1413 µS/cm and 12.88 mS/cm calibration buffer. The output can reach 3.4V, slightly above what an ESP32 pin reads, so use a small divider or an ADS1115 if you work near the top of the range. Probe temperature range is 0 to 40°C.
✅ Pros: Wide range; two calibration buffers included; replaceable BNC probe.
❌ Cons: Output can exceed ESP32 ADC; lab probe; not isolated.
🎯 Verdict: The right sensor for hydroponic nutrient control beyond what TDS can show.
🐟 BEST FOR PONDS AND AQUACULTURE · ⭐ 4.3/54. DFRobot Gravity Analog Dissolved Oxygen Sensor Kit
0 to 20 mg/L · galvanic probe · 2 m cable · 3.3 to 5.5V · analog 0 to 3.0V
Buy Here →

Low dissolved oxygen kills fish faster than almost anything else, so a DO sensor is the one to add for koi ponds, aquaponics and fish farming. This galvanic probe needs no warm-up polarisation, measures 0 to 20 mg/L and reaches 98% of the final reading within about 90 seconds. The 2 m cable helps in ponds, the output stays within 0 to 3.0V and the kit includes a spare membrane cap. One catch: the 0.5 mol/L NaOH filling solution is not included, and the probe won’t work without it, so order it at the same time. DFRobot quotes an electrode life of about a year.
✅ Pros: No polarisation wait; long cable; spare membrane; ESP32-safe output.
❌ Cons: Filling solution sold separately; membrane upkeep.
🎯 Verdict: The affordable way to get oxygen alerts for ponds and aquaponics.
🌫️ BEST FOR FILTER AND CLARITY ALERTS · ⭐ 4.1/55. DFRobot Gravity Analog Turbidity Sensor
Optical probe · analog 0 to 4.5V + adjustable digital threshold · 5V, 40 mA · 5 to 90°C
Buy Here →

This optical sensor shines light through the water and measures how much gets through, giving a relative clarity reading rather than calibrated NTU. That’s enough to detect a clogged filter, a dirty aquarium, a washing machine rinse cycle or sediment in a rainwater tank. It has both an analog output up to 4.5V and a digital output with a potentiometer-set threshold, which an ESP32 can read on any GPIO as a simple alarm. It needs a 5V supply and the analog output must go through a voltage divider before an ESP32 pin. Only the probe tip is waterproof.
✅ Pros: Analog plus digital alarm; fast response; cheap.
❌ Cons: Relative only; 5V output needs a divider; top not waterproof.
🎯 Verdict: A great cheap clarity alarm, not a lab turbidity meter.
🌡️ BEST FOR TEMPERATURE COMPENSATION · ⭐ 4.7/56. DFRobot Gravity Waterproof DS18B20 Temperature Sensor Kit
-55 to 125°C · ±0.5°C (-10 to 85°C) · 1-Wire · stainless probe · 90 cm cable · adapter included
Buy Here →

Every pH, EC and TDS formula needs the water temperature, and DFRobot’s examples expect exactly this probe. It’s a DS18B20 sealed in a 6 x 35 mm stainless tube on a 90 cm cable, accurate to ±0.5°C from -10 to 85°C, and it talks digital 1-Wire, so it uses no ADC channel at all. The kit includes a terminal adapter board with the pull-up resistor already fitted, which saves the usual breadboard fiddling. It runs from 3.0 to 5.5V.
✅ Pros: Digital, no ADC needed; pull-up adapter included; tough probe.
❌ Cons: Short-ish cable for large ponds.
🎯 Verdict: Add one to any water quality build. It makes every other reading more accurate.
➕ Also Worth Considering: Atlas Scientific Kits
🔬 BEST PRECISION DIGITAL PH · ⭐ 4.7/5
7. Atlas Scientific pH Kit
The upgrade path for permanent installs. The kit pairs Atlas Scientific’s EZO pH circuit with a double-junction lab-grade probe and an electrically isolated carrier board, plus calibration pouches for pH 4, 7 and 10 and a storage solution pouch. The EZO circuit does the measurement and temperature compensation itself and reports over I2C or UART, so the ESP32 ADC never enters the picture, and the isolation means you can run pH and EC in the same tank without interference.
Buy Here →🧪 BEST WIDE-RANGE EC · ⭐ 4.6/5
8. Atlas Scientific Conductivity Kit K 1.0
A digital conductivity kit that covers 5 to 200,000 µS/cm, from near-pure water to brackish water, far beyond the DFRobot EC board. It includes the EZO conductivity circuit, a K 1.0 probe, an isolated carrier board and 12,880 µS and 80,000 µS calibration pouches. Like the pH kit it speaks I2C or UART and can report EC, TDS, salinity and specific gravity, so a single ESP32 can host both Atlas kits on one I2C bus.
Buy Here →📟 BEST SIMPLE ANALOG ALTERNATIVE · ⭐ 4.3/5
9. Atlas Scientific Surveyor Analog pH Kit
Atlas Scientific’s entry-level option: a compact Surveyor analog pH sensor/meter board with a double-junction consumer-grade probe and pH 4, 7 and 10 calibration pouches. It reads like the DFRobot board on an analog pin, with a probe from a maker that specialises in water chemistry. Choose it if you want Atlas probes and a three-point calibration set without paying for the EZO circuit.
Buy Here →🧭 Which Sensor for Which ESP32 Project?
| Project | Key Readings | Recommended Sensors |
|---|
| Hydroponic nutrient controller | pH, EC or TDS, temperature | DFRobot pH V2 + EC K=1 + DS18B20, or Atlas pH and Conductivity kits |
| Freshwater aquarium monitor | Temperature, pH, TDS | DS18B20 + DFRobot TDS + DFRobot pH V2 |
| Koi pond or aquaponics | Dissolved oxygen, temperature | DFRobot DO kit + DS18B20 |
| RO or drinking water filter check | TDS | DFRobot TDS |
| Rainwater tank or filter clog alarm | Turbidity | DFRobot Turbidity (digital output) |
| Permanent multi-probe install | pH and EC in one tank | Atlas Scientific pH Kit + Conductivity K 1.0 Kit (isolated, I2C) |
🛒 Which One Should You Buy?
💧
Just starting out
The DFRobot TDS and DS18B20 kit. Cheap, robust and easy on the ESP32 ADC.
🧪
You need pH
The DFRobot Gravity pH V2 for value, or the Atlas Scientific pH Kit for an isolated digital reading.
🐟
Keeping fish alive
The DFRobot DO kit, plus the filling solution it needs.
🏭
24/7 multi-probe system
The Atlas Scientific EZO kits, sharing one I2C bus with isolation built in.
❓ Frequently Asked Questions
Can I connect these analog sensors directly to an ESP32?
The pH V2, TDS and DO boards output 3.0V or less, so yes, using an ADC1 pin (ADC2 is unavailable while Wi-Fi is on). The EC board can reach 3.4V and the turbidity sensor 4.5V, so those need a voltage divider. For best accuracy, use an ADS1115 external ADC with any of them.
What’s the difference between TDS and EC?
Both are calculated from electrical conductivity. EC is the raw measurement in µS/cm or mS/cm, while TDS converts it to an estimated ppm using a factor. Growers usually work in EC; drinking water and filter checks usually quote TDS.
Why do my readings change when I add a second probe?
Non-isolated probes in the same water share a ground path through the liquid, which shifts each other’s voltage. Power each sensor from an isolated supply, use an isolator module, or choose the Atlas kits with isolated carrier boards.
How often should I calibrate a pH probe?
Check it against a buffer every few weeks and recalibrate whenever the reading is more than about 0.1 to 0.2 pH off. Store the probe wet in storage solution, never in distilled water, and expect to replace it after a year or so of regular use.
Can the ESP32 sleep between water readings?
Yes. Power the sensor boards through a transistor or load switch, wake the ESP32 with a timer, let the probe settle for a few seconds, average several samples, then go back to deep sleep. DO and pH probes take longest to settle, so give them extra time.
🏁 Final Verdict: Best Water Quality Sensors for ESP32
The right probe for each reading:
🥇 Best pH Sensor Overall: DFRobot Gravity pH V2
Buy Here →🌱 Best for Hydroponics and Drinking Water: DFRobot Gravity TDS
Buy Here →⚡ Best for Nutrient Strength: DFRobot Gravity EC K=1
Buy Here →🐟 Best for Ponds and Aquaculture: DFRobot Gravity DO Kit
Buy Here →🌡️ Best for Temperature Compensation: DFRobot Waterproof DS18B20
Buy Here →🔬 Best Precision Digital pH: Atlas Scientific pH Kit
Buy Here →For most ESP32 water projects, start with the DFRobot Gravity TDS sensor and a waterproof DS18B20, then add the Gravity pH V2 when you need pH and the DO kit if fish depend on the readings. When the system has to run around the clock with several probes in one tank, move to the isolated Atlas Scientific EZO kits. For more building blocks, see our plant watering and irrigation parts, temperature and humidity sensors and ADC and interface modules guides, and house the electronics in one of our waterproof enclosures.
💬 Building an aquarium, pond or hydroponics monitor? Tell us what you’re measuring in the comments below, and we’ll help you pick the right probes.
All Amazon links above use our affiliate tag (esp32tutorials-20). Purchasing through them supports esp32tutorials.com at no extra cost to you. Prices and availability change frequently, so always confirm the current price on Amazon before buying.
We are a team of experienced Embedded Software Developers with skills in developing Embedded Linux, RTOS, and IoT products from scratch to deployment with a demonstrated history of working in the embedded software industry. Contact us for your projects: admin@esp32tutorials.com