Time Required: 45–60 Minutes
Difficulty: Beginner
Kit Type: AIoT
Introduction
This project demonstrates how to build an automatic plant watering system using the MC4.0 controller, a soil moisture sensor, and a relay-controlled water pump.
Prerequisites
- Arduino IDE
- MCLab.ai
- ESP32 Board Package
- Soil Moisture Library
Components Required
| Component | Qty |
| MC4.0 Controller | 1 |
| Soil Moisture Sensor | 1 |
| Relay Module | 1 |
| Water Pump | 1 |
Circuit Diagram

Build Instructions
- Step 1: Collect all components.
- Step 2: Connect the soil moisture sensor.
- Step 3: Upload the Arduino code.
- Step 4: Test the project.
Arduino Code
Download the code below.
Download: SmartPlantWatering.ino
Extension Ideas
- Add Wi-Fi Monitoring
- Add Mobile Notifications
- Add LCD Display




