Your idea is safe; NDA signed before discussion

Case Study: A LoRa Irrigation Controller, Designed for FARMIZOX

We designed the circuit boards and the 3D-printable cases for FARMIZOX, a two-part irrigation controller. A handheld transmitter sends commands over LoRa, and an outdoor receiver switches four valves. Neither unit needs Wi-Fi, a mobile network or a gateway. Both boards are designed, and fabrication is ordered from JLCPCB.

DigitalMonk - Top rated on Upwork
Google Reviews 4.9 out of 5
2 boardsHandheld transmitter and outdoor receiver
4 valvesSwitched by the receiver
2 casesDesigned for FDM 3D printing
Direct LoRaE32-433T30D modules, no gateway

Built with

ESP32E32-433T30D LoRa moduleKiCadJLCPCBFDM printing + TPUbuild123d (Python)

The Client's Challenge

Irrigation valves sit where the signal is worst: out in a field, often far from a building, a router or a mobile tower. A controller that depends on Wi-Fi or the internet stops working the moment the link does. FARMIZOX wanted a farmer to be able to walk the field, press a button and open or close a valve, with nothing in between.

That meant two products, not one. The farmer carries a transmitter. The receiver lives outdoors near the valves, in sun, rain and dust, and has to be wired in by someone who is not an electronics engineer. Both had to be manufacturable as PCBs and printable as cases.

Design requirements

  • No internet: commands travel over a direct LoRa link
  • Handheld: a battery-powered transmitter with a display and buttons
  • Outdoor: a splash-resistant receiver case, with cable glands for the valve wires
  • Manufacturable: boards ordered from JLCPCB, cases printable on a standard FDM printer

The System at a Glance

The Engineering

Each choice below was made for the same reason: keep the field unit simple, keep it working without infrastructure, and make it easy to build and install.

1

A direct LoRa link, not a network

  • An ESP32 on each board, paired with an E32-433T30D LoRa module
  • Point to point: one transmitter talks to one receiver, with no gateway
  • An SMA antenna connector on each board, so the antenna can be chosen for the site

We chose a ready-made LoRa module over putting a bare radio chip on the board. The module is a self-contained unit that the ESP32 talks to over a serial connection, which keeps the RF design off the critical path and the firmware simple. A direct link also removes the gateway and network layer that LoRaWAN needs. For a handheld that opens four valves, that layer adds cost and failure points without adding anything the farmer needs. We compare the options in our guide to Wi-Fi vs BLE vs LoRa. We have not measured the range of this design, so this page makes no range claim.

ESP32E32-433T30DPoint-to-point LoRa
Getting a command to a valve
Wi-Fi or cloudNeeds signal
Stops when the router or internet link stops
This designNeeds two radios
Handheld to receiver, nothing in between
2

The receiver board: built to be wired by an installer

  • Four valve outputs, each brought out to screw terminals
  • A DC power input, with the wire entry positions planned to match the cable glands in the case
  • A USB-C port, reachable through a slot in the case wall
  • An SMA connector on the board edge, lined up with a hole in the case

The receiver is the part that gets installed, so we designed it around the installer. Terminals sit where wires arrive from the glands, and the board layout and the case were developed together, so no connector ends up behind a wall.

Valve outputsScrew terminalsUSB-C
3D renders of the FARMIZOX receiver enclosure: assembled from the cable-gland side and the antenna side, and an exploded view with the PCB and lid
The receiver case, assembled and exploded, with the PCB in place.
3

The transmitter: small enough to carry

  • A handheld board with a display, buttons and a battery
  • The same ESP32 and E32-433T30D pairing as the receiver, so the two units share one radio design
  • A two-piece case with button caps and a window for the display

Using the same radio module and processor on both boards means one set of firmware tools and one set of RF decisions to check. The transmitter case is a front and rear shell joined by a lap joint and held with small screws into heat-set inserts. The buttons are separate printed caps, so a worn or broken button can be replaced without reprinting the case.

HandheldHeat-set inserts
3D renders of the FARMIZOX handheld transmitter enclosure: front and rear assembled views, and an exploded view with the front shell, PCB and rear shell
The transmitter case, assembled and exploded.
4

Cases built from the PCB layout, with no mounting holes

  • Both boards have no mounting holes. Small clamp tabs in the case hold each board by its edge
  • The receiver case has a gasket groove with a matching ridge on the lid, and cable glands for the valve and power wires
  • A TPU plug covers the receiver's USB-C port, and wall-mount ears let the case be screwed to a wall or panel
  • Both cases were generated from the KiCad board files and checked part by part against the component outlines for clashes

Leaving out mounting holes saved board area on both boards, so the cases do the holding. Because the case geometry comes from the board file, a layout change can be passed to the case instead of being redrawn by hand. The clash check found and fixed small overlaps, and the final check reports none. Both cases are designed for a standard FDM printer. We cover this part of the work in more detail on our enclosure design page.

FDM printingGasket sealCable glands
Holding a board with no mounting holes
Usual approachScrews
Needs holes and keep-out area on the PCB
This designEdge clamps
The case holds the board by its edge

Decisions We Weighed

Most of the design came down to a handful of either-or choices. This is what we picked, what we passed on and why.

DecisionWhat we choseWhat we passed on, and why
How the radios talkA direct link between two E32 modulesLoRaWAN with a gateway. It suits many sensors reporting in, but adds a gateway and a network layer for a handheld that opens four valves.
Radio hardwareA ready-made LoRa module on a serial linkA bare radio chip. It would save a little board area but puts the RF layout and tuning on the project.
Holding the boardEdge-clamp tabs in the caseScrew holes in the PCB. They take board area and add holes that the case then has to line up with.
Making the casesFDM 3D printingInjection moulding. At prototype volumes the tooling cost is not worth it, and a printed case can change with the board.
Receiver cable entryPG7 cable glandsFixed pigtail leads. Glands let the installer cut wires to length on site and replace a damaged cable.

How the Work Ran

  1. Schematics for both boards. The transmitter and receiver share the same ESP32 and radio module, so the common parts were drawn once.
  2. Board layout. Both boards were laid out with the radio and antenna connector at an edge, and with no mounting holes.
  3. Review before fabrication. Both boards were reviewed before the order was placed with JLCPCB.
  4. Enclosures from the layout. A script reads the KiCad board file and builds the cases around the real component outlines. A clash check then tests every printed part against them.
  5. Handover. PCB packages, STL and STEP files, preview images and the list of open assumptions went to the client together.

What We Have Not Verified Yet

The boards are not back from fabrication, and the cases are not printed. These points were designed with assumptions, and they need checking against the real parts.

ItemAssumptionHow we close it
Display module and battery sizeTypical dimensions for the module and cell typeFit-check the transmitter case against the parts actually used
Receiver weather resistanceAbout IP54 as a design targetPrint the case and run a splash test
Radio rangeNone. No figure is claimedRange test with the real antennas, in a real field
Board and case fitChecked on the layout files onlyFit-check against the assembled boards

Tech Stack

FunctionWhat we usedRole in the system
ControllerESP32, on both boardsRuns the logic and talks to the radio over a serial link
RadioE32-433T30D LoRa module with SMA antenna connectorCarries commands from the handheld to the receiver
Field wiringScrew terminals and PG7 cable glandsConnect the four valves and the DC supply
PCB designKiCad, two boardsSchematic and layout for both units
FabricationJLCPCBBoard manufacture
EnclosuresFDM printing, with TPU for the USB plug and heat-set insertsCases for the transmitter and the outdoor receiver
Case designPython and build123d, generated from the KiCad layoutProduces STL and STEP files for printing and review

What the Client Received, and Where It Stands

FARMIZOX received the PCB design packages for both boards, and STL and STEP files for every printed part of both cases, along with preview images and a list of the design assumptions above. Both boards were reviewed before the order was placed.

The boards are on order from JLCPCB. When they arrive we expect to assemble them, bring up the radio link, print the cases and run range and splash tests. We will report those results on this page when we have them, and not before.

What This Proves

A field controller has to be right on the board and on the wall: the antenna, the terminals, the glands and the seal all have to line up. This project covers that work from the first schematic to files ready for a fabrication house and a printer. It is part of our PCB design services, and sits alongside the rest of our agritech work.

Frequently Asked Questions

Why use LoRa for an irrigation controller instead of Wi-Fi or Bluetooth?

Farm fields often have no Wi-Fi or mobile signal, and Bluetooth range is short. LoRa is built for long distances at low power, and a direct link between two radios needs no router, gateway or internet connection. We have not measured the range of this design yet, so we make no range claim here.

Is this LoRaWAN?

No. It is a direct point-to-point link between two E32-433T30D LoRa modules. There is no gateway, network server or cloud. LoRaWAN suits many sensors reporting to a gateway. A handheld that opens a few valves does not need that layer.

What did DigitalMonk deliver on this project?

PCB designs for the handheld transmitter and the outdoor receiver, and 3D-printable enclosures for both. The scope was hardware design. Firmware was not part of this scope.

Does the receiver enclosure have an IP rating?

It is designed to be splash-resistant, with a target of about IP54, using a gasket groove, cable glands and a plug over the USB port. We have not printed or tested it yet, so the target is not a tested rating. Printed plastic can also be porous, so sealing and print settings matter.

Can you design a custom irrigation or valve controller for us?

Yes. We design the schematic, PCB and enclosure for ESP32-based field controllers, and can take a product from first sketch to fabrication files. Tell us what it has to switch, how far it has to reach and where it will be installed.

Need a Field Controller Designed?

Tell us what it has to switch, how far it has to reach and where it will live, and we will tell you plainly how we would design it.

Get a Free Project Estimate