What is LoRaWAN?
LoRaWAN is a long-range, low-power wireless protocol that links battery-powered sensors to the internet, often used in smart-city and agricultural IoT.
LoRaWAN is the network layer that makes IoT affordable at large scale. Devices last for years on a coin-cell battery, send tiny payloads of a few hundred bytes, and reach gateways several kilometers away. What you give up: bandwidth is low, updates are infrequent, and deploying it takes real effort to get gateway coverage right.
If the radio link works but the application payload comes out wrong, test the TTN, ChirpStack or legacy JavaScript formatters locally against byte fixtures you can rerun, without sending any device data off your machine.
Common uses are sensor networks in smart cities (parking, environment, waste), monitoring in agriculture and telemetry in industry. Each follows one pattern: inexpensive, simple sensors at the edge, gateways that funnel their data into a network server, and that server passing it on to your application backend.
Here is where the money really goes, and the error founders make: they budget for the sensors and overlook coverage. A farm or a city district needs gateways placed so each sensor can reach at least one, and getting that wrong produces dead zones, repeated transmissions and batteries that die in months rather than years. On a real deployment, surveying the site and placing gateways is frequently the tougher half of the project, long after the per-sensor price was approved. Walls, terrain and metal silos all swallow range, and only on-site measurement reveals how much.
Founders also hurry the question of who owns the network. LoRaWAN usually means running your own gateways: there is no cellular bill per device, but you take on real responsibility for operating the gateways, the network server and the coverage. The cellular options (NB-IoT, LTE-M) reverse this; the carrier owns coverage wherever its network reaches, and you pay a data plan per device in return. For a dense, fixed deployment under your control (a campus, a farm, a city district), owning the network normally costs less over the life of the devices. For a small number of devices scattered unpredictably across regions, paying a carrier is cheaper than building coverage you would hardly use.
The honest trade-off: LoRaWAN gives up bandwidth and latency to gain range and battery life, and you cannot tune that exchange away. It fits when you need lots of sensors across a large area, batteries that last several years, and only occasional messages of a few bytes. It does not fit when you need high bandwidth, low latency, or connectivity that travels with each device; 5G NB-IoT or LTE-M usually suits those cases better. Work out which of those dimensions your product truly depends on before you commit to a radio.