The sensor is the board: a soil-moisture probe with no metal in the soil
Probes with bare metal corrode in wet soil. A capacitive probe draws its sensor in copper and hides it under the solder mask. The film shows the board; the notes explain how it reads, and what to tell the factory.
The simplest soil sensor is two nails and a resistance reading. It works for a while. Then the current running through wet soil eats the metal, and the readings drift until the probe is useless.
A capacitive probe avoids the problem by never touching the soil with metal at all. Its sensor is a pattern of copper on the board, covered by solder mask.
How it reads
Two copper combs sit side by side on the long part of the board, their fingers interleaved. Together they form a capacitor. What surrounds the fingers decides how big that capacitor is.
- Dry soil is mostly air and minerals, and adds little.
- Water adds a lot: it stores about 80 times more charge than air in the same space.
So the wetter the soil, the larger the capacitance. Nothing has to flow through the soil, and the solder mask keeps the copper dry.

From capacitance to a voltage
A controller cannot read capacitance directly, so the head of the board turns it into a voltage.
- An oscillator produces a fast square wave and feeds it to the combs through a resistor. The more capacitance, the more the wave is rounded off and the smaller it gets.
- A diode and a capacitor catch the peaks of what is left and hold them as one steady voltage.
- Three wires leave the board: power, ground, and that voltage. It falls as the soil gets wetter.

Run the oscillator fast, several hundred kilohertz or more. At low frequencies the salts in the soil change the reading almost as much as the water does, and fertiliser day looks like a rainstorm.
Calibrate with two readings
The numbers mean nothing until you fix two points. Read the probe in the air, then standing in a glass of water up to the line. Dry and wet now have values, and everything else falls between them. Soil type shifts the scale, so repeat it in the pot you care about if you want more than "time to water".
Board notes
- No copper behind the combs. A ground plane on the back of the prong becomes most of the capacitance, and the soil hardly matters any more. Keep the back clear.
- Mask over everything on the prong. Check the solder mask layer in your files: no openings anywhere below the line.
- Seal the edge. The mask covers the faces, not the cut edge. Bare board edges soak up water slowly. A coat of varnish or epoxy along the edge keeps it out.
- Mark the depth. A silkscreen line shows how deep to push it. The parts stay above the soil.
- Shape. The outline is routed, not scored, so the point costs nothing extra. In a panel, long thin boards are held by tabs; see the [panelization story](#/story/panelization-small-boards).
An odd outline is the kind of thing worth settling before the order. On EIN the DFM check reads the outline and the mask layers along with the rest of the files, and the makers quote from the same set.
The probe in this film was drawn for the article. It is a design sketch, not a product.