Skip to the content
2 layers30 × 60 mmWell depth battery, the printed circuit board in 3D

Well monitoring equipment for Engineers Without Borders

Size
30 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
54
Pads
194
Tracks, vias
291, 51
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
2 Nov 2021
Updated
3 Dec 2023

Overview

Well depth battery is an open-source printed circuit board by hansgaensbauer, from the hansgaensbauer/Well-Monitor repository on GitHub, published under the MIT licence. It is a 2-layer board of 30 × 60 mm with 63 parts on 54 nets, routed with 291 tracks and 51 vias.

It is built around the ATSAMD21E17D-MU and LM358. Its parts include 20 resistors, 19 capacitors, 6 ICs, 5 connectors and 2 diodes. It belongs with the power boards and the SAM D and SAM boards of this library.

Main components

2

README

README.md

Well Monitor

Well monitoring equipment for Engineers Without Borders

This hardware is for projects that require more monitoring than is possible with manual measurements taken by community members. The well monitor works by weighing a pipe or other weight suspended within the well, since the apparent weight of the pipe is directly proportional to the amount of the pipe left above water.

A photo of the well monitors before packaging A well monitor in its packaging

Installation and Use

The well monitor consists of two parts: a small "probe" that contains the load cell for weighing the pipe, and a separate box with the battery, USB flash drive, and readout electronics that gets mounted nearby. The probe requires a 3/8" hole to be drilled in the well cap over the location where the pipe is to be suspended. Remove one of the acetyl nuts on the bottom of the probe, thread the stainless-steel cable through the hole in the well cap, and reattach the nut on the other side to secure the probe. Mount the electronics box vertically against a wall or to a pole driven into the ground nearby.

Since each well installation is different, the well monitor needs to be calibrated during installation:

  1. Estimate the amount of pipe required to span the maximum expected variation in water level.
  2. Calculate the maximum expected weight. This is the weight of the pipe and the cable used to suspend the pipe
  3. Calculate the minimum expected weight. Calculate the buoyant force on the pipe with the water level at its highest expected level, and subtract this from the maximum weight.
  4. Fill jugs of water to create "dummy" weights equal to the maximum and minimum weights, and one more equal to the difference between the maximum and minimum weights.
  5. Disconnect the battery for the well monitor and remove the plastic cover that covers the electronics within the waterproof box.
  6. Using clip leads, apply 9V to the indicated positions on the well monitor.
  7. Use a multimeter to measure the voltage on the "Vout" testpoint indicated in the diagram.
  8. Turn the "gain" potentiometer all the way to the left (counterclockwise).
  9. Turn the "bias" potentiometer until the voltage on the multimeter just begins to increase above zero. Try to get the potentiometer to the very edge of the point where the voltage begins to increase.
  10. Suspend the "difference" weight dummy from the well monitor. Ajust the "gain" potentiometer until the voltage reads close to 3.3V (it is clamped so that it cannot exceed this voltage).
  11. Suspend the "minimum" weight dummy from the well monitor. Repeat step 9 to set the proper "zero weight" point.
  12. Suspend the "maximum" weight dummy from the well monitor. The voltage should be near 3.3V. Make small adjustments to the gain and offset so that the voltage is as close as possible to zero when the minimum weight is attached, and as close as possible to 3.3V when the maximum weight is attached.

Calibration Diagram

Once the battery is connected, measurements are saved once every three hours to a USB flash drive. To read the data, remove the flash drive and connect it to a computer. The file 'welldata.txt' will contain one line for each measurement, consisting of a measurement counter (to keep track of when measurements are restarted) followed by the measurement. The measurements are in "ADC Counts": a reading of 0 corresponds to zero volts, or the maximum water level when the well monitor is calibrated. A value of 32768 corresponds to 3.3V, or the minimum water level when the well monitor is calibrated.

Parts

63
QtyValueFootprintReferences
81uCapacitor_SMD:C_0603_1608MetricC1, C2, C3, C4, C6, C8, C9, C17
72.2kCapacitor_SMD:C_0603_1608MetricR1, R2, R3, R11, R12, R13, R14
4100nCapacitor_SMD:C_0603_1608MetricC7, C10, C18, C19
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
3330Capacitor_SMD:C_0603_1608MetricR17, R18, R19
2100Capacitor_SMD:C_0603_1608MetricR4, R5
2100kCapacitor_SMD:C_0603_1608MetricR9, R10
210kCapacitor_SMD:C_0603_1608MetricR7, R8
210pCapacitor_SMD:C_0603_1608MetricC11, C12
210uCapacitor_SMD:C_0805_2012MetricC13, C16
22.2uCapacitor_SMD:C_0603_1608MetricC14, C15
2Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1, J2
2LM358Package_SO:SOP-8_3.9x4.9mm_P1.27mmU1, U2
2~Capacitor_SMD:C_0603_1608MetricR6, R21
1100kPotentiometer_SMD:Potentiometer_Bourns_3314J_VerticalRV1
110uCapacitor_SMD:C_0603_1608MetricC5
11kPotentiometer_SMD:Potentiometer_Bourns_3314J_VerticalRV2
13.3Diode_SMD:D_SOD-323D3
1300Capacitor_SMD:C_0603_1608MetricR20
1470Capacitor_SMD:C_0603_1608MetricR16
1ATSAMD21E17D-MPackage_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.6x3.6mmU5
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_VerticalJ6
1Conn_02x04_Odd_EvenMyParts:CardEdge_ProgJ3
1Crystal_SmallCrystal:Crystal_SMD_MicroCrystal_CM9V-T1A-2Pin_1.6x1.0mmY1
1FerriteBead_SmallResistor_SMD:R_0603_1608MetricFB1
1LED_SmallLED_SMD:LED_0805_2012MetricD2
1MCP1793T-3302H/DCPackage_TO_SOT_SMD:SOT-223-6U6
1NCP1117-5.0_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1Q_NMOS_GSDPackage_TO_SOT_SMD:SOT-23Q1
1Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23Q2
1TL431DBZPackage_TO_SOT_SMD:SOT-23U3
1TestPointTestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mmTP1

Similar boards

  • 4 layers24.5 × 45.9 mmServo, the printed circuit board in 3D

    Servo

    ReFil/gimbal-motor-servo

    An ESC and firmware suitable for sensored 2205 gimbal motors

    24 parts1MIT
  • 2 layers61 × 96.4 mmCircuit Boards, the printed circuit board in 3D

    Circuit Boards

    hansgaensbauer/Cat-Counter-Measures

    Counter Cat Countermeasures

    75 parts
  • 2 layers20.4 × 18.8 mmSmolpad, the printed circuit board in 3D

    Smolpad

    ReFil/smolpad

    Baby macropad

    22 partsMIT
  • 2 layers132.1 × 45.7 mmIPoS, the printed circuit board in 3D

    IPoS

    peterheinrich/InternetOverSpaghetti

    Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

    42 parts342
  • 2 layers68.8 × 53.6 mmZArduino, the printed circuit board in 3D

    ZArduino

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    46 parts269
  • 2 layers152 × 88 mmRFBitBangSMT, the printed circuit board in 3D

    RFBitBangSMT

    profdc9/RFBitBanger

    A QRP digital transceiver created from readily available parts for off-the-grid maintenance

    271 parts222
  • 2 layers118 × 103.5 mmEV Charger2, the printed circuit board in 3D

    EV Charger2

    fotherja/EV_Charger

    Arduino Uno Code for EV Charger

    62 parts167MIT
  • 2 layers113 × 62.2 mmFullScope, the printed circuit board in 3D

    FullScope

    tvlad1234/pillScopePlus

    Oscilloscope based around the STM32F401 Black Pill and a color LCD screen

    15 parts165Apache-2.0

Questions

How big is the Well depth battery PCB?

It measures 30 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Well depth battery use?

63 parts, built around the ATSAMD21E17D-MU and LM358. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Well depth battery KiCad files?

From the hansgaensbauer/Well-Monitor repository on GitHub, at the commit this page was made from: the board is pcb/well-depth-battery.kicad_pcb and its schematic pcb/well-depth-battery.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Well depth battery design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).