Monday on the farm — Jumatatu ya kupanga: Plan your week and check your numbers. Learn more ↗
Back to blog
· 6 min read

Rural Connectivity for Farm IoT — 2G vs 4G, Antennas, Data Costs, and SMS Fallback

Why coverage maps lie, how to test signal at your farm, what data plans actually cost for IoT, and the SMS-only patterns that still work when 4G does not.

Share:

Rural Connectivity for Farm IoT — 2G vs 4G, Antennas, Data Costs, and SMS Fallback

The single most common reason farm IoT setups fail in rural Kenya is not the sensors or the wiring. It is the assumption that "there is network here, the phone works" — and then discovering that the 4G dongle drops every 20 minutes, or that the network is only available in one corner of the homestead.

This post is the practical connectivity guide. We cover how to test the signal where the farm brain will actually live, when 4G is overkill versus essential, what data plans realistically cost, how to install an external antenna, and the SMS-only patterns that keep working when 4G does not.

The coverage-map lie

Carrier coverage maps in Kenya tell you whether they have a tower in your area. They do not tell you:

  • The signal strength inside your shed
  • Which bands the tower supports (newer 4G bands have shorter range than older ones)
  • Whether the network is congested during the day
  • What happens during weather events Every farm IoT plan should begin with a real signal test at the place where the Raspberry Pi will physically sit.

A 30-minute signal test

  • Bring two phones with SIMs from two carriers (Safaricom and Airtel are the two main coverage options; Telkom has narrower coverage but works in some areas).
  • Walk to the chosen Pi location.
  • On each phone, open dial code *#*#4636#*#* (Android) — this opens the "phone info" screen and shows signal strength in dBm.
  • Record the readings. Useful interpretation:
Signal (dBm)QualityNotes
-50 to -69ExcellentStable 4G data
-70 to -85Good4G works reliably
-86 to -100Fair4G works but may drop occasionally
-101 to -115Poor4G unreliable, may fall back to 3G
-116+Very poorProbably 2G/EDGE only

<ol start="5">

  • Run a speed test. A speedtest.net or fast.com test. You want at least 1 Mbps down, 0.5 Mbps up for IoT. If both carriers come out poor (-100 dBm or worse), you have a connectivity problem to solve before installing IoT.

What data the IoT actually needs

Most people overestimate what farm IoT consumes. Realistic monthly data for a typical farm setup:

Data loadMonthly use
Sensor readings (compressed, batched hourly)~50 MB
Dashboard access from your phone (5x/day)~200 MB
WhatsApp alerts (text + small media)~100 MB
AI advisory queries (photos and text)~300 MB
Cloud backup of database~200 MB
Total per month~850 MB

A 1 GB plan covers a typical farm. Most farmers buy 5 GB or more "to be safe," but the data is rarely the bottleneck. The bigger costs are airtime for SMS and voice alerts.

Plan options as of 2026

Plan typeTypical costBest for
Safaricom postpaid 5 GBKES 1,500/monthMost farm setups; reliable
Safaricom prepaid daily/weekly bundlesKES 300–500/weekTrial period before committing
Airtel postpaidKES 1,200–1,800/monthAreas where Safaricom is weak
Faiba 4G (Jamii Telecom)KES 1,000–2,000/monthWhere Faiba has presence (parts of Nairobi/Mombasa periphery)

For a farm IoT setup, the right answer is usually whichever carrier has the strongest signal at your Pi location, on a postpaid plan with a fixed monthly limit. Postpaid is more reliable than prepaid for continuous uptime — no risk of running out of credit at the wrong moment.

When signal is marginal — external antennas

If your Pi location has marginal signal, an external 4G antenna can change the equation. They work by:

  • Catching more signal than the internal antenna of a USB dongle
  • Being positioned higher (on a roof) for better line-of-sight to towers
  • Being directional, pointed at the tower Three classes of antenna:
TypeCost (KES)GainWhen to use
Magnetic-mount omni-directional800–1,500Modest (3–5 dBi)First trial — easy to position
Yagi/log-periodic directional2,500–4,500Significant (8–11 dBi)When you know which direction the tower is
MIMO panel4,000–7,000Best, both upload and downloadPermanent installation, marginal signal

Most 4G USB dongles have SMA or TS-9 antenna connectors. You unscrew the small internal antenna, screw on a cable that runs to your external antenna.

Position the antenna: as high as possible, with as clear a line-of-sight as possible to the nearest tower. Sometimes the difference between -105 dBm (marginal) and -85 dBm (good) is just elevation — 4 metres of roof height can change everything.

To find the nearest tower, walk around your homestead at sunset and look for the red navigation lights on telecom towers, or use OpenCellID or CellMapper which crowd-sources tower locations.

When signal is unrecoverable — go LoRa-only with delayed sync

Some properties simply have no usable cellular signal. The farm-brain approach still works, but with one important change:

  • All field-node-to-brain communication runs on LoRa (no cellular needed)
  • The brain stores everything locally for days
  • The owner manually visits the brain location every few days and syncs data to a phone or laptop with internet
  • Or a small "cellular gateway" is placed at the nearest signal point, with a LoRa link from the brain to the gateway This pattern works for genuinely remote farms — game ranches, mountainside coffee, far-rural homesteads. You lose real-time alerts but keep the data record.

SMS fallback — when even basic data fails

For the most critical alerts, SMS works on signal that does not support data. SMS uses the 2G control channel that is almost always available where there is any signal at all.

A robust farm IoT setup includes SMS as the fallback for high-urgency alerts:

  • Pump dry-run protection triggered → SMS
  • Cold storage temperature out of range → SMS + call
  • Theft or geofence violation → SMS + call
  • Power failure of farm brain → SMS (from the brain's own UPS-powered cellular module) SMS through Africa's Talking costs KES 0.50–1.00 per message. A budget of KES 200/month covers hundreds of alerts.

Specific patterns that work in poor connectivity

Pattern 1 — Brain at homestead, cellular only for outbound

  • Field nodes talk LoRa to brain (no cellular)
  • Brain uses cellular ONLY to send alerts and ONLY when something needs to be sent
  • Idle bandwidth: zero
  • Active bandwidth: kilobytes per event

Pattern 2 — Brain in the bush, batched sync

  • Brain in a remote shed near the sensors
  • Cellular dongle on the brain
  • Brain wakes once an hour for 2 minutes, syncs urgent alerts, syncs the latest summary, sleeps again
  • Total cellular-on time: 48 minutes per day
  • Battery life dramatically extended

Pattern 3 — Owner-carrying gateway

  • Brain at the most remote farm has no cellular
  • Owner's phone runs a small app that, when in range of the brain (LoRa via a USB module on the phone or via local Wi-Fi), syncs everything
  • Best for owners who visit weekly or daily
  • Effectively zero cellular cost, manual sync trigger

Costs summary

ComponentCost (KES)
4G USB dongle2,500–4,000
Monthly data plan1,000–2,000
External antenna (if needed)1,500–4,500
Cable for external antenna500–1,000
SMS allocation (200 messages/month)200
Setup cost~5,000–9,500
Monthly running cost~1,200–2,200

What to do next

Test your signal before buying anything else. If signal is poor at the location you planned for the brain, the rest of the IoT plan needs to adapt — different location for the brain, an external antenna, or a different connectivity pattern.

Two carriers (e.g. Safaricom on the brain, Airtel on a backup phone for SMS) is a good redundancy choice for any farm where IoT is genuinely depended on. If one carrier fails, the other still gets alerts through.

When the connectivity is solid and your sensors are reporting reliably, the farm-management record at shira.farm lives in the cloud — accessible from anywhere, backed up daily — so your IoT data and your operational record are both safe even if the on-farm equipment fails.

See it in action

Tap this exact setup on our interactive visual guide — photorealistic farm scenes with clickable explainers showing what every device does, what it costs, and which Shira tier unlocks it.

Open the IoT Showcase