
An irrigation integrator in Kenya came to us with a smart drip irrigation project for a vegetable farm: a clear goal, a plot layout and his own LoRaWAN network. What he needed was field hardware that fits his design and joins the network he already runs.
He builds systems for farm clients on ChirpStack. His brief was clear from his first message: soil moisture sensors, water meters and valves, all on LoRaWAN. The farm grows spring onions and cabbages on 40 acres. Before automating the whole farm, he wanted a one-acre pilot in eight plots that could scale without being redesigned.

This guide walks through that pilot: the site, the integrator’s first design, the five decisions that changed it, and the configuration we proposed. It is a design case, not a results report. The quote is with the farmer as we write, so there are no yield or water-saving figures here, only the reasoning behind each choice.
In this guide:
→ The integrator’s first design
→ Five design decisions for a smart drip irrigation pilot
→ The final pilot configuration
→ Connecting it to your own ChirpStack
→ Scaling smart drip irrigation from one acre to forty
→ What to gather before you design a smart drip irrigation pilot
→ FAQ
The Farm and the Brief
Two facts drove almost every decision: the water arrives by gravity, and the integrator owns the network.
| Item | Detail |
|---|---|
| Location | Kenya |
| Crops | Spring onions and cabbages |
| Farm size | 40 acres |
| Pilot area | 1 acre (about 4,050 m²), split into 8 plots of roughly 500 m² each |
| Water source | Elevated storage tank, gravity-fed, no pump |
| Pipework | 63 mm mainline, a 50 mm branch to each plot, 16 mm driplines in the field |
| Irrigation method | Surface drip, already in place |
| Network | The integrator’s own LoRaWAN gateway and ChirpStack network server |
| Dashboard | ThingsBoard / Grafana |
↔ Swipe horizontally to view all columns on mobile
The Integrator’s First Design
The integrator arrived with a complete drawing, and it was a good one. Every question he wanted answered had a device assigned to it:
- A filter and a 63 mm water meter on the mainline below the tank
- On each of the eight plot branches: an isolation valve, a 50 mm motorized valve, and a 16 mm water meter on the dripline
- Two soil moisture probes per plot, at 15 cm and 30 cm (later raised to four per plot)
- A solar-powered LoRaWAN gateway with 4G backhaul, sending everything to ChirpStack and on to a dashboard
Nothing in it was wrong. The work was deciding which devices earn their place on a pilot that will later be copied across 40 acres, where every device on a plot is multiplied many times over.
Five Design Decisions for a Smart Drip Irrigation Pilot
Each decision below follows the same pattern: what the first design proposed, what we changed, and the rule you can take to your own project.
1. Measure at the plot valve, not on the dripline
The first design put a 16 mm water meter on each plot’s dripline. We moved the meter to the 50 mm branch, directly after each plot valve.
A plot is fed by many driplines, not one. A meter on a single 16 mm line measures one lateral, not the plot. Every litre that reaches a plot passes through its 50 mm branch, so one meter there reads the whole plot. For the same reason, nothing smart goes on the driplines themselves: the emitters do their job, and the plot valve controls them all.
Rule: put the meter where all of a zone’s water passes through one pipe.
2. One meter for the farm, one meter per plot
We kept the meter on the 63 mm mainline and specified a card-type (clamp-on) ultrasonic flow meter with a LoRaWAN DTU. It fits on the outside of the pipe, so the main line does not have to be cut.
The integrator’s question was simple: how much water goes to the farm, and how much goes to each plot. The main meter answers the first. A meter on each plot branch answers the second, so the farmer can compare plots, plan water by crop, and later budget water block by block.
That is all the metering this pilot needs. One practical note: the main meter reads everything that leaves the tank, including water that continues past the pilot to other areas of the farm. Read it as the farm total, and use the plot meters for anything plot by plot.
Rule: meter what the farmer wants to know: the farm total at the source, and each plot at its valve.
3. A motorized valve, because gravity pressure is low
Many pilot-operated solenoid valves use line pressure to move their diaphragm. They need a minimum pressure difference to open and close reliably, and a low gravity tank may not provide it.
A motorized ball valve is turned by its actuator, so it opens and closes whatever the line pressure. Its full bore also adds very little friction, which matters when every metre of head counts. Ours are solar-powered, so no cable runs to the plots either. We compare the two valve types in more detail in smart valve vs solenoid valve.
Rule: on gravity supply, check a solenoid’s minimum operating pressure against your tank height before you choose it.
4. One soil sensor per plot, in the middle
The integrator asked for four soil sensors per plot: 32 sensors on one acre. We assessed the layout and proposed one per plot, placed in the middle of the plot at the crop’s root depth. Under drip on uniform ground, one well-placed sensor tracks the plot’s soil moisture well enough to run irrigation, at a quarter of the sensor cost, and the saving grows with every acre added.

The sensor is not just a reading on a dashboard. It can be linked to the plot valve with a moisture threshold: when soil moisture falls below the set value, the valve opens and irrigation starts; when it rises above the value, the valve closes. Each plot then waters itself according to its own soil.
One caution: readings shift with soil type, salinity and where the probe sits relative to the emitters, so set each plot’s threshold during the pilot rather than from a default.
Rule: one sensor per plot, linked to its valve, is enough to irrigate by soil moisture; add more only where the pilot data asks for them.
5. Dose each plot by volume: the meter closes the valve
Each plot meter can be linked to its valve with a capacity setting: once the meter has counted the set volume, for example 50 litres, the valve closes automatically. It works on the total volume delivered, not on the instantaneous flow rate.
That turns the meter from a counter into a dosing control. The soil sensor decides when a plot is irrigated; the meter decides how much it receives.
To set the capacity, work from the plot area and the depth of water you want to apply. One millimetre over one square metre is one litre. A 500 m² plot that should receive 4 mm needs 500 × 4 = 2,000 litres. A smaller plot gets a proportionally smaller capacity, so every plot receives the same depth.
In our app, this is a setting on the meter. On an integrator’s own platform, the same logic is a rule: when the plot meter’s count reaches the target, send the close command to that plot’s valve.
Rule: irrigate to a volume, not a clock.
The Final Pilot Configuration
For this vegetable farm, the proposal came down to four device types and 25 devices on one acre, all on LoRaWAN.
| Device | Qty | Where it sits | What it does |
|---|---|---|---|
| Solar-powered LoRaWAN smart ball valve, 50 mm | 8 | One on each plot branch | Opens and closes the plot automatically, by soil moisture or volume target |
| LoRaWAN inline flow meter, 50 mm | 8 | Directly after each plot valve | Measures each plot’s water; closes the valve at the volume target |
| Solar-powered LoRaWAN soil moisture sensor | 8 | Middle of each plot | Opens and closes the plot valve at a moisture threshold |
| Card-type ultrasonic flow meter with LoRaWAN DTU, 63 mm | 1 | Mainline below the tank | Measures total farm water |
↔ Swipe horizontally to view all columns on mobile
The filter, isolation valves and pipework stay as in the integrator’s drawing. The gateway and ChirpStack server are his own, so neither appears on our list.

Connecting It to Your Own ChirpStack
Because the integrator runs his own LoRaWAN network, nothing in this pilot passes through our server. Every valve, meter and sensor joins his ChirpStack as an ordinary node.
What that takes in practice:
- Bring his gateway online and visible in ChirpStack, on the LoRaWAN frequency plan used in Kenya. The gateway only relays radio traffic; it just has to match the devices’ frequency plan.
- Register each device in ChirpStack with the network credentials we supply, before powering it on. Otherwise the device keeps trying to join and is never accepted.
- Set up the payload decoder from the device protocol documentation, so readings arrive as named values rather than raw bytes.
- Forward the decoded data from ChirpStack to ThingsBoard for the dashboard, and write the control rules there: soil threshold opens a plot, volume target closes it.
This is the route we call integrating through your own LoRaWAN network. Both integration routes, and who does what on each, are covered in how to integrate smart irrigation valves into your system.
Scaling Smart Drip Irrigation from One Acre to Forty
The pilot was built around a repeatable unit: one plot = one valve + one meter + one soil sensor. That unit, and the logic around it, copies across the farm unchanged. A few things around it do need rethinking at scale.
What repeats as it is:
- The plot unit and the way each device is placed
- Volume targets set from plot area, so every plot gets the same depth
- Farm total from the main meter, water per plot from the plot meters
- A naming scheme that ties every device to its field and plot, such as “Block A, Plot 3”. Build the list of device IDs against plot positions before installation day, not after.
What changes:
- Plot size. The pilot’s plots were sized for testing. On a vegetable farm, plot size should follow the crop blocks, which often change from season to season, and the water supply. Smaller plots give finer control but mean more devices.
- Water supply. One tank that serves one acre may not serve forty. More plots means more rotation groups, and possibly a second tank or a pump. If a pump comes in, remote pump control becomes part of the design.
- Gateway coverage. As a guide, our own gateways cover 1 to 4 km: up to 4 km with clear line of sight, closer to 1 km where crops, trees or buildings get in the way. Whatever gateway you run, plan with the lower figure and use the pilot to check signal strength at the plot farthest from it.
For the questions that come up when a deployment grows into the hundreds of devices, see our large-scale procurement checklist.
What to Gather Before You Design a Smart Drip Irrigation Pilot
If you are an integrator planning a pilot like this one, these are the facts that turn a drawing into a specification. Collect them before you ask any supplier for a quote, including us.
Water source
- Gravity-fed tank: the height of the water surface above the plots, and the tank volume
- Pump supply: pump power, flow and head, and whether it already has a starter panel
Pipework and drip
- Mainline and branch diameters at each valve position
- Plot areas and shapes, ideally on a simple map
- Dripline spacing, emitter spacing and emitter flow rate
Crop and operation
- Crop and root depth, which sets where the soil sensor goes
- Whether all plots must be irrigated at the same time, or can run in rotation
- How much water per irrigation, as a depth in millimetres
Network
- Your own gateway and network server, or ours
- The LoRaWAN frequency plan for your country
- Power and internet at the gateway site: mains or solar, 4G or a cable from a router
Frequently Asked Questions
Where should flow meters go in a smart drip irrigation system?
Put one meter where all of a zone’s water passes through a single pipe, usually directly after the zone valve. A meter on one dripline measures only that lateral. Add a meter on the mainline as well if you also want the total water used by the farm.
How many soil moisture sensors does a vegetable farm need for smart drip irrigation?
For a drip pilot on uniform ground, one sensor per plot, placed in the middle at the crop’s root depth, is enough. Link it to the plot valve with a moisture threshold, set plot by plot during the pilot, and add a second sensor only where the data shows real variation inside a plot.
Can LoRaWAN irrigation valves connect to ChirpStack?
Yes. Our valves, flow meters and soil sensors are standard LoRaWAN devices. They join your ChirpStack as ordinary nodes once your gateway matches their frequency plan and each device is registered with the network credentials we supply. Decoded data can then be forwarded to dashboards such as ThingsBoard.
Can a soil moisture sensor open and close an irrigation valve automatically?
Yes. Link the sensor to its plot valve and set a moisture threshold: when soil moisture falls below it, the valve opens and irrigation starts; when it rises above it, the valve closes. On your own platform, the same logic is a rule that sends the open and close commands.
Can a flow meter close an irrigation valve at a set volume?
Yes. Link the plot meter to its valve and set a capacity, for example 2,000 litres. Once the meter has counted that volume, the valve closes automatically. It works on the total volume delivered, not the flow rate, so each plot receives a known amount of water.
Building on your own ChirpStack? Request the LoRaWAN device protocol document for our valves, flow meters and soil sensors, and send us your plot layout, pipe sizes and water source. We will work through the design with you and tell you which devices your pilot needs, and which it does not. Contact us, or tap the WhatsApp button in the corner of any page.
Related reading: Specifying a complete smart irrigation system · Rotational irrigation with smart valves · The Complete Guide to Smart Irrigation Valves
AriValve builds solar-powered, motorized wireless smart irrigation valves and the sensors that run with them, deployed across 30+ countries. The project above is a real design conversation with an integrator in Kenya, shared with identifying details removed.
