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.
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-Fi | Zigbee | LoRaWAN | |
|---|---|---|---|
| Range | Tens of metres | Tens of metres per hop; mesh extends it | Hundreds of metres to kilometres |
| Battery life | Days to weeks unless it sleeps deeply | A year or more | Years |
| How often it can report | As often as you like | Often | Every few minutes at most |
| Message size | Large | Small | Very small |
| What you need | A Wi-Fi router in range | A coordinator stick and repeaters | A LoRaWAN gateway and a network server |
| Best for | Pump houses, packhouses, tank rooms | Greenhouses and sheds | Fields, 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: .