IoT Landslide Monitoring System Using ESP32 and ThingSpeak
by cakee in Circuits > Microcontrollers
27 Views, 0 Favorites, 0 Comments
IoT Landslide Monitoring System Using ESP32 and ThingSpeak
An IoT-based landslide monitoring system built using an ESP32, soil moisture sensor, vibration sensor, and DHT11 sensor. The system continuously monitors environmental conditions and uploads the collected data to ThingSpeak for remote monitoring and analysis.
Supplies
- ESP32 Development Board
- Soil Moisture Sensor
- Vibration Sensor
- DHT11 Sensor
- Jumper Wires
- Breadboard
- Power Supply
- Wi-Fi Connection
Hardware Setup
Connect all the components as shown below.
Connections
DHT11 Sensor
- VCC → 3.3V
- GND → GND
- DATA → GPIO14
Vibration Sensor
- VCC → 3.3V
- GND → GND
- OUT → GPIO12
Soil Moisture Sensor
- VCC → 3.3V
- GND → GND
- AO → GPIO13
Power
- ESP32 powered using a Power Supply
ESP32 Code
Before uploading the code, create a ThingSpeak account and set up a new channel for your project.
Update the following values in the code according to your setup:
- YOUR_WIFI_NAME → Your Wi-Fi network name
- YOUR_WIFI_PASSWORD → Your Wi-Fi password
- YOUR_CHANNEL_ID → Your ThingSpeak Channel ID
- YOUR_WRITE_API_KEY → Your ThingSpeak Write API Key
Once the required values have been updated, upload the code to the ESP32 using the Arduino IDE.
The ESP32 connects to the Wi-Fi network, reads data from the connected sensors, and uploads the collected information to ThingSpeak for remote monitoring.
The following parameters are monitored:
- Temperature
- Humidity
- Soil Moisture
- Ground Vibration
Downloads
Working
The system continuously monitors environmental conditions that may contribute to landslides.
The soil moisture sensor measures moisture levels in the soil, the vibration sensor detects ground movement, and the DHT11 sensor records temperature and humidity.
All sensor readings are transmitted to ThingSpeak through the ESP32, allowing the data to be monitored remotely through an internet-connected device.