Final-year projects / Disaster safety

Landslide and slope early warning node

Landslides in the Western Ghats and Himalayas kill people every monsoon, often after days of heavy rain soak the slope. A node that measures soil moisture, rainfall and ground tilt and sends warnings gives villages time to move.

ESP32Major projectEIE, ECE, CSE
ESP32SOIL27Featured
Parts
₹5,950
Build
14 weeks
Board
ESP32
Objectives
5

Block diagram

Inputs
  • SOIL
    Soil moisture probes at two depthsShow how saturated the slope is
  • 4.98V
    Tilt sensorDetects slow ground movement
  • RAIN
    Rain gaugeMeasures rainfall per hour
  • Vibration sensorDetects sudden movement
Controller
  • ESP32
    ESP32Computes the risk level
Power
  • SOLAR
    Solar and batteryRuns through the monsoon
Outputs
  • LORA
    LoRa radioSends alerts to the village base
  • 4G
    4G modemSends SMS alerts and calls over the mobile network+

Objectives

  1. To measure soil moisture at two depths, hourly rainfall and tilt.
  2. To combine them into green, amber and red risk levels using rainfall thresholds from the literature.
  3. To send the risk level over LoRa to a base station with a siren.
  4. To test on a model slope (soil tray tilted and watered) and measure warning time before it slides.
  5. To send SMS alerts through a 4G modem where no Wi-Fi is available.

Parts and specifications

Total about ₹5,950 at typical online prices. Tap a part for its pinout and datasheet notes.

Design calculations

Rainfall

A tipping bucket gives 0.2 mm per tip. 45 tips in an hour = 9 mm/h.

Intensity-duration threshold

Caine's global threshold I = 14.82 × D^−0.39 (mm/h, D in hours). For 24 h: 14.82 × 24^−0.39 ≈ 4.5 mm/h sustained. Local thresholds from GSI or papers for your region are better.

Tilt change

ADXL345 at ±2 g, 4 mg per count: 0.23° per count. Average 1000 samples to see changes of about 0.05° over days.

Risk logic

Green normally; amber when rainfall exceeds the threshold and deep soil is over 80% saturated; red when, in addition, tilt changes faster than 0.1° per hour or vibration repeats.

LoRa link budget

+17 dBm transmit, −137 dBm sensitivity at SF12, antennas 2 dBi each: 158 dB, enough for several km in hilly line of sight.

Pin map

SignalPin or connection
Soil probes 30 cm / 1 mGPIO 34 / 35
ADXL345 SDA / SCLGPIO 21 / 22
Rain gauge reed switchGPIO 27 (interrupt, 100 nF debounce)
SW-420 vibrationGPIO 26
LoRa SPI NSS / RST / DIO0GPIO 5 / 14 / 2 (SCK 18, MISO 19, MOSI 23)

Firmware outline

  1. Wake every 10 minutes (deep sleep); read soil, tilt (averaged) and rain tips counted by interrupt.
  2. Update rolling 1 h and 24 h rainfall and tilt rate.
  3. Compute the risk level; on a change send it at once over LoRa, else send a heartbeat every hour.
  4. Base station: show each node, sound the siren on red, and forward to SMS (upgrade).
  5. Model slope test: log every minute while watering until it slides.

Test plan

TestExpected result
Model slope watered steadilyAmber then red before the slide; warning time recorded
Bucket tipped 50 times10 mm counted
Node tilted 1°Tilt change detected
Link across campusPacket delivery and RSSI measured

These rows start your results table when you plan the project.

Viva practice

Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 5.

1. Why does rain trigger landslides?
2. Why two soil depths?
3. Why LoRa?
4. What is an intensity-duration threshold?
5. Why deep sleep?

Make it yours

One or two upgrades for a mini project, two to four for a major one.

Build these first

Datasheets and sources to cite

  • Geological Survey of India, landslide early warning system
  • Caine, Rainfall intensity-duration control of landslides (1980)
  • Amrita University wireless landslide monitoring system papers

About this project

How much does the landslide and slope early warning node project cost?

About ₹4,360 for the parts in the base list: ESP32 DevKit V1, Capacitive soil moisture sensor v1.2 × 2, ADXL345 accelerometer, Tipping-bucket rain gauge (reed switch), SW-420 vibration sensor, SX1278 Ra-02 LoRa module 433 MHz × 2, ESP32 DevKit V1 (base station), Solar panel 6 V 1 W × 2, TP4056 charger with protection, 18650 cell 2600 mAh (branded), IP65 junction box, 12 V piezo alarm.

How long does it take?

About 12 weeks for the base project, built on an ESP32. Each upgrade adds time.

Which branches is it suitable for?

Instrumentation, Electronics and Communication, Computer Science / IT (IoT, AI), as a major project.

Which pins and design calculations does it use?

Soil probes 30 cm / 1 m on GPIO 34 / 35; ADXL345 SDA / SCL on GPIO 21 / 22; Rain gauge reed switch on GPIO 27 (interrupt, 100 nF debounce). Worked calculations on this page: rainfall, intensity-duration threshold, tilt change, risk logic, lora link budget.

How do I test it?

Model slope watered steadily: Amber then red before the slide; warning time recorded. Bucket tipped 50 times: 10 mm counted. Node tilted 1°: Tilt change detected. Link across campus: Packet delivery and RSSI measured.

What are the objectives?

To measure soil moisture at two depths, hourly rainfall and tilt. To combine them into green, amber and red risk levels using rainfall thresholds from the literature. To send the risk level over LoRa to a base station with a siren. To test on a model slope (soil tray tilted and watered) and measure warning time before it slides.