Guide · 6 minute read

LoRaWAN vs Zigbee vs Wi-Fi for farm sensors

Three radios cover almost every farm sensor. They differ in the two things a farm cares about most: how far the signal goes and how long the battery lasts.

In short

Use Wi-Fi for mains-powered boards near buildings. Use Zigbee for small battery sensors inside a greenhouse or shed. Use LoRaWAN for battery sensors out in the fields and at remote tanks. Many farms end up with all three.

The comparison

Wi-FiZigbeeLoRaWAN
RangeTens of metresTens of metres per hop; mesh extends itHundreds of metres to kilometres
Battery lifeDays to weeks unless it sleeps deeplyA year or moreYears
How often it can reportAs often as you likeOftenEvery few minutes at most
Message sizeLargeSmallVery small
What you needA Wi-Fi router in rangeA coordinator stick and repeatersA LoRaWAN gateway and a network server
Best forPump houses, packhouses, tank roomsGreenhouses and shedsFields, orchards, remote tanks and wells

Wi-Fi

Wi-Fi is the easiest to start with, because the router is already there and an ESP32 board has it built in. It carries plenty of data, so it suits a board that reports every few seconds or sends pictures. It uses a lot of power, so it wants a mains supply or a good solar panel.

Zigbee

Zigbee sensors are small, cheap and ready-made: temperature, humidity, leak, door. They sleep most of the time, so a coin cell lasts a long while. Mains-powered Zigbee devices pass messages along, so the network grows as you add them. It is a building-sized technology.

LoRaWAN

LoRaWAN sends a few bytes a very long way using very little power. One gateway on a mast can cover a farm. The price is speed: a sensor may send only every several minutes, and messages must be tiny. That suits soil moisture, tank level and weather, which change slowly.

Wired is still an option

Where a cable already runs, use it. RS-485 with Modbus works over long cable runs and is not troubled by walls or foliage. Energy meters, inverters and pump drives nearly always have it.

How they come together

In Urvara, Wi-Fi boards talk MQTT straight to the server or to the gateway. Zigbee comes through Zigbee2MQTT and LoRaWAN through ChirpStack or The Things Stack. All of them end up as the same kind of reading on the same farm.

Questions people ask

What is the best wireless technology for farm sensors?

There is no single best one. LoRaWAN is best for battery sensors spread over fields, Zigbee for cheap sensors inside buildings, and Wi-Fi for powered devices near a router. Choose by distance and by whether the sensor has mains power.

Can LoRaWAN send camera pictures?

No. LoRaWAN messages are far too small and too infrequent for pictures. Cameras need Wi-Fi or a cable.

Last checked against the product: .

Design your farm before you build it.

Open Urvara in your browser. Lay out the land, connect the water and the power, and see what the checks say.