Amazon holiday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Well Water Level Monitoring System: DIY Guide

Keeping track of your well’s water level is essential for managing water supply, especially in drought-prone areas or for agricultural use. A monitoring system helps you detect declining water levels early, prevent pump damage from running dry, and plan water usage more effectively. This guide will walk you through building a simple, reliable water level monitoring system using a pressure sensor and a microcontroller. No prior electronics experience is required, but basic soldering skills and familiarity with Arduino will be helpful.

What You’ll Need

  • Waterproof pressure sensor (e.g., MS5803 or similar) with a cable long enough to reach your well’s depth.
  • Microcontroller (Arduino Uno, ESP32, or Raspberry Pi Pico).
  • Breadboard and jumper wires.
  • Resistors (if needed for voltage dividers) and a multimeter.
  • Waterproof enclosure (IP65 or better) for the electronics.
  • Power supply (battery pack or solar panel with charge controller).
  • Optional: OLED display or Wi-Fi module for remote monitoring.
  • Sealing materials (silicone, heat shrink tubing, zip ties).

Step-by-Step

  1. Determine your well’s depth and static water level. Use a weighted tape or a water level indicator to measure the distance from the wellhead to the water surface. This gives you a baseline for calibration.
  2. Choose a pressure sensor with a suitable range. For typical residential wells (up to 100 meters), a sensor rated for 0-10 bar is adequate. Ensure it is submersible and has a cable rated for wet environments.
  3. Wire the sensor to the microcontroller. Most pressure sensors use I2C or analog output. For I2C (like MS5803), connect SDA, SCL, VCC, and GND to the corresponding pins on your board. For analog sensors, connect the output to an analog input pin.
  4. Write or upload a simple calibration sketch. Before placing the sensor in water, read the sensor output at atmospheric pressure (0 depth). Record this value as your zero offset.
  5. Calculate the depth conversion factor. The sensor outputs pressure in millibar (mbar) or similar. 1 mbar is approximately equal to 1 cm of water column (actually 1.0197 cm). So depth in meters = (pressure_mbar – zero_offset_mbar) / 100.
  6. Test the sensor in a bucket of water. Submerge the sensor to a known depth (e.g., 1 meter) and verify the calculated depth matches. Adjust the conversion factor if needed.
  7. Seal all connections. Use heat shrink tubing and silicone sealant on any solder joints. Ensure the cable entry into the enclosure is watertight with a cable gland.
  8. Lower the sensor into the well. Attach the sensor to a non-conductive support line (like nylon rope) and lower it to a depth where it will always be submerged, even at the lowest expected water level. Secure the cable at the wellhead.
  9. Mount the electronics in a weatherproof enclosure. Place the microcontroller and any display or communication modules inside, and run the sensor cable through a sealed opening.
  10. Power the system. Use a battery pack with a solar panel for remote locations, or a low-voltage AC adapter if near a power source. Ensure the voltage matches your microcontroller’s input requirements.
  11. Set up data logging or alerts. If using an Arduino with an SD card, log readings at intervals. For remote alerts, use an ESP32 with Wi-Fi to send data to a cloud service or a simple email notification when the water level drops below a threshold.
  12. Calibrate with a manual measurement. After installation, compare your system’s reading with a manual water level measurement. Adjust the zero offset if necessary.

Common Mistakes

  • Incorrect zero offset: Failing to calibrate at atmospheric pressure before submerging leads to inaccurate absolute depth readings.
  • Poor waterproofing: Inadequate sealing of sensor connections can cause short circuits and sensor failure.
  • Using a sensor with too low a pressure range: If the well is deep, the sensor may be damaged by excessive pressure.
  • Not accounting for temperature: Pressure sensors can drift with temperature; some sensors have built-in compensation, but others require manual correction.
  • Ignoring cable strain relief: The cable at the wellhead can chafe or pull on the sensor, causing intermittent readings.

Tips

  • Use a sensor with a digital interface (I2C/SPI) for better accuracy and simpler wiring.
  • Place the sensor in a perforated PVC pipe if your well has debris or sand, to protect it from damage.
  • Take multiple readings and average them to reduce noise.
  • For long-term monitoring, consider using a low-power microcontroller and a deep sleep mode to extend battery life.
  • Record the depth relative to the wellhead (e.g., depth below top of casing) for easy interpretation.

Troubleshooting

  • Readings are erratic or jumping: Check for loose connections, water ingress in the sensor, or electrical noise from nearby pumps. Add a capacitor across the power pins if noise is suspected.
  • No reading at all: Verify power and ground connections. Use a multimeter to check the sensor’s output voltage. If using I2C, ensure the address is correct and pull-up resistors are present.
  • Depth reading is negative or too high: Recalibrate the zero offset. Ensure the sensor is fully submerged and not resting on the bottom of the well.
  • Battery drains quickly: Optimize the code to sleep between readings. Use a timer to wake up every hour instead of continuous operation.
  • Wi-Fi disconnects: If using an ESP32, ensure the antenna is not inside a metal enclosure. Use a repeater if the well is far from your router.

Related

Frequently Asked Questions

Q: How often should I take measurements?
For general monitoring, once a day is sufficient. If you are tracking rapid changes during pumping, you might want readings every few minutes.

Q: Can I use a float switch instead of a pressure sensor?
Yes, but float switches only indicate when the water is above or below a set point, not the actual depth. Pressure sensors provide continuous data.

Q: What is the lifespan of a submersible pressure sensor?
With proper sealing and no physical damage, a quality sensor can last 5-10 years. However, cable degradation and corrosion can shorten that.

Q: Do I need to calibrate the sensor periodically?
Yes, it’s good practice to check the zero offset every few months by lifting the sensor out of the water and comparing the reading to atmospheric pressure.

Q: Can I monitor multiple wells with one system?
Yes, you can use multiple sensors connected to a single microcontroller, as long as you have enough I/O pins or use a multiplexer.

Q: Is it safe to lower the sensor into a well with a submersible pump?
Yes, as long as the sensor is rated for submersion and you avoid entangling the cable with the pump’s power cable. Install the sensor at a depth above the pump intake to avoid interference.

Well Water Level Monitoring System: DIY Guide
Scroll to top