EE499 Senior Design · Team 12 · Jeddah

LoRa smart irrigation, live from the field

Sensor nodes report soil moisture and climate over LoRa to a Raspberry Pi gateway, which forecasts drying and recommends irrigation. A person approves every decision; the system never irrigates on its own. This page is a read-only public view of the gateway's data.

Connecting to the gateway…

Farm overview

Three 40 × 40 cm container plots, one sensor node each.

LoRa radio link

Test transmitters (Heltec WiFi LoRa 32 V3, 868.1 MHz, SF9) send a packet every 30 s; the gateway's receiver acknowledges each one. Used to measure signal quality and packet delivery.

Weather in Jeddah

—

Forecast from Open-Meteo, used by the gateway's rain rule and water-use (ET₀) estimate.

Recent alerts

  • —

History

5-minute averages over 24 hours, hourly averages over 7 days. Gaps mean no packets were received.

How it works

  1. Sensor nodesHeltec WiFi LoRa 32 V3 (ESP32-S3 + SX1262): soil moisture, air temperature, humidity, light, battery, enclosure temperature
  2. LoRa 868.1 MHzSF9, 125 kHz, CR 4/5; radio-level acknowledgements
  3. ReceiverHeltec V3 on USB to the gateway
  4. Raspberry Pi 4 gatewayStore-and-forward bridge, MQTT (Mosquitto), FastAPI backend, PostgreSQL, operator dashboard
  5. This websiteThe gateway pushes a read-only snapshot every minute over HTTPS

Irrigation recommendation

Irrigate when the 24-hour average soil moisture falls below the crop's minimum. The dose refills the root zone to the middle of the crop's target range plus the day's crop water use (FAO-56: ETc = Kc × ET₀, Hargreaves ET₀).

Rain rule & alerts

Forecast rain of 5 mm or more in the next 24 h turns irrigate into hold; smaller amounts reduce the dose. Alerts fire for soil too dry or wet, heat, low humidity, low battery and an overheating enclosure.

Drying forecast

A least-squares fit of soil moisture over the last 24 h estimates when each plot will reach its threshold. Forecasts are logged and scored against what actually happens.

Project status

Working prototype under test. The gateway, radio link and software are running; soil and climate sensors are being connected to the plot nodes, so plot readings appear as “No data” until then. Results on this page are preliminary.